camden-smallwood / pdb-decompiler

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Flags

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.

Options

Short Long Description
-b `--base-address The base address to add when resolving an RVA (optional).
-o `--out The output directory to dump all C++ code to.
-p `--pdb The file path to the MSVC PDB file to decompile.

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.

About

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

License:MIT License


Languages

Language:Rust 99.7%Language:Python 0.3%