CodeQL library for C/C++
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)