mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
python: ParameterNode -> SourceParameterNode
This commit is contained in:
@@ -9,7 +9,7 @@ class MaximalFlowsConfig extends DataFlow::Configuration {
|
||||
MaximalFlowsConfig() { this = "AllFlowsConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node node) {
|
||||
node instanceof DataFlow::SourceParameterNode
|
||||
node instanceof DataFlow::ParameterNode
|
||||
or
|
||||
node instanceof DataFlow::EssaNode and
|
||||
not exists(DataFlow::EssaNode pred | DataFlow::localFlowStep(pred, node))
|
||||
|
||||
Reference in New Issue
Block a user