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

Predicate SsaComputeImpl::EssaDefinitionsImpl::variableDefinition

Whether n is a live update that is a definition of the variable v.

Import path

import semmle.python.essa.SsaCompute
predicate variableDefinition(SsaSourceVariable v, ControlFlowNode n, BasicBlock b, int rankix, int i)