29 lines
473 B
Text
29 lines
473 B
Text
|
# Lines starting with a '#' symbol are comments
|
||
|
# Do not remove this intial line; it will disable pagination
|
||
|
set pagination off
|
||
|
|
||
|
file intro
|
||
|
break secret
|
||
|
# TODO: your commands go here
|
||
|
r 5
|
||
|
i r eax
|
||
|
stepi 6
|
||
|
# after 5. instruction
|
||
|
i r eax
|
||
|
stepi
|
||
|
# after 6. instruction
|
||
|
i r eax
|
||
|
stepi
|
||
|
# after 7. instruction
|
||
|
i r eax
|
||
|
stepi
|
||
|
# after 8. instruction
|
||
|
i r eax
|
||
|
|
||
|
# continue program to end
|
||
|
continue
|
||
|
# END of your commands
|
||
|
|
||
|
# Do not remove the final quit; it will exit GDB automatically
|
||
|
quit
|