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

Predicate localFlowStep

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

Import path

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