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

Predicate RangeStage::initialBounded

Holds if b + delta is a valid bound for e.

  • upper = true : e <= b + delta
  • upper = false : e >= b + delta

Import path

import codeql.rangeanalysis.RangeAnalysis
predicate initialBounded(Expr e, SemBound b, Delta delta, boolean upper, boolean fromBackEdge, Delta origdelta, SemReason reason)