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