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.
PostUpdateNode
1 parent c9c8259 commit 451d36dCopy full SHA for 451d36d
python/ql/src/semmle/python/dataflow/new/internal/LocalSources.qll
@@ -27,7 +27,9 @@ class LocalSourceNode extends Node {
27
LocalSourceNode() {
28
not comes_from_cfgnode(this) and
29
not this instanceof ModuleVariableNode and
30
- not this instanceof PostUpdateNode
+ not this.(PostUpdateNode).getPreUpdateNode() in [
31
+ syntheticPostUpdateNode::storePreUpdateNode(), syntheticPostUpdateNode::readPreUpdateNode()
32
+ ]
33
or
34
this = any(ModuleVariableNode mvn).getARead()
35
}
0 commit comments