diff options
| author | Xusheng <xusheng@vector35.com> | 2021-05-19 11:50:20 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-05-19 12:22:00 +0800 |
| commit | 695954efd12fd336224073ada03dede782495746 (patch) | |
| tree | ecbc95018828943e2ba6474d02867842bbd09c50 /binaryninjacore.h | |
| parent | 6c38e866c43e9bf12c0910ab76d8d8e3bac15b06 (diff) | |
Divide metadata into user and auto metadata
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 41c3acc1..f2a487cb 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -28,14 +28,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 8 +#define BN_CURRENT_CORE_ABI_VERSION 9 // 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 6 +#define BN_MINIMUM_CORE_ABI_VERSION 7 #ifdef __GNUC__ # ifdef BINARYNINJACORE_LIBRARY @@ -5042,7 +5042,8 @@ __attribute__ ((format (printf, 1, 2))) BINARYNINJACOREAPI bool BNMetadataIsKeyValueStore(BNMetadata* data); // Store/Query structured data to/from a BinaryView - BINARYNINJACOREAPI void BNBinaryViewStoreMetadata(BNBinaryView* view, const char* key, BNMetadata* value); + BINARYNINJACOREAPI void BNBinaryViewStoreMetadata(BNBinaryView* view, const char* key, + BNMetadata* value, bool isAuto); BINARYNINJACOREAPI BNMetadata* BNBinaryViewQueryMetadata(BNBinaryView* view, const char* key); BINARYNINJACOREAPI void BNBinaryViewRemoveMetadata(BNBinaryView* view, const char* key); |
