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

Predicate SsaSource::method_call_refinement

Holds if v is used as the receiver in a method call.

Import path

import semmle.python.essa.SsaDefinitions
predicate method_call_refinement(Variable v, ControlFlowNode use, CallNode call)