📄 gdb-test1.txt
字号:
$44 = 4(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 13, 0x0804927f in stage4 ()(gdb) print /d $edi$45 = 4(gdb) print /d $eax$46 = 8(gdb) killKill the program being debugged? (y or n) y(gdb) runStarting program: /home/swpig/Documents/ICS/bomb1191please enter password for stage 1: 165124You successfully passed stage 1. please enter password for stage 2: 16383You successfully passed stage 2. please enter password for stage 3: 37647You successfully passed stage 3. please enter password for stage 4: 55070286 Breakpoint 8, 0x08049225 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 9, 0x08049232 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 10, 0x08049250 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 11, 0x08049269 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 12, 0x08049275 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 13, 0x0804927f in stage4 ()(gdb) print /d $eax$47 = 5(gdb) print /d $edi$48 = 4(gdb) killKill the program being debugged? (y or n) y(gdb) break *0x80491f9Breakpoint 16 at 0x80491f9(gdb) break *8049206Breakpoint 17 at 0x7ad236(gdb) break *8049210Breakpoint 18 at 0x7ad23a(gdb) runStarting program: /home/swpig/Documents/ICS/bomb1191Warning:Cannot insert breakpoint 17.Error accessing memory address 0x7ad236: Input/output error.Cannot insert breakpoint 18.Error accessing memory address 0x7ad23a: Input/output error.The same program may be running in another process.(gdb) delete 17(gdb) delete 18(gdb) break *0x8049206Breakpoint 19 at 0x8049206(gdb) break *0x8049210Breakpoint 20 at 0x8049210(gdb) runThe program being debugged has been started already.Start it from the beginning? (y or n) y Starting program: /home/swpig/Documents/ICS/bomb1191please enter password for stage 1: 165124You successfully passed stage 1. please enter password for stage 2: 16383You successfully passed stage 2. please enter password for stage 3: 37647You successfully passed stage 3. please enter password for stage 4: 1984430 Breakpoint 8, 0x08049225 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 9, 0x08049232 in stage4 ()(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 10, 0x08049250 in stage4 ()(gdb)Single stepping until exit from function stage4,which has no line number information. Breakpoint 11, 0x08049269 in stage4 ()(gdb)Single stepping until exit from function stage4,which has no line number information. Breakpoint 12, 0x08049275 in stage4 ()(gdb) print /d $eax$49 = 4(gdb) print /d $ebx$50 = 18(gdb) print /d $ecx$51 = 393251(gdb) print /d $edx$52 = 7(gdb) print /d $edi$53 = 4(gdb) print /d $esi$54 = 1984430(gdb) sSingle stepping until exit from function stage4,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $esi$55 = 1984430(gdb) print /d $edi$56 = 4(gdb) print /d $eax$57 = 18(gdb) print /d $ebx$58 = 1984430(gdb) print /d $ecx$59 = 393251(gdb) print /d $edx$60 = 7(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $edx$61 = 7(gdb) print /d $ecx$62 = 393251(gdb) print /d $ebx$63 = 1984430(gdb) print /d $eax$64 = 3968860(gdb) print /d $esi$65 = 1984430(gdb) print /d $edi$66 = 4(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $edi$67 = 4(gdb) print /d $eax$68 = 17(gdb) print /d $edx$69 = 7(gdb) print /d $ebx$70 = 3968860(gdb) print /d $ecx$71 = 393251(gdb) print /d $esi$72 = 1984430(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$73 = 7937720(gdb) print /d $edx$74 = 7(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$75 = 16(gdb) print /d $edx$76 = 7(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$77 = 15875440(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$78 = 15(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$79 = 31750880(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$80 = 14(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$81 = 63501760(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$82 = 13(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$83 = 127003520(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$84 = 12(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$85 = 254007040(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$86 = 11(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$87 = 508014080(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$88 = 10(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$89 = 1016028160(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$90 = 9(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$91 = 2032056320(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$92 = 8(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$93 = -230854656(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$94 = 7(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$95 = -461709312(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$96 = 6(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$97 = -923418624(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$98 = 5(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$99 = -1846837248(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$100 = 4(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$101 = 601292800(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$102 = 3(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$103 = 1202585600(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$104 = 2(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$105 = -1889796096(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$106 = 1(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 19, 0x08049206 in calc_ ()(gdb) print /d $eax$107 = 515375104(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 16, 0x080491f9 in calc_ ()(gdb) print /d $eax$108 = 0(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 20, 0x08049210 in calc_ ()(gdb) print /d $eax$109 = 1(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 20, 0x08049210 in calc_ ()(gdb) print /d $eax$110 = 1(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 20, 0x08049210 in calc_ ()(gdb) print /d $eax$111 = 1(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 20, 0x08049210 in calc_ ()(gdb) print /d $eax$112 = 2(gdb) sSingle stepping until exit from function calc_,which has no line number information. Breakpoint 20, 0x08049210 in calc_ ()(gdb) print /d $eax$113 = 3(gdb) sSingle stepping until exit from function calc_,which has no line number information.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -