CodeQL library for Python
codeql/python-all 4.0.1 (changelog, source)
Search

Predicate MakeImplStage1::ImplStage1::Stage1::revFlow

Holds if node is part of a path from a source to a sink.

The Boolean toReturn records whether the node must be returned from the enclosing callable in order to reach a sink.

Import path

import codeql.dataflow.internal.DataFlowImplStage1
predicate revFlow(NodeEx node, boolean toReturn)