24 lines
623 B
Plaintext
24 lines
623 B
Plaintext
set disassembly-flavor intel
|
|
#set follow-fork-mode child
|
|
#set detatch-on-fork off
|
|
set auto-load safe-path /
|
|
set history save on
|
|
set history filename ~/.gdb_history
|
|
#source ~/code/peda/peda.py
|
|
#source ~/code/gef/gef.py
|
|
|
|
set $base64 = 0x0000555555554000
|
|
|
|
define hd
|
|
dump binary memory /tmp/gdb-xxd $arg0 $arg0+$arg1
|
|
shell hexdump -C /tmp/gdb-xxd
|
|
end
|
|
|
|
#add-auto-load-safe-path /home/audrey/.rustup/toolchains
|
|
#dir /home/audrey/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/etc
|
|
#source ~/.decomp2dbg.py
|
|
|
|
# apt install python3-dbg
|
|
#source /usr/share/doc/python3.10/gdbinit
|
|
#source /home/audrey/.gdbinit-gef.py
|