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

Handle “Small” ObjC Method Lists #21

Open
kabiroberai opened this issue Jun 24, 2021 · 1 comment
Open

Handle “Small” ObjC Method Lists #21

kabiroberai opened this issue Jun 24, 2021 · 1 comment
Assignees

Comments

@kabiroberai
Copy link
Contributor

MachO files built to target the latest release OSes (iOS 14/macOS 11/etc) use a new "small" format for ObjC method lists, which contain relative 32-bit offsets to methods instead of absolute addresses. Implementing the relative pointer format could also help with Swift ABI support, since Swift does something similar. For implementation details, check out RelativePointer, method_t, and method_list_t in objc-runtime-new.mm.

@DeVaukz
Copy link
Owner

DeVaukz commented Jun 27, 2021

This should be simple to implement.

@DeVaukz DeVaukz self-assigned this Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants