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

Predicate SsaComputeImpl::variableUse

Holds if there is a variable access use of v in b at index i.

Import path

import semmle.python.essa.SsaCompute
predicate variableUse(SsaSourceVariable v, ControlFlowNode use, BasicBlock b, int i)