Skip to content
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

New dyld load commands not handled (LC_DYLD_CHANGED_FIXUPS and LC_DYLD_EXPORTS_TRIE) #31

Closed
ronaldoussoren opened this issue Dec 25, 2019 · 2 comments
Labels
blocker bug Something isn't working

Comments

@ronaldoussoren
Copy link
Owner

Original report by Anonymous.


There are two new load commands added in 10.15 / iOS 13 (http://newosxbook.com/articles/13-10.15.html and can be seen in /Applications.Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach-o/loader.h:324

#define LC_DYLD_EXPORTS_TRIE (0x33 | LC_REQ_DYLD) /* used with linkedit_data_command, payload is trie */

#define LC_DYLD_CHAINED_FIXUPS (0x34 | LC_REQ_DYLD) /* used with linkedit_data_command */

This is blocking usage of macholib on any recent binary, good time to reference issue #26

I'm not yet sure of the extent or necessity of these new load commands.

@ronaldoussoren
Copy link
Owner Author

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


Add two new load commands introduced in macOS 10.15

Fixes #31

@ronaldoussoren
Copy link
Owner Author

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


I’ve added both command’s in changeset b5ca8a524620 and will push out a release later this week.

Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant