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