config/.gdbinit

32 lines
672 B
Plaintext
Raw Normal View History

2020-04-15 22:47:43 +02:00
#source ~/config/gdb/peda/peda.py
#source ~/config/gdb/gdb-dashboard/.gdbinit
2020-08-20 22:58:43 +02:00
#source ~/config/gdb/gdb_gef/gef.py
source ~/config/gdb/commands.py
source ~/config/gdb/commands2.py
2021-05-30 22:29:47 +02:00
source ~/config/gdb/gdb-dashboard/.gdbinit
#source ~/config/gdb/gdbinit/gdbinit
2022-09-22 15:49:14 +02:00
#Show OpenCV Mat with "cv_imshow imageMat"
source ~/config/gdb/imshow/cv_imshow.py
2020-09-21 23:26:27 +02:00
define exit
kill
quit
end
2020-10-28 00:08:33 +01:00
define xxd
dump binary memory /tmp/dump.bin $arg0 ((char *)$arg0)+$arg1
shell xxd /tmp/dump.bin
end
document xxd
Runs xxd on a memory ADDR and LENGTH
xxd ADDR LENTH
end
macro define offsetof(t, f) &((t *) 0)->f
set history save on
set history size 10000
set history filename ~/.gdb_history