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

Method do_dump

python/workflow.py:837–845  ·  view source on GitHub ↗

Dump metrics from the workflow system.

(self, line)

Source from the content-addressed store, hash-verified

835 pass
836
837 def do_dump(self, line):
838 """Dump metrics from the workflow system."""
839 status = self.machine.dump()
840 accepted = status.get('commandStatus', {}).get('accepted', False)
841 if accepted:
842 response = status.pop("response", None)
843 print(json.dumps(status, indent=4))
844 if accepted and response:
845 print(json.dumps(response, indent=None))
846
847 def do_configure(self, line):
848 """Configure the workflow machine."""

Callers

nothing calls this directly

Calls 3

dumpMethod · 0.80
getMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected