summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2026-03-24 09:05:49 -0700
committerMark Rowe <mark@vector35.com>2026-03-30 13:22:34 -0700
commitddd7aa4e7cd5a1aa07a16c3895d1f91ebf49347b (patch)
tree6e8c27306ed57334686b413fd0ec5882846b950a /binaryninjacore.h
parent20adc82b8f85a78fe2cd6ddc2b3a8c78558999a5 (diff)
Add a hook to allow BinaryView subclasses to run code after snapshot data is applied
Snapshot data is applied when loading from a database, rebasing the view, etc.
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index ef38cef8..519a9400 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -37,14 +37,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 162
+#define BN_CURRENT_CORE_ABI_VERSION 163
// 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 161
+#define BN_MINIMUM_CORE_ABI_VERSION 163
#ifdef __GNUC__
#ifdef BINARYNINJACORE_LIBRARY
@@ -1847,6 +1847,7 @@ extern "C"
bool (*isRelocatable)(void* ctxt);
size_t (*getAddressSize)(void* ctxt);
bool (*save)(void* ctxt, BNFileAccessor* accessor);
+ void (*onAfterSnapshotDataApplied)(void* ctxt);
} BNCustomBinaryView;
typedef struct BNCustomBinaryViewType