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

Predicate hasInstructionAndIndex

Import path

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