CodeQL library for C/C++
codeql/cpp-all 5.2.0 (changelog, source)
Search

Member predicate AnalysedExpr::isNullCheck

Holds if v is null when this expression evaluates to a true value.

predicate isNullCheck(LocalScopeVariable v)