Skip to main content

A tool to analyze Windows DLL/EXE dependencies

Project description

win_depends

🧩 win_depends is a lightweight tool to analyze DLL and EXE dependencies on Windows. It supports recursive dependency resolution, detection of missing or unused files, and exports to DOT graph format.


📦 Installation

pip install win_depends

🚀 Usage Example

Run the tool in a directory containing .dll and .exe files:

win_depends

You can also specify a path to a file or directory:

win_depends ./path/to/myapp.exe
win_depends ./build/bin/

Optional flags can customize the output, such as displaying a dependency tree:

win_depends ./build/bin --tree
```bash
win_depends

Optional flags can customize the output, such as displaying a dependency tree:

win_depends --tree

🔍 Features

  • ✅ Analyze imports between .dll and .exe files, including delayed and bound imports
  • ✅ Parallel dependency analysis for faster performance
  • ✅ Optional detection of system DLLs via --detect-system
  • ✅ Detect missing dependent files
  • ✅ Detect unused files in directory
  • ✅ Tree-style output of dependencies
  • ✅ Export to DOT format for graph visualization

🧪 Sample Output

$ win_depends ./demo.exe --tree

└── demo.exe
    ├── user32.dll     ├── plugin.dll
       └── helper.dll
    └── kernel32.dll ❌

Missing dependencies:
  user32.dll
  kernel32.dll

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

win_depends-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

win_depends-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file win_depends-0.1.1.tar.gz.

File metadata

  • Download URL: win_depends-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for win_depends-0.1.1.tar.gz
Algorithm Hash digest
SHA256 69d0bd4904d4d9d0d044b6d717571ad5676caf33dc0682815ce39233b483e422
MD5 88953af98e877858948e33bed0f4d56b
BLAKE2b-256 fa1e7ef3c7f8e93c7db6747dbc31a3c761c712232721f5dc4619d3a93f6d8a00

See more details on using hashes here.

File details

Details for the file win_depends-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: win_depends-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for win_depends-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8244b39dba537ad826852d979d1d5f7df295e7439b95f2c16fea0daee57d3458
MD5 7d95d953b0602d062dfb0838d3b7f45a
BLAKE2b-256 d0cb0451311d7ce61f05a3ee19ec0c2bf28f11791cfb25fc1bed7b40b07dfd0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page