q/docs/macho.md
Eduard Urbach e3444b3626
All checks were successful
/ test (push) Successful in 17s
Updated Mach-O format to use LC_MAIN
2025-07-08 19:17:48 +02:00

13 lines
No EOL
420 B
Markdown

# Mach-O
## Notes
- Headers must be included in the __TEXT segment.
- Load command size must be divisible by 8.
## Links
- https://github.com/apple-oss-distributions/xnu/blob/main/EXTERNAL_HEADERS/mach-o/loader.h
- https://en.wikipedia.org/wiki/Mach-O
- https://github.com/aidansteele/osx-abi-macho-file-format-reference
- https://stackoverflow.com/questions/39863112/what-is-required-for-a-mach-o-executable-to-load