diff options
| author | kat <kat@vector35.com> | 2024-02-10 14:59:50 -0500 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-02-10 15:20:37 -0500 |
| commit | ddce31c8d62c7ce0a385e5af65b0134c56e3b6c8 (patch) | |
| tree | 9dfa07ca14f62806bdb97d8c31866b023aa1a9a2 /binaryninjacore.h | |
| parent | 5454781534812279765047823519504338550434 (diff) | |
Use TypeID for serializing enum types, replace set_int_enum_display_typeid with set_int_display_type, add get_int_display_type_and_typeid, bump ABI
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index a3210c52..9472339e 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 50 +#define BN_CURRENT_CORE_ABI_VERSION 51 // 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 50 +#define BN_MINIMUM_CORE_ABI_VERSION 51 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -4474,11 +4474,9 @@ extern "C" BINARYNINJACOREAPI BNIntegerDisplayType BNGetIntegerConstantDisplayType( BNFunction* func, BNArchitecture* arch, uint64_t instrAddr, uint64_t value, size_t operand); BINARYNINJACOREAPI void BNSetIntegerConstantDisplayType(BNFunction* func, BNArchitecture* arch, uint64_t instrAddr, - uint64_t value, size_t operand, BNIntegerDisplayType type); - BINARYNINJACOREAPI BNType* BNGetIntegerConstantDisplayTypeEnumerationType( + uint64_t value, size_t operand, BNIntegerDisplayType type, const char* typeID); + BINARYNINJACOREAPI char* BNGetIntegerConstantDisplayTypeEnumerationType( BNFunction* func, BNArchitecture* arch, uint64_t instrAddr, uint64_t value, size_t operand); - BINARYNINJACOREAPI void BNSetIntegerConstantDisplayTypeEnumerationType( - BNFunction* func, BNArchitecture* arch, uint64_t instrAddr, uint64_t value, size_t operand, BNType* type); BINARYNINJACOREAPI bool BNIsFunctionTooLarge(BNFunction* func); BINARYNINJACOREAPI bool BNIsFunctionAnalysisSkipped(BNFunction* func); |
