CodeQL library for Java/Kotlin
codeql/java-all 4.2.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)