CodeQL library for C/C++
Search

Predicate localFlowStep

Holds if data flows from nodeFrom to nodeTo in exactly one local (intra-procedural) step.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
predicate localFlowStep(Node nodeFrom, Node nodeTo)