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

Predicate overflowSink

Holds if use is an operand of exp that acts as a sink for overflow-related dataflow.

Import path

import semmle.code.java.security.ArithmeticCommon
predicate overflowSink(ArithExpr exp, VarAccess use)