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

Method log

python/workflow.py:624–629  ·  view source on GitHub ↗
(self, enable: bool = True, is_global: bool = False)

Source from the content-addressed store, hash-verified

622 core.BNShowWorkflowReportForBinaryView(self.handle, "trace")
623
624 def log(self, enable: bool = True, is_global: bool = False):
625 request = json.dumps({"command": "log", "enable": enable, "global": is_global})
626 if self.is_function_machine:
627 return json.loads(core.BNPostWorkflowRequestForFunction(self.handle, request))
628 else:
629 return json.loads(core.BNPostWorkflowRequestForBinaryView(self.handle, request))
630
631 def metrics(self, enable: bool = True, is_global: bool = False):
632 request = json.dumps({"command": "metrics", "enable": enable, "global": is_global})

Callers 1

do_logMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected