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

Member predicate IRGuardCondition::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(Operand left, Operand right, int k, IRBlock block, boolean isLessThan)