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