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

Module SignAnalysis

Provides sign analysis to determine whether expression are always positive or negative.

The analysis is implemented as an abstract interpretation over the three-valued domain {negative, zero, positive}.

Import path

import semmle.code.java.dataflow.SignAnalysis

Imports

SignAnalysisCommon

Provides sign analysis to determine whether expression are always positive or negative.