接上篇[精品]CSAPP Bomb Lab 解题报告(五)
gdb常用指令
设置Intel代码格式:set disassembly-flavor intel
查看反汇编代码:disas phase_1
查看字符串:(gdb) x/s 0x402800
0x402800: "Gunston"
6. Phase 6: linked lists / pointers / structs
6.1 本关密码
4 3 2 1 6 5
6.2 解题过程
%rdi = input