Building the smallest elf program

In this post we will have fun trying to create the smallest possible 64 bits Linux program (ELF binary) that simply outputs “Hello world!” when it is executed. The idea here is to understand the compilation process, linking, how loader works, how ELF file format is structured, and so on. State of the art So let’s simply create a program […]