summaryrefslogtreecommitdiff
path: root/objectivec
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2025-06-06 12:48:09 -0400
committerkat <kat@vector35.com>2025-06-06 12:48:09 -0400
commit380b645519c41b2ec48877145c5db63c40cb224d (patch)
treeb2551fbfb97b9f794cd620c47f2ce2e477fb078f /objectivec
parentddc3075e265aee39ad5b74836d2d452bdeea630c (diff)
Objective-C Processor: Remove vestigial code tracking whether view was backed by a database
Diffstat (limited to 'objectivec')
-rw-r--r--objectivec/objc.cpp4
-rw-r--r--objectivec/objc.h3
2 files changed, 3 insertions, 4 deletions
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);