CodeQL library for C/C++
codeql/cpp-all 0.12.12-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)