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

Predicate Make::adjacentDefRead

NB: If this predicate is exposed, it should be cached.

Same as adjacentDefReadExt, but ignores phi-reads.

Import path

import codeql.ssa.Ssa
predicate adjacentDefRead(Definition def, BasicBlock bb1, int i1, BasicBlock bb2, int i2)