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

Predicate boundedImpl

Holds if i <= b + delta and delta is the smallest integer that satisfies this condition.

Import path

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