From 7ba5163f45803debbbc496d2981343a5ffa8a172 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 4 Mar 2024 15:53:28 -0500 Subject: Separate local variable tokens in higher level ILs from stack variable tokens in lower levels, and improve token usage in disassembly --- binaryninjacore.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 3e26db68..5e68aa4b 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 56 +#define BN_CURRENT_CORE_ABI_VERSION 57 // 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 55 +#define BN_MINIMUM_CORE_ABI_VERSION 57 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -380,7 +380,8 @@ extern "C" ImportToken = 67, AddressDisplayToken = 68, IndirectImportToken = 69, - ExternalSymbolToken = 70 + ExternalSymbolToken = 70, + StackVariableToken = 71 } BNInstructionTextTokenType; typedef enum BNInstructionTextTokenContext @@ -1867,10 +1868,12 @@ extern "C" AltUnconditionalBranchColor, // Disassembly colors + InstructionColor, RegisterColor, NumberColor, CodeSymbolColor, DataSymbolColor, + LocalVariableColor, StackVariableColor, ImportColor, ExportColor, -- cgit v1.3.1