A gdbinit
configuration that uses kitty tiling to take better advantage of the empty space present in the pwndbg output.
Inspired by pwnmux (blog post).
Requirements: pwndbg, gdb, kitty(v0.39.1+). Linux only.
git clone https://github.com/k4lizen/kittydbg.git
echo "source $PWD/kittydbg/gdbinit.py" >> ~/.gdbinit
Make sure that kittydbg is sourced after pwndbg is loaded.
In your kitty config you need:
allow_remote_control yes
enabled_layouts splits
you can have enabled layouts other than splits
, but you need to be using
splits
for kittydbg to spawn the windows correctly.
It also works if pwndbg is started from a pwntools script, I use this in my scripts:
context.terminal = "kitten @ launch --location=before --cwd=current --bias=65".split()
Tbh I'm not sure if this is the best layout, if you fork this / make some adjustments please do share!