CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Predicate Flow::clearsContent

Holds if captured variable v is cleared at node.

Import path

import codeql.dataflow.VariableCapture
predicate clearsContent(ClosureNode node, CapturedVariable v)