diff options
| author | Brian Potchik <brian@vector35.com> | 2025-03-29 21:55:04 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-03-29 21:55:04 -0400 |
| commit | 44c8af1986d2626e44931917c548adece5bc074d (patch) | |
| tree | 44029bae21d9226ea8b101a079253148faf4056c /binaryninjaapi.h | |
| parent | 84dc3cb21aa75f40dae5ab8fdd2f1782e77f5f4c (diff) | |
Add interim workflow C++ apis for logging.
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 11 |
1 files changed, 6 insertions, 5 deletions
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<bool, bool> GetLogStatus(); + + bool SetLogEnabled(bool enable, bool global = false); std::optional<bool> QueryOverride(const std::string& activity); bool SetOverride(const std::string& activity, bool enable); |
