Do not use an enum for CpuSubType
Update
Vendor macOS headers
A simple (WIP) Mach-O object file parser.
Requires Zig trunk. Simply clone this repo and run
zig build
Pass the path to a valid Mach-O file as the first (and only) argument. If you
built macho
on macOS then you can of course use the macho
binary itself:
zig-out/bin/macho zig-out/bin/macho
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
MIT