CodeQL library for C/C++
Search

Predicate localExprFlow

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

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
predicate localExprFlow(Expr e1, Expr e2)