From 5a5426d030b6be26d4564ba1eba2d8a275533256 Mon Sep 17 00:00:00 2001 From: kat Date: Thu, 30 Jan 2025 10:39:55 -0500 Subject: [SharedCache] Vision Pro, tvOS, iOS Simulator support --- view/sharedcache/core/SharedCache.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'view/sharedcache/core/SharedCache.h') diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h index 7bf8a7e0..8c06ff6e 100644 --- a/view/sharedcache/core/SharedCache.h +++ b/view/sharedcache/core/SharedCache.h @@ -127,6 +127,22 @@ namespace SharedCacheCore { dyld_cache_mapping_info mappingInfo; }; + struct dyld_cache_slide_info + { + uint32_t version; + uint32_t toc_offset; + uint32_t toc_count; + uint32_t entries_offset; + uint32_t entries_count; + uint32_t entries_size; + // uint16_t toc[toc_count]; + // entrybitmap entries[entries_count]; + }; + + struct dyld_cache_slide_info_entry { + uint8_t bits[4096/(8*4)]; // 128-byte bitmap + }; + struct PACKED_STRUCT dyld_cache_mapping_and_slide_info { uint64_t address; -- cgit v1.3.1