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

Predicate nullDeref

Holds if the dereference of v at va might be null.

Import path

import semmle.code.java.dataflow.Nullness
predicate nullDeref(SsaSourceVariable v, VarAccess va, string msg, Expr reason)