CS107 Lab 6: Runtime Stack
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
- CS107 GDB and Debuggingweb.stanford.edu
- x86 Assembly and Call Stack | Computer Securitytextbook.cs161.org
- CS107E Assignment 4: Stack and Heapcs107e.github.io
- Smashing the Stack in the 21st Century :: Jon Gjengsetthesquareplanet.com
- Introduction to reverse engineering and Assembly. | KaKaRoTo's Blogkakaroto.homelinux.net
- how I think when I think about programming - alice mazalicemaz.com
- CS107 Assignment 5: Banking on Securityweb.stanford.edu
- CS107 Guide to x86-64web.stanford.edu
- CS107 Guide to x86-64web.stanford.edu
- Guide to x86 Assemblyflint.cs.yale.edu
- Assessing Claude Mythos Preview’s cybersecurity capabilities \ Anthropicred.anthropic.com
- Memory Safety Vulnerabilities | Computer Securitytextbook.cs161.org