python: Add summary nodes

allowing more `OutNode`s (not restricting to `CallNode`s),
gives more flow in the `classesCallGraph` test
This commit is contained in:
Rasmus Lerchedahl Petersen
2022-04-01 16:18:11 +02:00
committed by GitHub
parent 80175a9af5
commit 828db3a392
7 changed files with 147 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ class CallGraphConfig extends DataFlow::Configuration {
node instanceof DataFlowPrivate::ReturnNode
or
// These sources should allow for the non-standard call syntax
node instanceof DataFlow::ArgumentNode
node instanceof DataFlow::ArgumentSourceNode
}
override predicate isSink(DataFlow::Node node) {