summaryrefslogtreecommitdiff
path: root/examples/breakpoint/src/breakpoint.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2021-01-25 16:45:06 -0500
committerRusty Wagner <rusty@vector35.com>2021-01-27 18:39:42 -0500
commit12f916450b444427685688bf34de65e11bf849e2 (patch)
treebd13651d872c1fc7ad5933e9a38a77da82235cd3 /examples/breakpoint/src/breakpoint.cpp
parent51d0f18eb4df16263867ef157b5293bb1b44f77a (diff)
Add ABI version verification for plugins
Diffstat (limited to 'examples/breakpoint/src/breakpoint.cpp')
-rw-r--r--examples/breakpoint/src/breakpoint.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/breakpoint/src/breakpoint.cpp b/examples/breakpoint/src/breakpoint.cpp
index 4fac98ac..65c8d018 100644
--- a/examples/breakpoint/src/breakpoint.cpp
+++ b/examples/breakpoint/src/breakpoint.cpp
@@ -25,6 +25,8 @@ void write_breakpoint(BinaryNinja::BinaryView *view, uint64_t start, uint64_t le
extern "C"
{
+ BN_DECLARE_CORE_ABI_VERSION
+
BINARYNINJAPLUGIN bool CorePluginInit()
{
// Register the plugin with Binary Ninja