summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/MachOProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/core/MachOProcessor.h')
-rw-r--r--view/sharedcache/core/MachOProcessor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/sharedcache/core/MachOProcessor.h b/view/sharedcache/core/MachOProcessor.h
index 0564a831..4b014f4e 100644
--- a/view/sharedcache/core/MachOProcessor.h
+++ b/view/sharedcache/core/MachOProcessor.h
@@ -1,5 +1,6 @@
#pragma once
#include "MachO.h"
+#include "SharedCache.h"
// Process `SharedCacheMachOHeader`.
class SharedCacheMachOProcessor
@@ -15,7 +16,7 @@ public:
BinaryNinja::Ref<BinaryNinja::BinaryView> view, std::shared_ptr<VirtualMemory> vm);
// Initialize header information such as sections and symbols.
- void ApplyHeader(SharedCacheMachOHeader& header);
+ void ApplyHeader(const SharedCache& cache, SharedCacheMachOHeader& header);
uint64_t ApplyHeaderSections(SharedCacheMachOHeader& header);