Overview of ElleKit capabilities
mainElleKit is a multi-purpose hooking and assembly library designed for arm64/arm64e devices running the XNU kernel. Its primary functions include:
- C Function Hooking: Patches memory pages directly to intercept C functions.
- Objective-C Hooking: Supports hooking Objective-C messages (preserving the original implementation) and class pairs via
MSHookClassPair. - Assembly & JIT: Provides an arm64 assembler and a JIT inline assembly implementation for Swift.
- API Compatibility: Reimplements both the Substrate and libhooker APIs.
Supported Platforms:
- iOS 15-27 (arm64)
- iOS 15-17 (arm64e)
- macOS Ventura (arm64/arm64e) — Note: Currently unsupported on latest macOS due to Apple's codesigning changes.