From 25cc02431b61097b2adfc2fbc493b648b0300c3b Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 10 Mar 2025 11:05:40 -0400 Subject: [SharedCache] Refactor Shared Cache In absence of a better name, this commit refactors the shared cache code. --- view/macho/objc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/macho/objc.cpp') diff --git a/view/macho/objc.cpp b/view/macho/objc.cpp index 6663a44b..6df20816 100644 --- a/view/macho/objc.cpp +++ b/view/macho/objc.cpp @@ -11,9 +11,9 @@ void MachoObjCReader::Read(void* dest, size_t len) m_reader.Read(dest, len); } -std::string MachoObjCReader::ReadCString() +std::string MachoObjCReader::ReadCString(size_t maxLength) { - return m_reader.ReadCString(); + return m_reader.ReadCString(maxLength); } uint8_t MachoObjCReader::Read8() -- cgit v1.3.1