diff options
| author | kat <kat@vector35.com> | 2024-10-23 21:56:29 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-10-23 21:58:47 -0400 |
| commit | 3006c68e108a18f9b8782bc937dc9ec7e2cb3b54 (patch) | |
| tree | f589bb38909349142c09b6215244205aef0a57ac /view/sharedcache/HeadlessPlugin.cpp | |
| parent | 80fcccec8f686e0e5c89626b60af121a97baf856 (diff) | |
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.
Diffstat (limited to 'view/sharedcache/HeadlessPlugin.cpp')
| -rw-r--r-- | view/sharedcache/HeadlessPlugin.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/view/sharedcache/HeadlessPlugin.cpp b/view/sharedcache/HeadlessPlugin.cpp new file mode 100644 index 00000000..c49ace5a --- /dev/null +++ b/view/sharedcache/HeadlessPlugin.cpp @@ -0,0 +1,23 @@ +#include <binaryninjaapi.h> +#include "DSCView.h" +#include "SharedCache.h" + +#ifdef __cplusplus +extern "C" { +#endif + extern void RegisterSharedCacheWorkflow(); +#ifdef __cplusplus +} +#endif + +extern "C" +{ + BN_DECLARE_CORE_ABI_VERSION + + BINARYNINJAPLUGIN bool CorePluginInit() + { + InitDSCViewType(); + RegisterSharedCacheWorkflow(); + return true; + } +}
\ No newline at end of file |
