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

Predicate SsaComputeImpl::ssaDef

Holds if there is a definition of an SSA variable occurring at the specified position. This is either a phi node, a VariableUpdate, or a parameter.

Import path

import semmle.python.essa.SsaCompute
predicate ssaDef(SsaSourceVariable v, BasicBlock b)