WCU / Cybersecurity
~/CSC 472/Class 02
CSC 472 · Class 02

Process Memory, x86-64 Assembly, and the Stack

23 knowledge points. Work through them in order, or jump to any topic.

//

Knowledge Points

01Why Memory Layout Matters → 02Process Virtual Address Space (Linux x86-64) → 03Memory Map: High Addresses at the Top → 04Region Permissions and Exploitation Relevance → 05The General-Purpose Registers (64-bit) → 06Sub-Register Aliases → 07push, pop, and RSP → 08Function Prologue and Epilogue → 09Anatomy of a Stack Frame → 10Locals, Saved RBP, Saved Return Address → 11System V AMD64 Calling Convention → 12The Red Zone → 13Contrast: 32-bit cdecl (some labs are 32-bit) → 14call and ret Mechanics → 15Why Overwriting Saved RIP Hijacks Control → 16Little-Endian: Bytes Are Stored Backwards → 17pwntools: p64 / p32 Handle Endianness → 18GDB with pwndbg / GEF → 19checksec and /proc/<pid>/maps → 20ELF: Sections vs Segments → 21Symbols, PLT, and GOT (Preview) → 22Putting It Together: Lab 1 → 23Summary →