A simple (WIP) Mach-O object file parser.
Requires Zig trunk. Simply clone this repo and run
Pass the path to a valid Mach-O file as the first (and only) argument. If you
macho on macOS then you can of course use the
macho binary itself:
If you're not on macOS then you can use Zig itself to cross compile a Mach-O file:
zig build-obj -target aarch64-macos-gnu src/macho.zig zig-out/bin/macho macho.o