Lesson 17: The Function of Functions
Outline:
- Working with the stack
push/pop- function calls and the stack
- Assignment 7—please post/DM any questions on Slack!
- Lab 5: debugging x86-64 with
gdb
Videos to watch after class:
- video: using
gdbto explore theproc()function (Lab 5: Step 1) - video: local variables and the stack
- video: using
gdbto explore a function that callsproc()(Lab 5: Step 2) - video: using
gdbto solve an assembly puzzle (Lab 5: Step 3)
Reading assignment (to be completed by the next class):
- Watch the videos!
- DiS Sec. 7.6: Recursion
- DiS Sec. 7.10: Buffer Overflows