https://github.com/p0dalirius/pdbdownload
A Python script to download PDB files associated with a Portable Executable (PE)
https://github.com/p0dalirius/pdbdownload
debug download microsoft pdb pe portable-executable tool
Last synced: 8 months ago
JSON representation
A Python script to download PDB files associated with a Portable Executable (PE)
- Host: GitHub
- URL: https://github.com/p0dalirius/pdbdownload
- Owner: p0dalirius
- Created: 2022-02-08T08:19:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T16:19:58.000Z (over 1 year ago)
- Last Synced: 2024-12-14T01:08:18.341Z (11 months ago)
- Topics: debug, download, microsoft, pdb, pe, portable-executable, tool
- Language: Python
- Homepage: https://podalirius.net/
- Size: 113 KB
- Stars: 117
- Watchers: 5
- Forks: 11
- 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.