script # copy the bomb from /cse/web/courses/cse351/17wi/labs/lab2/cse351staff # or https://courses.cs.washington.edu/courses/cse351/17wi/labs/lab2/cse351staff/lab2-bomb.tar > ./bomb > hello world # blows up open bomb.c what's going on some argument stuff lets checkout phase_1 > gdb bomb > break pha[[tab complete]] > break phase_1 > run > blahblahbalh # hits breakpoint where are where > bt > disas sub/add %rsp to setup stack frame check out the parameter > x /s $rdi checkout what's happening strings_not_equal (%rdi is already passed in) explain je So we want to find the other string > stepi > stepi Explain step vs stepi, next vs nexti > x /s $rsi Looks hopeful Lets try it > quit > bomb > Why make trillions when we could make... billions? Ctrl-C It worked, let's save that in our defuser.txt