You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rgoldberg
changed the title
Make commands like ipsw class-dump work on older macOS versions
Fix commands like ipsw class-dump to work on older macOS versions
Oct 12, 2024
@blacktop Does the following info help with any investigation into fixing the headers extracted from the DSC on macOS 12 (& presumably older versions)?
I extracted all headers from the DSC for the current latest macOS 12, 13, 14 & 15 versions (the older 2 versions ran on Intel, the newer 2 versions ran on Apple Silicon).
In one example file (SSPurchase.h; the attached zip file has an extracted copy for each of the 4 aforementioned macOS versions), ignoring the boilerplate comments at the beginning:
The 14 & 15 files were the same.
The 13 file was the same as the 14 & 15 files, except that it used signed char while 14 & 15 used _Bool.
The 12 file was the same as the 13 file, except that its /* class methods */ & /* instance methods */ sections were incorrect.
What happened?
On macOS 12.7.6, commands like:
ipsw class-dump /System/Library/dyld/dyld_shared_cache_arm64e 'CommerceKit' --headers --output /tmp/CommerceKit_HDRS
output headers with incorrect symbol names. e.g.,
/tmp/CommerceKit_HDRS/CommerceKit/CKBag.h
is:Please fix this command, and all other related commands, for as many latest versions of each macOS major version as possible.
How can we reproduce this?
Run the above command on macOS 12.7.6. Try it on some other macOS versions, too.
ipsw version
Search
Code of Conduct
Additional context
See #563
The text was updated successfully, but these errors were encountered: