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

Predicate signature DataFlow::valueGuardChecksSig

Holds if the guard g validates the expression e upon evaluating to gv.

The expression e is expected to be a syntactic part of the guard g. For example, the guard g might be a call isSafe(x) and the expression e the argument x.

Import path

import semmle.code.java.dataflow.DataFlow
signature predicate valueGuardChecksSig(Guard g, Expr e, GuardValue gv)