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.
1 parent 27be5ba commit 9478c75Copy full SHA for 9478c75
python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll
@@ -299,6 +299,10 @@ module LocalFlow {
299
nodeTo.(CfgNode).getNode() = def.getDefiningNode()
300
)
301
or
302
+ // General definition
303
+ // TODO: remove other cases that are now redundant
304
+ nodeFrom.(CfgNode).getNode() = nodeTo.(CfgNode).getNode().(DefinitionNode).getValue()
305
+ or
306
// With definition
307
// `with f(42) as x:`
308
// nodeFrom is `f(42)`
0 commit comments