CodeQL library for Python
Search

Predicate safe_return_node

Gets a return value CFG node, provided that is safe to track across returns

Import path

import python
ControlFlowNode safe_return_node(PyFunctionObject func)