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