summaryrefslogtreecommitdiff
path: root/view/sharedcache/workflow/SharedCacheWorkflow.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2024-10-23 21:56:29 -0400
committerkat <kat@vector35.com>2024-10-23 21:58:47 -0400
commit3006c68e108a18f9b8782bc937dc9ec7e2cb3b54 (patch)
treef589bb38909349142c09b6215244205aef0a57ac /view/sharedcache/workflow/SharedCacheWorkflow.h
parent80fcccec8f686e0e5c89626b60af121a97baf856 (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/workflow/SharedCacheWorkflow.h')
-rw-r--r--view/sharedcache/workflow/SharedCacheWorkflow.h27
1 files changed, 27 insertions, 0 deletions
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<AnalysisContext> ctx, Ref<Function> func, Ref<MediumLevelILFunction> il, const MediumLevelILInstruction instr, ExprId exprIndex, bool applySymbolIfFoundToCurrentFunction = false);
+ static void FixupStubs(Ref<AnalysisContext> ctx);
+ static void Register();
+};
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void RegisterSharedCacheWorkflow();
+#ifdef __cplusplus
+}
+#endif
+
+#endif //SHAREDCACHE_SHAREDCACHEWORKFLOW_H