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

Predicate resolveClassCall

Holds when call is a call to the class cls.

NOTE: We have this predicate mostly to be able to compare with old point-to call-graph resolution. So it could be removed in the future.

Import path

import semmle.python.dataflow.new.internal.DataFlowDispatch
predicate resolveClassCall(CallNode call, Class cls)