Posted by imtomt 10 hours ago
I’ve also written a more detailed writeup here: https://imtomt.github.io/ymawky/
It would be awesome to read a blog post about the project. Your approach, lessons learned, unexpected stuff, etc.
...
- Dynamic libraries (e.g. for calling into the kernel, but also user space dynamic libraries) are OS-specific (.so for Linux, .dylib for macOS, .dll for Windows)
- Executable format is OS-specific (ELF for Linux, Mach-O for macOS, PE for Windows)
- Dynamic loading and linkage of both the above are also therefore OS-specific