From f18291d4a0fe1a6fccc7763bf2d21f87ce3e2c77 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Tue, 25 Feb 2025 16:12:21 -0500 Subject: Refactor analysis pipeline completion logic and add support for re-enabling analysis after an abort. --- python/workflow.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'python') 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() -- cgit v1.3.1