diff options
| author | Mason Reed <mason@vector35.com> | 2024-08-01 17:03:39 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-12-14 13:37:40 -0500 |
| commit | b34ddd03f71c8637a80a264a3ea757b8295d482b (patch) | |
| tree | b1cbe1ce59e16a98d6dfa21975ce1661d80e9f38 /binaryninjacore.h | |
| parent | 121c16592476754800b00a3b51595f4799944d04 (diff) | |
Pass length to free flag conditions list callback and remove libc from rust api
Allows language bindings like rust to free conditions lists sanely
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 8dcab816..5e090d95 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 85 +#define BN_CURRENT_CORE_ABI_VERSION 86 // 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 82 +#define BN_MINIMUM_CORE_ABI_VERSION 86 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -1854,7 +1854,7 @@ extern "C" uint32_t* (*getFlagsRequiredForSemanticFlagGroup)(void* ctxt, uint32_t semGroup, size_t* count); BNFlagConditionForSemanticClass* (*getFlagConditionsForSemanticFlagGroup)( void* ctxt, uint32_t semGroup, size_t* count); - void (*freeFlagConditionsForSemanticFlagGroup)(void* ctxt, BNFlagConditionForSemanticClass* conditions); + void (*freeFlagConditionsForSemanticFlagGroup)(void* ctxt, BNFlagConditionForSemanticClass* conditions, size_t count); uint32_t* (*getFlagsWrittenByFlagWriteType)(void* ctxt, uint32_t writeType, size_t* count); uint32_t (*getSemanticClassForFlagWriteType)(void* ctxt, uint32_t writeType); size_t (*getFlagWriteLowLevelIL)(void* ctxt, BNLowLevelILOperation op, size_t size, uint32_t flagWriteType, |
