qtil
advanced-security/qtil-python 0.0.3
Search

Predicate invokedFunctionFromClassConstruction

Gets a function, either __init__ or __new__ as specified by funcName, that will be invoked when cls is constructed – where the function lookup is based on our MRO calculation.

Import path

import semmle.python.dataflow.new.internal.DataFlowDispatch
Function invokedFunctionFromClassConstruction(Class cls, string funcName)