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

Predicate underflowBarrier

Holds if n is likely guarded against underflow.

Import path

import semmle.code.java.security.ArithmeticCommon
predicate underflowBarrier(Node n)