diff options
| author | kat <kat@vector35.com> | 2025-01-30 10:39:55 -0500 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-01-30 10:40:02 -0500 |
| commit | 5a5426d030b6be26d4564ba1eba2d8a275533256 (patch) | |
| tree | d6b57d04c8ac0c877149fd00f32d105d6f8c8def /view/sharedcache/core/SharedCache.h | |
| parent | ac0fe22f3c158f51f8c1d43e73b8664d0fed2eb9 (diff) | |
[SharedCache] Vision Pro, tvOS, iOS Simulator support
Diffstat (limited to 'view/sharedcache/core/SharedCache.h')
| -rw-r--r-- | view/sharedcache/core/SharedCache.h | 16 |
1 files changed, 16 insertions, 0 deletions
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; |
