Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 7 days ago
JSON representation

A Python script to download PDB files associated with a Portable Executable (PE)

Awesome Lists containing this project

README

        

![](./.github/banner.png)


A Python script to download PDB files associated with a Portable Executable (PE).


GitHub release (latest by date)

YouTube Channel Subscribers


## 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

![](./.github/example.png)

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.