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.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/view/sharedcache/core/SharedCacheController.cpp b/view/sharedcache/core/SharedCacheController.cpp
index 13afb476..8d036b4a 100644
--- a/view/sharedcache/core/SharedCacheController.cpp
+++ b/view/sharedcache/core/SharedCacheController.cpp
@@ -215,16 +215,14 @@ bool SharedCacheController::ApplyImage(BinaryView& view, const CacheImage& image
machoProcessor.ApplyHeader(*image.header);
view.SetFunctionAnalysisUpdateDisabled(prevDisabledState);
- // TODO: Passing in an image name here is weird considering this is shared with the MACHO view.
- // TODO: We should abstract out the "image" into an objc image type that represents what is required, which ig is the name?
// Load objective-c information.
- auto objcProcessor = DSCObjC::SharedCacheObjCProcessor(&view, false);
+ auto objcProcessor = DSCObjC::SharedCacheObjCProcessor(&view, false, image.headerAddress);
try
{
if (m_processObjC)
- objcProcessor.ProcessObjCData(image.GetName());
+ objcProcessor.ProcessObjCData();
if (m_processCFStrings)
- objcProcessor.ProcessCFStrings(image.GetName());
+ objcProcessor.ProcessCFStrings();
}
catch (std::exception& e)
{