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