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

Module MethodCalls

Import path

import semmle.python.dataflow.new.internal.DataFlowDispatch

Predicates

fromSuper

Holds if call is a call to a method target, derived from a use of super, either as:

fromSuperNewCall

Like fromSuper, but only for __new__, and without requirement for being able to resolve the call to a known target (since the only super class might be the builtin object, so we never have the implementation of __new__ in the DB).

resolveMethodCall