python: we have hidden isParameterOf

but now allow a clear alternative
This commit is contained in:
yoff
2022-06-23 08:57:50 +00:00
committed by GitHub
parent fe0c5d8ee5
commit 8bf60301da

View File

@@ -20,7 +20,7 @@ class CallGraphConfig extends DataFlow::Configuration {
node instanceof DataFlow::ParameterNode and
// exclude parameters to the SINK-functions
not exists(DataFlowPrivate::DataFlowCallable c |
node.(DataFlow::SourceParameterNode).isParameterOf(c, _) and
c.getParameter(_) = node.asCfgNode() and
c.getName().matches("SINK_")
)
}