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

Predicate overflowBarrier

Holds if n is likely guarded against overflow.

Import path

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