CodeQL library for C/C++
codeql/cpp-all 3.0.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)