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