CodeQL library for C/C++
codeql/cpp-all 3.0.1-dev (changelog, source)
Search

Predicate signature LangSig::hasConstantBound

Holds if e >= bound (if upper = false) or e <= bound (if upper = true).

signature predicate hasConstantBound(Expr e, Delta bound, boolean upper)