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

Predicate SsaComputeImpl::ssaDefReachesUseWithinBlock

Holds if the SSA definition of v at def reaches use in the same basic block without crossing another SSA definition of v.

Import path

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