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