flâneur — a map of the web's best reading

CS107 Lab 6: Runtime Stack

web.stanford.edu · 2,905 words · saved by 1 readers

Note: there will be compiler warnings when you make this starter project - this is expected for some of the exercises! Next, pull up the online lab checkoff and have it open in a browser so you can jot things down as you go. Only one checkoff needs to submitted for both you and your partner. Keep our x86-64 reference sheet handy while you work! Open x86-64 Reference Sheet 30 minutes + 10min discussion Learning Goals: Become familiar with new GDB commands to navigate the assembly representation of a program. Stepping through a program in GDB and examining it at the assembly level is key to the kinds of security explorations you will be doing on assign5. Starter code file: stack.c GDB is an indispensible tool for reverse engineering, and we can't emphasize enough how familiarity with GDB will make your life easier on assign5! Here are more tips on top of the ones introduced last time. Revisit GDB Commands in lab5 print with /[format] works for registers, too, to print a value in a certa

CS107 Lab 6: Runtime Stack Lab 6: Runtime Stack --> Lab sessions Wed Nov 16 to Mon Nov 21 Lab written by Julie Zelenski, with modifications by Nick Troccoli Learning Goals This lab is designed to give you a chance to: Become more familiar with useful GDB commands and tricks when working with assembly observe and understand the correct operation of the runtime stack diagnose symptoms of stack mismanagement Get Started Clone the lab starter code by using the command below. git clone /afs/ir/class/cs107/repos/lab6/shared lab6 Note: there will be compiler warnings when you make this starter projec

Explore this link on the map →

related reading