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

Predicate checkedValid

Holds if var is likely to be non-null at node.

Import path

import cpp
predicate checkedValid(Variable var, ControlFlowNode node)