{"id":51513977,"url":"https://github.com/camden-smallwood/pdb-decompiler","last_synced_at":"2026-07-08T09:30:51.649Z","repository":{"id":44725009,"uuid":"444523266","full_name":"camden-smallwood/pdb-decompiler","owner":"camden-smallwood","description":"A tool to decompile MSVC PDB files to C++ source code.","archived":false,"fork":false,"pushed_at":"2026-06-25T13:11:30.000Z","size":347,"stargazers_count":119,"open_issues_count":7,"forks_count":9,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-06-25T15:22:09.487Z","etag":null,"topics":["cpp","decompile","decompiler","msvc","pdb","rust","windows","xbox","xbox-one","xbox360"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/camden-smallwood.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-04T18:25:44.000Z","updated_at":"2026-06-25T13:12:29.000Z","dependencies_parsed_at":"2023-12-16T20:25:01.633Z","dependency_job_id":"52f812b6-ec58-4bae-b8e7-e3114926eccf","html_url":"https://github.com/camden-smallwood/pdb-decompiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/camden-smallwood/pdb-decompiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camden-smallwood%2Fpdb-decompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camden-smallwood%2Fpdb-decompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camden-smallwood%2Fpdb-decompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camden-smallwood%2Fpdb-decompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camden-smallwood","download_url":"https://codeload.github.com/camden-smallwood/pdb-decompiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camden-smallwood%2Fpdb-decompiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35260671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","decompile","decompiler","msvc","pdb","rust","windows","xbox","xbox-one","xbox360"],"created_at":"2026-07-08T09:30:51.085Z","updated_at":"2026-07-08T09:30:51.641Z","avatar_url":"https://github.com/camden-smallwood.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDB Decompiler\n\n* [About](#about)\n* [Usage](#usage)\n* [Contributing](#contributing)\n\n## About\n\nA tool to decompile MSVC PDB files to C++ source code.\n\nThis 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.\n\n## Usage\n\n```\ncargo run --release -- --out=/path/to/out/ --pdb=/path/to/file.pdb --base-address=0x180000000 \u003e file.pdb.log\n```\n\n### Flags\n\n| Short | Long | Description |\n|-|-|-|\n| `-c` | `--export-cpp` | Whether to export C++ code. |\n| | `--export-pseudocode-to-files` | Whether to generate IDA script statements that export pseudocode to their appropriate source files. |\n| | `--export-pseudocode-to-json` | Whether to generate IDA script statements that export pseudocode to a JSON mapping file. |\n| | `--force-no-inlines` | Forces a `__declspec(noinline)` attribute for functions that were never inlined but did not have the attribute. |\n| `-h` | `--help` | Prints help information. |\n| `-r` | `--reorganize` | Whether to reorganize generated C++ code to Bungie's coding standards. (Experimental) |\n| `-u` | `--unroll-functions` | Whether to include scope information in decompiled function stubs. (Experimental) |\n| `-V` | `--version` | Prints version information. |\n\n### Options\n\n| Short | Long | Description |\n|-|-|-|\n| `-b` | `--base-address \u003cbase-address\u003e` | The base address to add when resolving an RVA. (Optional) |\n| | `--function-scopes-out \u003cfunction-scopes-out\u003e` | The output directory to dump all function scopes C++ code to. |\n| | `--function-scopes-pdb \u003cfunction-scopes-pdb\u003e` | The file path to the MSVC PDB file to decompile for extra function scope information. |\n| `-o` | `--out \u003cout\u003e` | The output directory to dump all C++ code to. |\n| `-p` | `--pdb \u003cpdb\u003e` | The file path to the MSVC PDB file to decompile. |\n| | `--pseudocode-json-path \u003cpseudocode-json-path\u003e` | The file containing all function pseudocode in a JSON mapping. (Optional) |\n\n## Contributing\n\nAny assistance or valid criticism would be appreciated. Please feel free to have a look at some of the open [issues](https://github.com/camden-smallwood/pdb-decompiler/issues), especially those tagged with [help wanted](https://github.com/camden-smallwood/pdb-decompiler/issues?q=is%3Aissue+is%3Aopen+label%3A\"help+wanted\").\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamden-smallwood%2Fpdb-decompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamden-smallwood%2Fpdb-decompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamden-smallwood%2Fpdb-decompiler/lists"}