gdb exefile
basic command
file exefile
run/r
continue/c
next/n
step/s
print/p
quit/q
break filename:linenumber
break file:func
info break
watch,
break: clear delete enable disable
info locals
info registers
info all_registers
show args
print *array@len
print format
o - octal
x - hexadecimal
u - unsigned decimal
t - binary
f - floating point
a - address
c - char
s - string
https://visualgdb.com/gdbreference/commands/print
examine/x
x/nfu <address>
https://henrybear327.gitbooks.io/gitbook_tutorial/content/Linux/GDB/index.html
https://welkinchen.pixnet.net/blog/post/60935296-%E9%99%A4%E9%8C%AF%E5%B7%A5%E5%85%B7-gdb-%28the-gnu-project-debugger%29
沒有留言:
張貼留言