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.
ModuleVariableNode
1 parent 832d6fb commit fc43d22Copy full SHA for fc43d22
python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll
@@ -76,15 +76,7 @@ newtype TNode =
76
node.getNode() = any(Comp c).getIterable()
77
} or
78
/** A node representing a global (module-level) variable in a specific module. */
79
- TModuleVariableNode(Module m, GlobalVariable v) {
80
- v.getScope() = m and
81
- (
82
- v.escapes()
83
- or
84
- isAccessedThroughImportStar(m) and
85
- ImportStar::globalNameDefinedInModule(v.getId(), m)
86
- )
87
- } or
+ TModuleVariableNode(Module m, GlobalVariable v) { v.getScope() = m } or
88
/**
89
* A synthetic node representing that an iterable sequence flows to consumer.
90
*/
0 commit comments