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

Predicate hasInstructionAndIndex

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
predicate hasInstructionAndIndex(IndirectInstruction indirectInstr, Instruction instr, int indirectionIndex)