summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/ui/Plugin.cpp')
-rw-r--r--view/sharedcache/ui/Plugin.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/view/sharedcache/ui/Plugin.cpp b/view/sharedcache/ui/Plugin.cpp
new file mode 100644
index 00000000..1d52fd6a
--- /dev/null
+++ b/view/sharedcache/ui/Plugin.cpp
@@ -0,0 +1,25 @@
+//
+// Created by kat on 8/6/24.
+//
+#include <binaryninjaapi.h>
+#include "SharedCacheUINotifications.h"
+#include "dsctriage.h"
+
+extern "C"
+{
+ BN_DECLARE_CORE_ABI_VERSION
+ BN_DECLARE_UI_ABI_VERSION
+
+ BINARYNINJAPLUGIN bool UIPluginInit()
+ {
+ UINotifications::init();
+ UIAction::registerAction("Load Image by Name");
+ UIAction::registerAction("Load Section by Address");
+ UIAction::registerAction("Load ADDRHERE");
+ UIAction::registerAction("Load IMGHERE");
+
+ DSCTriageViewType::Register();
+
+ return true;
+ }
+} \ No newline at end of file