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

Method read

python/scriptingprovider.py:548–561  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

546 return False
547
548 def read(self, size):
549 interpreter = None
550 if hasattr(PythonScriptingInstance._interpreter, "value"):
551 interpreter = PythonScriptingInstance._interpreter.value
552
553 if interpreter is None:
554 return self.orig.read(size)
555 else:
556 PythonScriptingInstance._interpreter.value = None
557 try:
558 result = interpreter.read(size)
559 finally:
560 PythonScriptingInstance._interpreter.value = interpreter
561 return result
562
563 def readline(self):
564 interpreter = None

Callers 4

readlineMethod · 0.45
__init__Method · 0.45
get_selected_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected