summaryrefslogtreecommitdiff
path: root/linearviewobject.cpp
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-09-13 16:17:43 -0700
committerMark Rowe <mark@vector35.com>2025-09-17 20:45:26 -0700
commite937b89628f3b3ce039d641fe849796cc295c41a (patch)
tree0cf7e14946c65d1ca818483f18ea4d77a46aa786 /linearviewobject.cpp
parent11dc8b216d0852c83ff5c9bfd7d3ca146a93fe84 (diff)
[DSC] Rework handling of .symbols files to be compatible with iOS 15
In some iOS 15 caches, the .symbols file's mapping has an address of 0. This would cause it to be returned by `SharedCache::GetEntryContaining` and loaded into the view. The .symbols file contains the local symbol tables for images in the shared cache. It is not intended to be mapped into the same address space as the rest of the shared cache. `SharedCache` now tracks the symbols cache entry separately from other entries. A dedicated `VirtualMemory` region is used when accessing the data it contains. This could be a `FileAccessor`, but that would require additional changes within `SharedCacheMachOHeader`. `SharedCacheMachOProcessor` now directly accesses the local symbols cache entry rather than needing to search for it.
Diffstat (limited to 'linearviewobject.cpp')
0 files changed, 0 insertions, 0 deletions