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

Predicate callMayReturnNull

Holds if call may, directly or indirectly, evaluate to a null literal.

Import path

import cpp
predicate callMayReturnNull(Call call)