mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
According to the Mach-O file format reference, the first load command should be a `__PAGEZERO` segment command. The segment is located at virtual memory location 0, has no protection rights, and causes acccesses to NULL to immediately crash. Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>