MachO-Kit icon indicating copy to clipboard operation
MachO-Kit copied to clipboard

Handle “Small” ObjC Method Lists

Open kabiroberai opened this issue 3 years ago • 1 comments

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.

kabiroberai avatar Jun 24 '21 02:06 kabiroberai

This should be simple to implement.

DeVaukz avatar Jun 27 '21 06:06 DeVaukz