ios-kern-utils
ios-kern-utils copied to clipboard
M1 (arm64) for macos
Hi Siguza, Can you please add support for arm64 arch for macosx? I only trying to use kmem. It seems that the only usage of TARGET_MACOS that is relevant to kmem is in:
- arch.h (IMAGE_OFFSET, MACH_TYPE)
If this requires too much work, can you give the highlights of the required modifications and I'll try to do the modifications myself.
When trying to modify it myself, I get an error from vm_read_overwrite
[DEBUG] vm_read error: (os/kern) invalid argument [src/lib/libkern.c:944]
Tfp0 on macOS is dead anyway. Maybe I'll write a custom kext interface and a matching backend for libkrw, and then we can consider updating these tools, but before that there's no point.