-
Notifications
You must be signed in to change notification settings - Fork 112
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
Missing LC_DYLD_EXPORTS_TRIE support #38
Comments
Here's some bash code to download swift if someone wants to play with this. The
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 👋,
./dsdump -vvvvv --swift <app>
segfaults, this- in my case- comes from not checking ifself->dyldInfo
exists.Adding a quick check, I'm able to get some borked output but dsdump will crash eventually.
Here's some documentation and line where dyldInfo is set;
LC_DYLD_INFO{,_ONLY}
is missing & replaced on newer binaries that target 15 for "load-time improvements".Thanks
https://github.com/qyang-nj/llios/blob/main/exported_symbol/README.md
https://github.com/qyang-nj/llios/blob/main/dynamic_linking/chained_fixups.md
https://medium.com/geekculture/how-ios-15-makes-your-app-launch-faster-51cf0aa6c520
TLDR:
"If the binary is targeted at iOS 14+ or is linked with -fixup_chains linker flag, the same information is stored in LC_DYLD_EXPORTS_TRIE load command instead."
The text was updated successfully, but these errors were encountered: