4 ms·
A practical approach is sometimes useful. Write a simple "Hello World" in C and compile it with full debug symbols. Then open it in GDB and step through. Or alt
by 0xbadc0de5 5y ago
A practical approach is sometimes useful. Write a simple "Hello World" in C and compile it with full debug symbols. Then open it in GDB and step through. Or alternatively, open it in Ghidra and follow the instructions to see how they map to higher-level code. Try the same on increasingly complex programs. Try the same with C++ instead of C, or Rust to see how different languages produce different ASM. Try compiling to ARM versus X86 to observe the differences in architectures.