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