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

Predicate bounded1

Holds if i <= b + delta.

This predicate enforces a join-order that ensures that i has already been bound.

Import path

import semmle.code.cpp.rangeanalysis.new.RangeAnalysisUtil
predicate bounded1(Instruction i, Instruction b, int delta)