qtil
advanced-security/qtil-cpp 0.0.4
Search

Predicate useOfVar

Holds if use is a non-definition use of stack variable v. This will not include accesses on the LHS of an assignment (which don’t retrieve the variable value), but will include accesses in increment/decrement operations.

Import path

import semmle.code.cpp.controlflow.DefinitionsAndUses
predicate useOfVar(SemanticStackVariable v, VariableAccess use)