From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Dyld shared cache" |
|---|
| claim | "The cache builder names split-cache files by suffix: none for the main cache (.development for the development main cache of a universal cache only), .symbols for the symbols file, .<n> for subcaches. For arm64-family device caches the data-only, read-only-only and linkedit-only subcaches get .<n>.dylddata, .<n>.dyldreadonly or .<n>.dyldlinkedit, development stubs caches get .<n>.development, and a subcache built with the force-development-suffix option gets .development inserted or appended (.<n>.development.dylddata and so on). Caches for x86_64, simulator platforms and driverKit never use these extra suffixes: every subcache is just .<n>. Customer stubs caches are also just .<n>." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "dyld cache builder at the cited commit" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "reading a split dyld shared cache directory" |
|---|
| effect | "files are dyld_shared_cache_<arch><suffix>; the suffix of each subcache is also stored in its dyld_subcache_entry.fileSuffix" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "makeMainCache/makeSymbolsCache set the suffixes; the index-based rules are in the suffix setter" |
|---|
| repo | "https://github.com/apple-oss-distributions/dyld" |
|---|
| commit | "fd8d0c4d52320ebf64db34f3cb280310d905c5ae" |
|---|
| path | "cache_builder/SubCache.cpp" |
|---|
| lines | "296-336, 420-452" |
|---|
|
| type | "source" |
|---|
| detail | "makeMainCache (.development only when options.kind is universal), makeSymbolsCache (.symbols), SubCache::setSuffix: simulator/driverKit/x86_64 branch first and only .<n>; stubs development .<n>.development; stubs customer .<n>; data, read-only, linkedit region branches; default .<n> plus optional .development." |
|---|
| repo | "https://github.com/apple-oss-distributions/dyld" |
|---|
| commit | "fd8d0c4d52320ebf64db34f3cb280310d905c5ae" |
|---|
| path | "cache_builder/SubCache.cpp" |
|---|
| lines | "296-336, 420-452" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Subcache file suffixes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:09:09.254Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:02:23.806Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read dyld cache_builder/SubCache.cpp at fd8d0c4 makeMainCache/makeSubCache/makeStubsCache/makeSymbolsCache (292-336) and setSuffix (419-452) whole. Branch order and suffixes match, including simulator/x86_64/driverKit first, dev stubs .<n>.development, customer stubs .<n>." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T04:15:16.660Z" |
|---|
| summary | "Added the conditions in SubCache::setSuffix: x86_64 caches, simulators and driverKit never get the .dylddata/.dyldreadonly/.dyldlinkedit/.development suffixes, only .<n>; customer stubs caches only…" |
|---|
| changed | |
|---|
|
|
|---|