CSC 373: Computer Systems I

  Lab 2

Due by 11:50am on Thursday, February 27



The goal of the second lab is to help you master the IA32 assembly language and the gdb debugger. You’ll do this by defusing a "binary bomb". Start by reading the instructions. This is another challenging assignment and I recommend you start early.

Section 3.11 gives an introduction to gdb debugger. More info on gdb is provided on the CS:APP website and here.

Finally this transcript shows a debugging session in which 2 of the 6 phases of a publicly available binary bomb lab are solved. It shows how the gdb debugger can be used to solve the phases of this lab.

Please use the discussion forum to discuss this lab between yourselves, and also with me.