From 695954efd12fd336224073ada03dede782495746 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Wed, 19 May 2021 11:50:20 +0800 Subject: Divide metadata into user and auto metadata --- binaryninjacore.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'binaryninjacore.h') 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); -- cgit v1.3.1