diff options
| author | Brian Potchik <brian@vector35.com> | 2025-02-25 16:12:21 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-02-25 16:12:21 -0500 |
| commit | f18291d4a0fe1a6fccc7763bf2d21f87ce3e2c77 (patch) | |
| tree | 7a967c35cf2a134ab74087081cc03eb0b79e698e /python | |
| parent | b35c5776891075c6c67a8adcb19048baf87de38f (diff) | |
Refactor analysis pipeline completion logic and add support for re-enabling analysis after an abort.
Diffstat (limited to 'python')
| -rw-r--r-- | python/workflow.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/python/workflow.py b/python/workflow.py index f1cbe99c..7b4bae38 100644 --- a/python/workflow.py +++ b/python/workflow.py @@ -650,13 +650,6 @@ class WorkflowMachine: else: return json.loads(core.BNPostWorkflowRequestForBinaryView(self.handle, request)) - def abort(self): - request = json.dumps({"command": "abort"}) - if self.is_function_machine: - return json.loads(core.BNPostWorkflowRequestForFunction(self.handle, request)) - else: - return json.loads(core.BNPostWorkflowRequestForBinaryView(self.handle, request)) - def halt(self): request = json.dumps({"command": "halt"}) if self.is_function_machine: @@ -768,7 +761,6 @@ class WorkflowMachineCLI(cmd.Cmd): "d": "dump", "c": "resume", "r": "run", - "a": "abort", "h": "halt", "s": "step", "b": "breakpoint", @@ -854,11 +846,6 @@ class WorkflowMachineCLI(cmd.Cmd): status = self.machine.run() print(json.dumps(status, indent=4)) - def do_abort(self, line): - """Abort the workflow machine.""" - status = self.machine.abort() - print(json.dumps(status, indent=4)) - def do_halt(self, line): """Halt the workflow machine.""" status = self.machine.halt() |
