CodeQL library for C/C++
codeql/cpp-all 0.4.4 (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)