CodeQL library for C/C++
codeql/cpp-all 1.1.0 (changelog, source)
Search

Predicate SsaInput::variableRead

Holds if the i’th read in block bb reads to the variable v. certain is true if the read is guaranteed. For C++, this is always the case.

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternals
predicate variableRead(IRBlock bb, int i, SourceVariable v, boolean certain)