Skip to content

camden-smallwood/pdb-decompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDB Decompiler

About

A tool to decompile MSVC PDB files to C++ source code.

This tool is a work in progress and will most likely crash, have duplicate output, have invalid output, or miss output entirely. Feel free to file an issue or submit a pull request.

Usage

cargo run --release -- --out=/path/to/out/ --pdb=/path/to/file.pdb --base-address=0x180000000 > file.pdb.log
Short Long Description
-o --out The output directory to dump all C++ code to.
-p --pdb The file path to the MSVC PDB file to decompile.
-b --base-address The base address to add when resolving an RVA (optional).

Contributing

Any assistance or valid criticism would be appreciated. Please feel free to have a look at some of the open issues, especially those tagged with help wanted.