How is a binary executable organized? Let's explore it!
I used to think that executables were totally impenetrable. I’d
compile a C program, and then that was it! I had a Magical Binary
Executable that I could no longer read.
It is not so! Executable file formats are regular file formats that
you can understand. I’ll explain some simple tools to start! We’ll be
working on Linux, with ELF binaries. (binaries are kind of the
definition of platform-specific, so this is all platform-specific.)
We’ll be using C, but you could just as easily look at output...
Read more at jvns.ca