Linux

Where Does Pwndbg Store Configs?

Where Pwndbg keeps configs on Linux, as GDB plugin state and files. See the folder table below. More below.

Last updated

Pwndbg is GDB supercharger with file configs. Your context settings live in gdbinit and plugin files at home. The install directory holds the Python sources.

Same config files mean same exploit dev setup anywhere GDB runs. Exact option names shift with releases. Keep configs in dotfiles repos rather than cloning whole folders. For moves, copy the init plus config files. Partial copies miss theme choices that layouts depend on. Check the in app storage readout when sizes look wrong on different releases.

Where Pwndbg Debugger stores this, by platform

Linux
~/.gdbinit (pwndbg entries, configs beside it)

Configs live in gdbinit plus plugin files at home. Copy them for moves. Match GDB releases for Python APIs. Keep files in dotfiles repos.

Frequently asked questions

How do I move Pwndbg configs to a new machine?

Copy the gdbinit entries plus pwndbg config files to the new machine over USB. Context layouts live in those files. Match the GDB release first, since Python APIs shift between versions and break old plugin loads.

Does Pwndbg sync online?

No. Pwndbg extends GDB from its install directory without a central database. The home folder holds gdbinit plus plugin configs. Targets load per session only. Back up the config files themselves for moves.

Notice an outdated path? Let us know.