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.
cargo run --release -- --out=/path/to/out/ --pdb=/path/to/file.pdb --base-address=0x180000000 > file.pdb.log
Short | Long | Description |
---|---|---|
-h |
--help |
Prints help information. |
-u |
--unroll-functions |
Whether to include scope information in decompiled function stubs. |
-V |
--version |
Prints version information. |
Short | Long | Description |
---|---|---|
-b |
--base-address <base-address> |
The base address to add when resolving an RVA (optional). |
-o |
--out <out> |
The output directory to dump all C++ code to. |
-p |
--pdb <pdb> |
The file path to the MSVC PDB file to decompile. |
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.