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/workflow/SharedCacheWorkflow.h | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 view/sharedcache/workflow/SharedCacheWorkflow.h (limited to 'view/sharedcache/workflow/SharedCacheWorkflow.h') diff --git a/view/sharedcache/workflow/SharedCacheWorkflow.h b/view/sharedcache/workflow/SharedCacheWorkflow.h new file mode 100644 index 00000000..67ccb8fe --- /dev/null +++ b/view/sharedcache/workflow/SharedCacheWorkflow.h @@ -0,0 +1,27 @@ + +#include "binaryninjaapi.h" + +using namespace BinaryNinja; + + +#ifndef SHAREDCACHE_SHAREDCACHEWORKFLOW_H +#define SHAREDCACHE_SHAREDCACHEWORKFLOW_H + + +class SharedCacheWorkflow +{ +public: + static void ProcessOffImageCall(Ref ctx, Ref func, Ref il, const MediumLevelILInstruction instr, ExprId exprIndex, bool applySymbolIfFoundToCurrentFunction = false); + static void FixupStubs(Ref ctx); + static void Register(); +}; + +#ifdef __cplusplus +extern "C" { +#endif + void RegisterSharedCacheWorkflow(); +#ifdef __cplusplus +} +#endif + +#endif //SHAREDCACHE_SHAREDCACHEWORKFLOW_H -- cgit v1.3.1