summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCacheController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/core/SharedCacheController.cpp')
-rw-r--r--view/sharedcache/core/SharedCacheController.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/view/sharedcache/core/SharedCacheController.cpp b/view/sharedcache/core/SharedCacheController.cpp
index 8420d358..b6dfdb47 100644
--- a/view/sharedcache/core/SharedCacheController.cpp
+++ b/view/sharedcache/core/SharedCacheController.cpp
@@ -1,10 +1,6 @@
#include "SharedCacheController.h"
-
-#include <utility>
-
#include "MachOProcessor.h"
#include "ObjC.h"
-#include "SlideInfo.h"
using namespace BinaryNinja;
using namespace BinaryNinja::DSC;
@@ -211,7 +207,7 @@ bool SharedCacheController::ApplyImage(BinaryView& view, const CacheImage& image
// analyzed functions as updated.
auto prevDisabledState = view.GetFunctionAnalysisUpdateDisabled();
view.SetFunctionAnalysisUpdateDisabled(true);
- machoProcessor.ApplyHeader(*image.header);
+ machoProcessor.ApplyHeader(GetCache(), *image.header);
view.SetFunctionAnalysisUpdateDisabled(prevDisabledState);
// Load objective-c information.