From 44c8af1986d2626e44931917c548adece5bc074d Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sat, 29 Mar 2025 21:55:04 -0400 Subject: Add interim workflow C++ apis for logging. --- binaryninjaapi.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 74a0f868..82e6ace1 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -10126,12 +10126,13 @@ namespace BinaryNinja { */ bool Step(); - /*! Get the current state of the workflow machine - - Returns the current state of the workflow machine. - \return The current state of the workflow machine - */ + // TODO: Add new BNWorkflowMachineStatus structure and cooresponding API + // BNWorkflowMachineStatus GetStatus(); + // TODO remove the following APIs once the above is implemented std::string GetState(); + std::pair GetLogStatus(); + + bool SetLogEnabled(bool enable, bool global = false); std::optional QueryOverride(const std::string& activity); bool SetOverride(const std::string& activity, bool enable); -- cgit v1.3.1