https://github.com/p0dalirius/pypdbdownload
A Python script to download PDB files associated with a Portable Executable (PE)
https://github.com/p0dalirius/pypdbdownload
debug download microsoft pdb pe portable-executable tool
Last synced: 6 months ago
JSON representation
A Python script to download PDB files associated with a Portable Executable (PE)
- Host: GitHub
- URL: https://github.com/p0dalirius/pypdbdownload
- Owner: p0dalirius
- Created: 2022-02-08T08:19:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-11T07:43:13.000Z (8 months ago)
- Last Synced: 2025-04-23T23:56:04.837Z (6 months ago)
- Topics: debug, download, microsoft, pdb, pe, portable-executable, tool
- Language: Python
- Homepage: https://podalirius.net/
- Size: 115 KB
- Stars: 121
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README

A Python script to download PDB files associated with a Portable Executable (PE).
![]()
![]()
![]()
## Features
- [x] Download PDB symbols from `msdl.microsoft.com`.
- [x] Process a single or a batch of PortableExecutable (PE) files.## Installation
pdbdownload is available on [PyPi](https://pypi.org/project/pdbdownload/):
```
python3 -m pip install pdbdownload
```## Usage
```
$ ./pdbdownload.py -h
usage: pdbdownload.py [-h] (-f PE_FILE | -d PE_DIR) [-S SYMBOLS_DIR] [-v]Description message
optional arguments:
-h, --help show this help message and exit
-f PE_FILE, --pe-file PE_FILE
-d PE_DIR, --pe-dir PE_DIR
-S SYMBOLS_DIR, --symbols-dir SYMBOLS_DIR
Output dir where symbols will be downloaded.
-v, --verbose Verbose mode. (default: False)
```## Example

To recursively download the PDBs of all executables in a folder, use:
```
pdbdownload -d . -S .
```## Contributing
Pull requests are welcome. Feel free to open an issue if you want to add other features.