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

Predicate Cached::getInstruction

Holds if i is the indexth instruction in block.

Import path

import semmle.code.cpp.ir.IR
Instruction getInstruction(TIRBlock block, int index)