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