CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (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)