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 7c5c9ea + a2440f0 commit 2e95cabCopy full SHA for 2e95cab
python/ql/src/semmle/python/dataflow/Files.qll
@@ -11,7 +11,7 @@ class OpenFileConfiguration extends TaintTracking::Configuration {
11
OpenFileConfiguration() { this = "Open file configuration" }
12
13
override predicate isSource(DataFlow::Node src, TaintKind kind) {
14
- theOpenFunction().(FunctionObject).getACall() = src.asCfgNode() and
+ src.asCfgNode() = Value::named("open").getACall() and
15
kind instanceof OpenFile
16
}
17
0 commit comments