diff options
| author | Glenn Smith <glenn@vector35.com> | 2021-12-09 17:58:16 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-01-20 15:13:42 -0500 |
| commit | 5e98f8607c6d8ccd17601d00a479c8ce3dc35890 (patch) | |
| tree | b1ef938c7451449832a96b74e47ed5303779e70b /binaryninjacore.h | |
| parent | 82dd03bf69c53650c99461a02163df53be41e951 (diff) | |
[Enterprise] Support for sparse/trimmed snapshots
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |
