Skip to content

A lightweight plugin for GDB to iterative loading debug symbols from a directory.

License

Notifications You must be signed in to change notification settings

CuB3y0nd/load-symbols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ•ธ๏ธ load-symbols

A tiny GDB plugin that bravely ventures into the filesystem to bring you debug symbols from the depths of your .debug directories.

Shot-2025-07-14-214912

๐Ÿค” What is this?

load-symbols is a lightweight, no-nonsense GDB Python command that iterative loads symbol files from a directory and its subdirectories.

Got a pile of .debug, .so, or .sym files scattered like socks after laundry day? Let load-symbols pick them up and hand them to GDB like a loyal assistant with obsessive-compulsive tendencies.

๐Ÿ’ญ Inspired by

Your overflowing /glibc folder and the eternal struggle of:

"Why is GDB not showing any function names again?!"

Also, gdb can only load symbol file one by one through add-symbol-file, which is super low-efficiency.

๐ŸŽฏ Features

  • Loads .debug, .so, .sym etc. symbol files into GDB
  • Iterative walks directories like a bloodhound
  • Gives you colorful, pwndbg-style, comforting output (debugging is painful enough already)
  • Gracefully handles bad paths and unreadable files
  • Won't judge your folder structure

๐Ÿ”– Installation

git clone https://github.com/CuB3y0nd/load-symbols.git ~/load-symbols
echo "source ~/load-symbols/load-symbols.py" >> ~/.gdbinit

๐Ÿ’ฅ Disclaimer

Do whatever you want with it. Just don't blame me if it loads the wrong symbols and your debugger starts quoting Nietzsche.

Have phun!

Releases

No releases published

Packages

No packages published

Languages