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

Member predicate AnalysedExpr::isNullCheck

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

predicate isNullCheck(LocalScopeVariable v)