summaryrefslogtreecommitdiff
path: root/view/sharedcache
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache')
-rw-r--r--view/sharedcache/core/ObjC.cpp4
-rw-r--r--view/sharedcache/core/ObjC.h2
-rw-r--r--view/sharedcache/core/SharedCacheController.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/view/sharedcache/core/ObjC.cpp b/view/sharedcache/core/ObjC.cpp
index 98fc42bb..dc3012a5 100644
--- a/view/sharedcache/core/ObjC.cpp
+++ b/view/sharedcache/core/ObjC.cpp
@@ -187,8 +187,8 @@ Ref<Section> SharedCacheObjCProcessor::GetSectionWithName(const char *sectionNam
return nullptr;
}
-SharedCacheObjCProcessor::SharedCacheObjCProcessor(BinaryView *data, bool isBackedByDatabase, uint64_t imageAddress)
- : ObjCProcessor(data, "SharedCache.ObjC", isBackedByDatabase, true)
+SharedCacheObjCProcessor::SharedCacheObjCProcessor(BinaryView *data, uint64_t imageAddress)
+ : ObjCProcessor(data, "SharedCache.ObjC", true)
{
m_imageAddress = imageAddress;
}
diff --git a/view/sharedcache/core/ObjC.h b/view/sharedcache/core/ObjC.h
index f44323d6..a30b9de4 100644
--- a/view/sharedcache/core/ObjC.h
+++ b/view/sharedcache/core/ObjC.h
@@ -69,7 +69,7 @@ namespace DSCObjC {
BinaryNinja::Ref<BinaryNinja::Section> GetSectionWithName(const char *sectionName) override;
public:
- SharedCacheObjCProcessor(BinaryNinja::BinaryView* data, bool isBackedByDatabase, uint64_t imageAddress);
+ SharedCacheObjCProcessor(BinaryNinja::BinaryView* data, uint64_t imageAddress);
uint64_t GetObjCRelativeMethodBaseAddress(BinaryNinja::ObjCReader* reader) override;
};
diff --git a/view/sharedcache/core/SharedCacheController.cpp b/view/sharedcache/core/SharedCacheController.cpp
index ff688f3c..5a5320c3 100644
--- a/view/sharedcache/core/SharedCacheController.cpp
+++ b/view/sharedcache/core/SharedCacheController.cpp
@@ -227,7 +227,7 @@ bool SharedCacheController::ApplyImage(BinaryView& view, const CacheImage& image
view.SetFunctionAnalysisUpdateDisabled(prevDisabledState);
// Load objective-c information.
- auto objcProcessor = DSCObjC::SharedCacheObjCProcessor(&view, false, image.headerAddress);
+ auto objcProcessor = DSCObjC::SharedCacheObjCProcessor(&view, image.headerAddress);
try
{
if (m_processObjC)