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

Predicate localInstructionFlow

Holds if data can flow from i1 to i2 in zero or more local (intra-procedural) steps.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
predicate localInstructionFlow(Instruction e1, Instruction e2)