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

Predicate indirectExprNodeShouldBeIndirectInstruction

Holds if node should be an IndirectInstruction that maps node.asIndirectExpr() to e.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
predicate indirectExprNodeShouldBeIndirectInstruction(IndirectInstruction node, Expr e, int n, int indirectionIndex)