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

Predicate exprDefinition

Holds if def is a (definite) assignment to the stack variable v. e is the assigned expression.

Import path

import cpp
predicate exprDefinition(SemanticStackVariable v, ControlFlowNode def, Expr e)