How to deal with invalid dyld_shared_cache magic error #322
Unanswered
triceratops-with-a-single-horn
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think the command you want is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi friends! I downloaded the "iPhone15,3_17.0_21A329_Restore.ipsw" from Apple's own URL and then extracted dyld shared cache from the IPSW using
ipsw extract ~/Downloads/iPhone15,3_17.0_21A329_Restore.ipsw -d
When I'm trying to extract dylib from the dyld shared cache with the
ipsw dyld extract /Applications/Xcode_15.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/lib/dsc_extractor.bundle ~/21A329__iPhone15,3/dyld_shared_cache_arm64e -o ~/output/
command I'm getting the following errorRunning the dyld-shared-cache-extractor tool on the same
dyld_shared_cache_arm64e
file createsSystem
andusr
folders that hasaxbundle
anddylib
files respectively, but usingllvm-dwarfdump
on those files shows that their content is empty. So I'm not sure if the output is correct at all.So my question is, what does the above error mean and how can I pass it?
I can reproduce this on both MacOS Sonoma 14.0 (23A344) and MacOS Ventura 13.5.2 (22G91). Xcode 15.0 Build version 15A240d
Edit:
Output of `ipsw dyld info 21A329__iPhone15,3/dyld_shared_cache_arm64e` command
Header
Magic = "dyld_v1 arm64e"
Platform = iOS
OS Version = 17.0
Max Slide = 0x2FF90000 (ASLR entropy: 16-bits, 767MB)
Num Images = 3333
Num SubCaches = 54
Shared Region: 3GB, address: 0x180000000 -> 0x25006C000
Local Symbols (nlist array): 149MB, offset: 0x000011070 -> 0x0095873E0
Local Symbols (string pool): 485MB, offset: 0x0095873E0 -> 0x027B4F614
ImagesText Info: 104KB, offset: 0x000000270 -> 0x00001A310
Accelerate Tab: 6985051KB, address: 0x1AA51A000 -> 0x354A70ED0
Patch Info: 96MB, address: 0x238C78698 -> 0x23ED26033
Prebuilt Loader Set: 2534KB, address: 0x23ED26038 -> 0x0002798A0
Prebuilt Loader Pool: 29MB, address: 0x23EF9F8D8 -> 0x240D598D8
Swift Opts: 0MB, offset: 0x064AC4000 -> 0x064AC4000
Mappings
Code Signature: 0MB, offset: 0x000074000 -> 0x000078000
Mappings
Code Signature: 0MB, offset: 0x006BB4000 -> 0x006BEC000
Mappings
Code Signature: 0MB, offset: 0x00000C000 -> 0x000010000
Mappings
Code Signature: 0MB, offset: 0x006C70000 -> 0x006CA8000
Mappings
Code Signature: 0MB, offset: 0x00003C000 -> 0x000040000
Mappings
Code Signature: 0MB, offset: 0x006B1C000 -> 0x006B54000
Mappings
Code Signature: 0MB, offset: 0x000054000 -> 0x000058000
Mappings
Code Signature: 0MB, offset: 0x0058B4000 -> 0x0058E4000
Mappings
Code Signature: 0MB, offset: 0x000058000 -> 0x00005C000
Mappings
Code Signature: 0MB, offset: 0x006DF4000 -> 0x006E2C000
Mappings
Code Signature: 0MB, offset: 0x000048000 -> 0x00004C000
Mappings
Code Signature: 0MB, offset: 0x006A08000 -> 0x006A40000
Mappings
Code Signature: 0MB, offset: 0x000070000 -> 0x000074000
Mappings
Code Signature: 0MB, offset: 0x006864000 -> 0x00689C000
Mappings
Code Signature: 0MB, offset: 0x00006C000 -> 0x000070000
Mappings
Code Signature: 0MB, offset: 0x006D00000 -> 0x006D38000
Mappings
Code Signature: 0MB, offset: 0x000074000 -> 0x000078000
Mappings
Code Signature: 0MB, offset: 0x006AC8000 -> 0x006B00000
Mappings
Code Signature: 0MB, offset: 0x000070000 -> 0x000074000
Mappings
Code Signature: 0MB, offset: 0x006BF8000 -> 0x006C30000
Mappings
Code Signature: 0MB, offset: 0x00007C000 -> 0x000080000
Mappings
Code Signature: 0MB, offset: 0x005144000 -> 0x005170000
Mappings
Code Signature: 0MB, offset: 0x000068000 -> 0x00006C000
Mappings
Code Signature: 0MB, offset: 0x006D98000 -> 0x006DD0000
Mappings
Code Signature: 0MB, offset: 0x000048000 -> 0x00004C000
Mappings
Code Signature: 0MB, offset: 0x006C4C000 -> 0x006C84000
Mappings
Code Signature: 0MB, offset: 0x000074000 -> 0x000078000
Mappings
Code Signature: 0MB, offset: 0x001038000 -> 0x001044000
Mappings
Code Signature: 0MB, offset: 0x000018000 -> 0x00001C000
Mappings
Code Signature: 0MB, offset: 0x00A9B8000 -> 0x00AA10000
Mappings
Code Signature: 0MB, offset: 0x0018F8000 -> 0x001908000
Mappings
Code Signature: 0MB, offset: 0x006AE4000 -> 0x006B1C000
Mappings
Code Signature: 0MB, offset: 0x00008C000 -> 0x000090000
Mappings
Code Signature: 0MB, offset: 0x006E08000 -> 0x006E40000
Mappings
Code Signature: 0MB, offset: 0x000078000 -> 0x00007C000
Mappings
Code Signature: 0MB, offset: 0x006DB0000 -> 0x006DE8000
Mappings
Code Signature: 0MB, offset: 0x000094000 -> 0x000098000
Mappings
Code Signature: 0MB, offset: 0x006DB0000 -> 0x006DE8000
Mappings
Code Signature: 0MB, offset: 0x00009C000 -> 0x0000A0000
Mappings
Code Signature: 0MB, offset: 0x006D9C000 -> 0x006DD4000
Mappings
Code Signature: 0MB, offset: 0x0000BC000 -> 0x0000C0000
Mappings
Code Signature: 0MB, offset: 0x006C80000 -> 0x006CB8000
Mappings
Code Signature: 0MB, offset: 0x0000B8000 -> 0x0000BC000
Mappings
Code Signature: 0MB, offset: 0x006E6C000 -> 0x006EA4000
Mappings
Code Signature: 0MB, offset: 0x000098000 -> 0x00009C000
Mappings
Code Signature: 0MB, offset: 0x006E64000 -> 0x006E9C000
Mappings
Code Signature: 0MB, offset: 0x000094000 -> 0x000098000
Mappings
Code Signature: 0MB, offset: 0x006E54000 -> 0x006E8C000
Mappings
Code Signature: 0MB, offset: 0x0000F0000 -> 0x0000F4000
Mappings
Code Signature: 0MB, offset: 0x006D14000 -> 0x006D4C000
Mappings
Code Signature: 0MB, offset: 0x0000D4000 -> 0x0000D8000
Mappings
Code Signature: 0MB, offset: 0x00091C000 -> 0x000924000
Mappings
Code Signature: 0MB, offset: 0x000008000 -> 0x00000C000
Mappings
Code Signature: 0MB, offset: 0x00923C000 -> 0x009288000
Mappings
Code Signature: 0MB, offset: 0x017484000 -> 0x017540000
Mappings
Code Signature: 1MB, offset: 0x027B50000 -> 0x027C90000
Beta Was this translation helpful? Give feedback.
All reactions