From 3006c68e108a18f9b8782bc937dc9ec7e2cb3b54 Mon Sep 17 00:00:00 2001 From: kat Date: Wed, 23 Oct 2024 21:56:29 -0400 Subject: Initial commit of the alpha dyld_shared_cache view API Plugin. This is an early release of our DSC processing plugin. We're still hard at work improving this feature. You should be able to just drop in a dyld_shared_cache and use the 'Shared Cache Triage' view to load and analyze images. --- view/sharedcache/ui/Plugin.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 view/sharedcache/ui/Plugin.cpp (limited to 'view/sharedcache/ui/Plugin.cpp') 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 +#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 -- cgit v1.3.1