diff options
| author | Mason Reed <mason@vector35.com> | 2025-02-19 23:21:54 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-04-02 05:36:54 -0400 |
| commit | 157c4a3134df6e8e19d0f932b9215c1a1317dbec (patch) | |
| tree | 2dafe185c93026a256135158628ffcff92202294 /view/sharedcache/workflow/SharedCacheWorkflow.h | |
| parent | 0a2fa484da998e2d6e52d08cd44d1f9e7f8a5c29 (diff) | |
[SharedCache] Cleanup SharedCacheWorkflow::FixupStubs
Moved some code to a helper function and removed dead code and other oddities
Diffstat (limited to 'view/sharedcache/workflow/SharedCacheWorkflow.h')
| -rw-r--r-- | view/sharedcache/workflow/SharedCacheWorkflow.h | 10 |
1 files changed, 3 insertions, 7 deletions
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<AnalysisContext> ctx, Ref<Function> func, Ref<MediumLevelILFunction> il, const MediumLevelILInstruction instr, ExprId exprIndex, bool applySymbolIfFoundToCurrentFunction = false); + static void ProcessOffImageCall(Ref<AnalysisContext> ctx, Ref<SharedCacheAPI::SharedCache> cache, Ref<Function> func, Ref<MediumLevelILFunction> il, const MediumLevelILInstruction instr, bool applySymbolIfFoundToCurrentFunction = false); static void FixupStubs(Ref<AnalysisContext> ctx); static void Register(); }; |
