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

Member predicate GuardCondition::ensuresLt

Holds if (determined by this guard) e < k must be isLessThan in block. If isLessThan = false then this implies e >= k.

predicate ensuresLt(Expr e, int k, BasicBlock block, boolean isLessThan)