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

Predicate maybeNull

Holds if a simple data-flow analysis determines that e may be null.

Import path

import cpp
predicate maybeNull(Expr e)