Simplified executable file formats

This commit is contained in:
2024-08-15 00:46:49 +02:00
parent fe1b353fe6
commit 7092cb6626
29 changed files with 236 additions and 218 deletions

16
src/exe/macho/macho.md Normal file
View File

@ -0,0 +1,16 @@
# Mach-O
## Notes
MacOS is the only operating system that requires loading the headers
explicitly with both readable and executable permissions.
## Loader
https://github.com/apple-oss-distributions/xnu/blob/main/EXTERNAL_HEADERS/mach-o/loader.h
## Links
- 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