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

Member predicate IRGuardCondition::ensuresEq

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

predicate ensuresEq(Operand left, Operand right, int k, IRBlock block, boolean areEqual)