WCU / Cybersecurity
Home
CSC 471
CSC 472
Search
/
~
/
CSC 471
/
Class 03
CSC 471 · Class 03
The Stack and Stack Frames
21 knowledge points. Work through them in order, or jump to any topic.
//
Knowledge Points
01
What is the Stack?
→
02
Memory Layout: Where the Stack Lives
→
03
push and pop: How RSP Changes
→
04
Step by Step: Pushing Two Values
→
05
The call / ret Mechanism
→
06
call / ret Visualized
→
07
Anatomy of a Stack Frame
→
08
Prologue and Epilogue
→
09
Frame Layout Relative to RBP
→
10
A Concrete C Function
→
11
...and its Disassembly
→
12
Passing Arguments (Recap)
→
13
Two Nested Frames: main -> helper
→
14
Following the Saved-RBP Chain
→
15
Why This Matters for Malware Analysis
→
16
Why This Matters for Exploitation (Preview)
→
17
Reading the Frame Live in GDB
→
18
Dumping Raw Stack Memory
→
19
Tie-in to Lab 2
→
20
Summary
→
21
Next Class
→