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

Predicate definitelyNull

Holds if a simple data-flow analysis determines that e is definitely null.

Import path

import cpp
predicate definitelyNull(Expr e)