summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-10-24 12:06:09 -0400
committerBrian Potchik <brian@vector35.com>2024-10-24 12:06:09 -0400
commit6d7f4ac49f5db820c5c468b69efc953cab87307b (patch)
tree40339728c6b44eedebe92dd08a0ea797134ae69f /binaryninjacore.h
parent45955fccf9d0a5e512b3a4da6ac91bf0057ae58c (diff)
Initial implementation of the module-level analysis workflow.
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index e1b08f5c..2fcf82c6 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -37,14 +37,14 @@
// Current ABI version for linking to the core. This is incremented any time
// there are changes to the API that affect linking, including new functions,
// new types, or modifications to existing functions or types.
-#define BN_CURRENT_CORE_ABI_VERSION 80
+#define BN_CURRENT_CORE_ABI_VERSION 81
// Minimum ABI version that is supported for loading of plugins. Plugins that
// are linked to an ABI version less than this will not be able to load and
// will require rebuilding. The minimum version is increased when there are
// incompatible changes that break binary compatibility, such as changes to
// existing types or functions.
-#define BN_MINIMUM_CORE_ABI_VERSION 80
+#define BN_MINIMUM_CORE_ABI_VERSION 81
#ifdef __GNUC__
#ifdef BINARYNINJACORE_LIBRARY
@@ -5157,11 +5157,6 @@ extern "C"
BINARYNINJACOREAPI void BNMarkUpdatesRequired(BNFunction* func, BNFunctionUpdateType type);
BINARYNINJACOREAPI void BNMarkCallerUpdatesRequired(BNFunction* func, BNFunctionUpdateType type);
- BINARYNINJACOREAPI BNWorkflow* BNGetWorkflowForBinaryView(BNBinaryView* view);
- BINARYNINJACOREAPI BNWorkflow* BNGetWorkflowForFunction(BNFunction* func);
- BINARYNINJACOREAPI char* BNPostWorkflowRequestForFunction(BNFunction* func, const char* request);
- BINARYNINJACOREAPI char* BNGetProvenanceString(BNFunction* func);
-
BINARYNINJACOREAPI BNHighlightColor BNGetInstructionHighlight(
BNFunction* func, BNArchitecture* arch, uint64_t addr);
BINARYNINJACOREAPI void BNSetAutoInstructionHighlight(
@@ -5433,6 +5428,19 @@ extern "C"
BINARYNINJACOREAPI const char** BNWorkflowGetEligibilitySettings(BNWorkflow* workflow, size_t* inoutSize);
+ // BinaryView Workflow Machine
+ BINARYNINJACOREAPI BNWorkflow* BNGetWorkflowForBinaryView(BNBinaryView* view);
+ BINARYNINJACOREAPI char* BNPostWorkflowRequestForBinaryView(BNBinaryView* view, const char* request);
+ BINARYNINJACOREAPI void BNShowWorkflowReportForBinaryView(BNBinaryView* view, const char* name);
+
+ // Function Workflow Machine
+ BINARYNINJACOREAPI BNWorkflow* BNGetWorkflowForFunction(BNFunction* func);
+ BINARYNINJACOREAPI char* BNPostWorkflowRequestForFunction(BNFunction* func, const char* request);
+ BINARYNINJACOREAPI void BNShowWorkflowReportForFunction(BNFunction* func, const char* name);
+
+ // Provenance
+ BINARYNINJACOREAPI char* BNGetProvenanceString(BNFunction* func);
+
// Disassembly settings
BINARYNINJACOREAPI BNDisassemblySettings* BNCreateDisassemblySettings(void);
BINARYNINJACOREAPI BNDisassemblySettings* BNNewDisassemblySettingsReference(BNDisassemblySettings* settings);