We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fc95fb + 8c0725e commit 40d25cbCopy full SHA for 40d25cb
python/ql/lib/semmle/python/essa/Essa.qll
@@ -212,8 +212,8 @@ class EssaEdgeRefinement extends EssaDefinition, TEssaEdgeDefinition {
212
/** Gets the SSA variable to which this refinement applies. */
213
EssaVariable getInput() {
214
exists(SsaSourceVariable var, EssaDefinition def |
215
- var = this.getSourceVariable() and
216
- var = def.getSourceVariable() and
+ pragma[only_bind_into](var) = this.getSourceVariable() and
+ pragma[only_bind_into](var) = def.getSourceVariable() and
217
def.reachesEndOfBlock(this.getPredecessor()) and
218
result.getDefinition() = def
219
)
0 commit comments