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

Predicate LocalFlow::definitionFlowStep

Holds if nodeFrom is the expression defining the value for the variable nodeTo.

Import path

import semmle.python.dataflow.new.internal.DataFlowPrivate
predicate definitionFlowStep(Node nodeFrom, Node nodeTo)