From 5e98f8607c6d8ccd17601d00a479c8ce3dc35890 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 9 Dec 2021 17:58:16 -0500 Subject: [Enterprise] Support for sparse/trimmed snapshots --- binaryninjacore.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index c28490ab..cc277070 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -28,7 +28,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 15 +#define BN_CURRENT_CORE_ABI_VERSION 16 // 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 @@ -2912,6 +2912,8 @@ __attribute__ ((format (printf, 1, 2))) BINARYNINJACOREAPI BNSnapshot** BNGetSnapshotChildren(BNSnapshot* snapshot, size_t* count); BINARYNINJACOREAPI char* BNGetSnapshotName(BNSnapshot* snapshot); BINARYNINJACOREAPI bool BNIsSnapshotAutoSave(BNSnapshot* snapshot); + BINARYNINJACOREAPI bool BNSnapshotHasContents(BNSnapshot* snapshot); + BINARYNINJACOREAPI bool BNSnapshotHasUndo(BNSnapshot* snapshot); BINARYNINJACOREAPI BNDataBuffer* BNGetSnapshotFileContents(BNSnapshot* snapshot); BINARYNINJACOREAPI BNDataBuffer* BNGetSnapshotFileContentsHash(BNSnapshot* snapshot); BINARYNINJACOREAPI BNKeyValueStore* BNReadSnapshotData(BNSnapshot* snapshot); -- cgit v1.3.1