CodeQL library for C/C++
Search

Member predicate GuardCondition::ensuresLt

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

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