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

Predicate fromPhiNode

Holds if nodeTo receives flow from the phi node nodeFrom.

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternals
predicate fromPhiNode(SsaPhiNode nodeFrom, Node nodeTo)