qtil
advanced-security/qtil-cpp 0.0.4
Search

Predicate useUsePair

A use/use pair is a pair of uses of a particular variable var where the same value might be read (meaning that there is a control-flow path from first to second without crossing a definition of var).

Import path

import semmle.code.cpp.controlflow.DefinitionsAndUses
predicate useUsePair(SemanticStackVariable var, Expr first, Expr second)