CodeQL library for C/C++
Search

Predicate guardedGreater

Holds if the value of use is guarded to be greater than something.

Import path

import semmle.code.cpp.security.Overflow
predicate guardedGreater(Operation e, Expr use)