MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / __init__

Method __init__

python/scriptingprovider.py:64–70  ·  view source on GitHub ↗
(self, func)

Source from the content-addressed store, hash-verified

62 _actions = []
63
64 def __init__(self, func):
65 self.func = func
66 self.interpreter = None
67 if hasattr(PythonScriptingInstance._interpreter, "value"):
68 self.interpreter = PythonScriptingInstance._interpreter.value
69 self.__class__._actions.append(self)
70 self.callback = ctypes.CFUNCTYPE(None, ctypes.c_void_p)(lambda ctxt: self.execute())
71
72 def execute(self):
73 old_interpreter = None

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected