CodeQL library for C/C++
Search

Predicate callMayReturnNull

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

Import path

import cpp
predicate callMayReturnNull(Call call)