CodeQL library for C/C++
codeql/cpp-all 0.13.0 (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)