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

Predicate signature CallGraphConstruction::stepCall

Holds if type tracking should use the step from nodeFrom to nodeTo, which does depend on the call graph.

Implementing this predicate using StepSummary::[small]stepCall yields standard type tracking.

Import path

import semmle.python.dataflow.new.internal.TypeTracker
signature predicate stepCall(Node nodeFrom, Node nodeTo, StepSummary summary)