From 58dea9bf03803099d9bbd5ab3875bbd0ad94158b Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Wed, 8 Sep 2021 11:35:30 +0200 Subject: [PATCH] Added GDB pwninit --- .config/gdb/pwninit | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .config/gdb/pwninit diff --git a/.config/gdb/pwninit b/.config/gdb/pwninit new file mode 100644 index 00000000..869ce8ef --- /dev/null +++ b/.config/gdb/pwninit @@ -0,0 +1,18 @@ +source /usr/share/pwndbg/gdbinit.py +source /home/yigit/.local/share/splitmind/gdbinit.py +python +import splitmind +(splitmind.Mind() + .tell_splitter(show_titles=True) + .tell_splitter(set_title="Main") + .right(display="backtrace", size="25%") + .above(of="main", display="disasm", size="80%", banner="top") + .show("code", on="disasm", banner="none") + .right(cmd='tty; tail -f /dev/null', size="65%", clearing=False) + .tell_splitter(set_title='Input / Output') + .above(display="stack", size="75%") + .above(display="legend", size="25") + .show("regs", on="legend") + .below(of="backtrace", cmd="ipython", size="30%") +).build(nobanner=True) +end