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