summaryrefslogtreecommitdiff
path: root/defaultabb/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'defaultabb/plugin.cpp')
-rw-r--r--defaultabb/plugin.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/defaultabb/plugin.cpp b/defaultabb/plugin.cpp
new file mode 100644
index 00000000..917a03ee
--- /dev/null
+++ b/defaultabb/plugin.cpp
@@ -0,0 +1,12 @@
+#include "binaryninjaapi.h"
+#include "binaryninjacore.h"
+
+using namespace BinaryNinja;
+
+extern "C" {
+ BN_DECLARE_CORE_ABI_VERSION
+ BINARYNINJAPLUGIN bool CorePluginInit()
+ {
+ return BNArchitectureSetDefaultAnalyzeBasicBlocksCallback((void *)Architecture::DefaultAnalyzeBasicBlocksCallback);
+ }
+}