Posts with the tag OS:

From binary to main: How Linux starts your programs

Ever wondered what really happens between running a program and reaching main()? This article follows the entire startup process on Linux x86-64, from compilation and the ELF format to program loading, dynamic linking, memory mapping, and the final transfer of control to your code.

What happens when you plug in a USB stick ?

This article follows the journey of a USB flash drive from physical connection to user integration.