diff options
| author | Mark Rowe <mark@vector35.com> | 2026-05-27 16:06:02 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2026-05-29 10:54:14 -0700 |
| commit | 9b7c23d8efa67a84b6c0779b0b4748cea699d403 (patch) | |
| tree | 63f3e7b674058bb27955d805bb0cadfd988f31ad | |
| parent | c3cdbb068e09f311e2a3d154327ba9640ce2f0d7 (diff) | |
Improve consistency in how string lists are allocated in API entrypoints
| -rw-r--r-- | binaryninjacore.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 607c2ef4..176d866e 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 170 +#define BN_CURRENT_CORE_ABI_VERSION 171 // 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 170 +#define BN_MINIMUM_CORE_ABI_VERSION 171 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -4162,6 +4162,7 @@ extern "C" BINARYNINJACOREAPI char* BNAllocStringWithLength(const char* contents, size_t len); BINARYNINJACOREAPI void BNFreeString(char* str); BINARYNINJACOREAPI char** BNAllocStringList(const char** contents, size_t size); + BINARYNINJACOREAPI char** BNAllocUninitializedStringList(size_t size); BINARYNINJACOREAPI void BNFreeStringList(char** strs, size_t count); BINARYNINJACOREAPI void BNShutdown(void); |
