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

Member predicate IRGuardCondition::ensuresLtEdge

Holds if (determined by this guard) left < right + k must be isLessThan on the edge from pred to succ. If isLessThan = false then this implies left >= right + k.

predicate ensuresLtEdge(Operand left, Operand right, int k, IRBlock pred, IRBlock succ, boolean isLessThan)