接上篇[精品]CSAPP Bomb Lab 解题报告(六)
gdb常用指令
设置Intel代码格式:set disassembly-flavor intel
查看反汇编代码:disas phase_1
查看字符串:(gdb) x/s 0x402800
0x402800: "Gunston"
7. 结束了吗
在 bomb.c 文件的最后,留下了这样一句耐人寻味的话:·
/* Wow, they got it! But isn't something... missing? Perhaps
* something they overlooked? Mua ha ha ha ha! */
这是因为,本 Lab 还有一个隐藏关!