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