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

Predicate definition

Holds if def is a (potential) assignment to stack variable v. That is, the variable may hold another value in the control-flow node(s) following def than before.

Import path

import cpp
predicate definition(SemanticStackVariable v, Expr def)