C

Execution flow

  1. The GNU Compiler Collection (GCC) converts our C code into an assembly specific to our CPU architecture like x86_64, amd64, arm64.
  2. The assembler compiles the assembly into a group of binaries, also called object files.
  3. The linker combines the object files and libraries into the final binary.
  4. The machine executes the final binary.

Memory management

Memory layout

Below is the memory layout listed from top to bottom in the memory space.

Common memory bugs

Dependency management

See also

←Previous Next→