From 380b645519c41b2ec48877145c5db63c40cb224d Mon Sep 17 00:00:00 2001 From: kat Date: Fri, 6 Jun 2025 12:48:09 -0400 Subject: Objective-C Processor: Remove vestigial code tracking whether view was backed by a database --- objectivec/objc.cpp | 4 ++-- objectivec/objc.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'objectivec') diff --git a/objectivec/objc.cpp b/objectivec/objc.cpp index 014d8057..da531e80 100644 --- a/objectivec/objc.cpp +++ b/objectivec/objc.cpp @@ -1308,8 +1308,8 @@ uint64_t ObjCProcessor::ReadPointerAccountingForRelocations(ObjCReader* reader) } -ObjCProcessor::ObjCProcessor(BinaryView* data, const char* loggerName, bool isBackedByDatabase, bool skipClassBaseProtocols) : - m_isBackedByDatabase(isBackedByDatabase), m_skipClassBaseProtocols(skipClassBaseProtocols), m_data(data) +ObjCProcessor::ObjCProcessor(BinaryView* data, const char* loggerName, bool skipClassBaseProtocols) : + m_skipClassBaseProtocols(skipClassBaseProtocols), m_data(data) { m_logger = m_data->CreateLogger(loggerName); } diff --git a/objectivec/objc.h b/objectivec/objc.h index 1cff9401..a8769ba6 100644 --- a/objectivec/objc.h +++ b/objectivec/objc.h @@ -276,7 +276,6 @@ namespace BinaryNinja { QualifiedName ivarList; } m_typeNames; - bool m_isBackedByDatabase; // TODO(WeiN76LQh): this is to avoid a bug with defining a classes protocol list in the DSC plugin. Remove once fixed bool m_skipClassBaseProtocols; @@ -332,7 +331,7 @@ namespace BinaryNinja { public: virtual ~ObjCProcessor() = default; - ObjCProcessor(BinaryView* data, const char* loggerName, bool isBackedByDatabase, bool skipClassBaseProtocols = false); + ObjCProcessor(BinaryView* data, const char* loggerName, bool skipClassBaseProtocols = false); void ProcessObjCData(); void ProcessCFStrings(); void AddRelocatedPointer(uint64_t location, uint64_t rewrite); -- cgit v1.3.1