Skip to main content

A Python script to download PDB files associated with a Portable Executable (PE).
GitHub release (latest by date) YouTube Channel Subscribers

Features

  • Download PDB symbols from msdl.microsoft.com.
  • Process a single or a batch of PortableExecutable (PE) files.

Installation

pdbdownload is available on PyPi:

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.

Metadata

Release files for pdbdownload 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdbdownload 1.3
File Size Uploaded
pdbdownload-1.3.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdbdownload 1.3
File Interpreter ABI Platform
pdbdownload-1.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / pdbdownload-1.3.tar.gz

Download URL pdbdownload-1.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f029a70083a1ddde3a6204ab74f3ee6557ca399dba0434187c41af762108af3a
BLAKE2b-256 checksum
How to use checksums
606d5a7b811115b720c04d626a5a4e4903bbe62d41de96d4ab7cecd32427d9ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / pdbdownload-1.3-py3-none-any.whl

Download URL pdbdownload-1.3-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6217934fe12cebefe1ce4b7f454f9c1beeb0ebfac0bd51329f242f5913e64913
BLAKE2b-256 checksum
How to use checksums
b7d964a959622297c2f39f8e8879286c8518ba5ac7edecf0cdac26aad8e5f53b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page