From 157c4a3134df6e8e19d0f932b9215c1a1317dbec Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 19 Feb 2025 23:21:54 -0500 Subject: [SharedCache] Cleanup SharedCacheWorkflow::FixupStubs Moved some code to a helper function and removed dead code and other oddities --- view/sharedcache/workflow/SharedCacheWorkflow.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'view/sharedcache/workflow/SharedCacheWorkflow.h') diff --git a/view/sharedcache/workflow/SharedCacheWorkflow.h b/view/sharedcache/workflow/SharedCacheWorkflow.h index 67ccb8fe..528c69f4 100644 --- a/view/sharedcache/workflow/SharedCacheWorkflow.h +++ b/view/sharedcache/workflow/SharedCacheWorkflow.h @@ -1,17 +1,13 @@ - -#include "binaryninjaapi.h" - -using namespace BinaryNinja; - - #ifndef SHAREDCACHE_SHAREDCACHEWORKFLOW_H #define SHAREDCACHE_SHAREDCACHEWORKFLOW_H +#include "binaryninjaapi.h" +#include "view/sharedcache/api/sharedcacheapi.h" class SharedCacheWorkflow { public: - static void ProcessOffImageCall(Ref ctx, Ref func, Ref il, const MediumLevelILInstruction instr, ExprId exprIndex, bool applySymbolIfFoundToCurrentFunction = false); + static void ProcessOffImageCall(Ref ctx, Ref cache, Ref func, Ref il, const MediumLevelILInstruction instr, bool applySymbolIfFoundToCurrentFunction = false); static void FixupStubs(Ref ctx); static void Register(); }; -- cgit v1.3.1