diff options
| author | Brian Potchik <brian@vector35.com> | 2025-01-09 17:27:11 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-01-09 17:27:11 -0500 |
| commit | 7630dcd1686e56a51d71545a5ac4880410b429d5 (patch) | |
| tree | 2ff61331276430fd86a0eb7e027b78ee1a8a145f | |
| parent | f4cebd8e48385868161f32c7de7fd25c55ba89b6 (diff) | |
Add BNAllocStringWithLength API.
| -rw-r--r-- | binaryninjacore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 5e090d95..2fe08614 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -37,7 +37,7 @@ // 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 86 +#define BN_CURRENT_CORE_ABI_VERSION 87 // 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 @@ -3539,6 +3539,7 @@ extern "C" BINARYNINJACOREAPI char* BNAllocString(const char* contents); + BINARYNINJACOREAPI char* BNAllocStringWithLength(const char* contents, size_t len); BINARYNINJACOREAPI void BNFreeString(char* str); BINARYNINJACOREAPI char** BNAllocStringList(const char** contents, size_t size); BINARYNINJACOREAPI void BNFreeStringList(char** strs, size_t count); |
