codeql/cpp-all
4.1.1-dev
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Holds if (determined by this guard) left < right + k must be isLessThan in block. If isLessThan = false then this implies left >= right + k.
left < right + k
isLessThan
block
isLessThan = false
left >= right + k
predicate ensuresLt(Operand left, Operand right, int k, IRBlock block, boolean isLessThan)