-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for newer load commands #2
Comments
Thanks a lot for the report. I will take a look. |
I added the support. I will release a new verion of XMachOViewer in 2 weeks. |
The latest released version (0.04) still doesn't show contents of LC_DYLD_EXPORTS_TRIE and LC_DYLD_CHAINED_FIXUPS |
Meanwhile Apple has added again two new load-commands:
|
The latest released version (0.04) still doesn't show contents of LC_VERSION_MIN_IPHONEOS. |
Looking at the list of defined load-commands in https://github.com/horsicq/Formats/blob/master/xmach_def.h the following LCs are missing:
Not sure where the reverse lookup from constant to name is located. I have seen that for a lot of load commands there is code to handle them in machwidget.cpp. Is this the place where the load command parsing has to be implemented? |
thanks! I got it! |
When I look into the source code the load command definitions seem to be a bit old, the latest LC is 0x30 where dyld already knows up to 0x34:
https://opensource.apple.com/source/cctools/cctools-927.0.2/include/mach-o/loader.h.auto.html
The latter two replace starting with iOS15 LC_DYLD_INFO/LC_DYLD_INFO_ONLY
https://www.emergetools.com/blog/posts/iOS15LaunchTime
Sample app with LC_DYLD_EXPORTS_TRIE and LC_DYLD_CHAINED_FIXUPS:
nslogtest2.zip
e
The text was updated successfully, but these errors were encountered: