CSAPP-labs/LAB4-buflab/.gdb_history

148 lines
1.6 KiB
Plaintext

set args -u cyp0633 < candle-raw.txt
r
q
set args -u cyp0633 < sparkler-raw.txt
r
q
set args -u cyp0633 < sparkler-raw.txt
q
set args -u cyp0633 < sparkler-raw.txt
r
set args -u cyp0633 < sparkler-raw.txt
b fizz
r
x/s 0x804d104
x/s 0x804d10c
q
set args -u cyp0633 < sparkler-raw.txt
b *0x804926e
r
q
q
set args -u cyp0633 < firecracker-raw.txt
r
set args -u cyp0633 < firecracker-raw.txt
r
q
set args -u cyp0633 < firecracker-raw.txt
b *0x8048e3f
r
stepi
stepi
stepi
stepi
stepi
stepi
stepi
nexti
x/w 0x8048e3f
x/w 0x55683d1c
nexti
stepi
nexti
q
set args -u cyp0633 < dynamite-raw.txt
r
b *0x8048e50
r
b getbuf
r
x/w $ebp
x/wx $ebp
q
set args -u cyp0633 < dynamite-raw.txt
r
r
q
set args -u cyp0633 -n < dynamite-raw.txt
b getbufn
delete breakpoints 1
b *8049253
r
stepi
stepi
nexti
q
set args -u cyp0633 -n < nitroglycerin-raw.txt
r
set args -u cyp0633 -n < nitroglycerin-raw.txt
b *0x804925b
r
nexti
x/100i $pc
x/300i $pc
x/200i $pc
b *0x55683ce3
c
nexti
stepi
nexti
x/i 0x55683ced
q
set args -u cyp0633 -n < nitroglycerin-raw.txt
b *0x804925b
r
nexti
nexti
nexti
p $pc
r
nexti
r
x/w $ebp+4
nexti
x/w $ebp+8
x/w $ebp+4
nexti
q
q
set args -n < nitroglycerin-raw.txt
b *0x804925b
r
set args -u cyp0633 -n < nitroglycerin-raw.txt
r
x/200i $pc
nexti
x/200i $pc
x/250i $pc
x/300i $pc
x/400i $pc
b *0x55683ce1
r
delete breakpoints 2
nexti
nexti
x/200i $pc
x/300i $pc
x/400i $pc
b *0x55683ce0
c
nexti
set disassembly-flavor att
x/i $pc
x/w $pc
x/b $pc
nexti
q
set disassembly-flavor att
set args -u cyp0633 -n < nitroglycerin-raw.txt
b *0x804925b
r
stepi
x/200i $pc
x/300i $pc
x/350i $pc
x/400i $pc
b *0x55683ce3
c
nexti
c
c
c
c
c
c
c
cavif /home/cyp0633/图片/截图/nitroglycerin.png
q