resym
is a utility that allows browsing and extracting types from PDB files.
Inspired by PDBRipper and pdbex.
- Cross-platform
- GUI and CLI versions available
- C and C++ types reconstruction
- C and C++ types diff generation (between two PDBs)
- Decent performance, even on huge PDB files
The GUI version might struggle to display huge outputs (>20 MB). Disabling syntax highlighting (or dependency reconstruction altogether) will help, but generally the CLI version is more suited when dumping types with a huge amount of dependencies.
I often need to extract and analyze C++ types from 1GB+ PDB files comfortably,
in an interactive manner, but I haven't been able to find a tool that ticks all
the boxes for me so far, so this my shot at making that tool.
So if you're in the same boat, this some tool might be of some use to you.
On Ubuntu, you might need to install: libxcb-shape0-dev
and libxcb-xfixes0-dev
.
# Optional: install rust
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ git clone https://github.com/ergrelet/resym.git
$ cd resym; cargo build --release
$ ./target/release/resym
If you want to use the GUI version, simply run the resym
executable.
A CLI version (named resymc
) is also available:
resymc 0.2.0
resymc is a utility that allows browsing and extracting types from PDB files.
USAGE:
resymc.exe <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
diff Compute diff for a type between two given PDB files
dump Dump type from a given PDB file
help Prints this message or the help of the given subcommand(s)
list List types from a given PDB file