CodeQL library for Java/Kotlin
codeql/java-all 0.9.2-dev (changelog, source)
Search

Module RangeAnalysis

Provides classes and predicates for range analysis.

An inferred bound can either be a specific integer, the abstract value of an SSA variable, or the abstract value of an interesting expression. The latter category includes array lengths that are not SSA variables.

If an inferred bound relies directly on a condition, then this condition is reported as the reason for the bound.

Import path

import codeql.rangeanalysis.RangeAnalysis

Modules

Module signatures