summaryrefslogtreecommitdiff
path: root/view/macho
diff options
context:
space:
mode:
authorMark Rowe <mrowe@bdash.net.nz>2025-02-17 11:04:35 -0800
committerkat <kat@vector35.com>2025-07-08 15:12:46 -0400
commitd7445e232501ba60fb780f2c18500c0b509fc97e (patch)
treedfaff0a3c5f64786424a8ba0eb2ad4f53f9ebd5a /view/macho
parent9ff07a92f51ded6376174a0a023875256d6776bd (diff)
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.
Diffstat (limited to 'view/macho')
-rw-r--r--view/macho/machoview.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{