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

Predicate canValueFlow

Holds if a value can flow directly from one expr to another.

Import path

import cpp
predicate canValueFlow(Expr fromExpr, Expr toExpr)