Predicate guardedGreater
Holds if the value of use
is guarded to be greater than something, and e
is in code controlled by that guard (where the guard condition held).
Import path
import semmle.code.cpp.security.Overflow
predicate guardedGreater(Operation e, Expr use)