diff options
| author | kat <kat@vector35.com> | 2025-06-06 12:48:09 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-06-06 12:48:09 -0400 |
| commit | 380b645519c41b2ec48877145c5db63c40cb224d (patch) | |
| tree | b2551fbfb97b9f794cd620c47f2ce2e477fb078f /view/sharedcache | |
| parent | ddc3075e265aee39ad5b74836d2d452bdeea630c (diff) | |
Objective-C Processor: Remove vestigial code tracking whether view was backed by a database
Diffstat (limited to 'view/sharedcache')
| -rw-r--r-- | view/sharedcache/core/ObjC.cpp | 4 | ||||
| -rw-r--r-- | view/sharedcache/core/ObjC.h | 2 | ||||
| -rw-r--r-- | view/sharedcache/core/SharedCacheController.cpp | 2 |
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) |
