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