From d7445e232501ba60fb780f2c18500c0b509fc97e Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Mon, 17 Feb 2025 11:04:35 -0800 Subject: Parse sections containing Objective-C constants This adds support for the `__objc_arrayobj`, `_objc_dictobj`, `__objc_intobj`, `__objc_floatobj`, `__objc_doubleobj` and `__objc_dateobj` sections that contain Objective-C constants. These are emitted by Apple's versions of Clang for `const` literals, amongst other things. --- view/macho/machoview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/macho') diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp index e4be6c7b..9244a9c9 100644 --- a/view/macho/machoview.cpp +++ b/view/macho/machoview.cpp @@ -2369,7 +2369,7 @@ bool MachoView::InitializeHeader(MachOHeader& header, bool isMainHeader, uint64_ if (parseCFStrings) { try { - m_objcProcessor->ProcessCFStrings(); + m_objcProcessor->ProcessObjCLiterals(); } catch (std::exception& ex) { -- cgit v1.3.1