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.2.tar.gz (5.3 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.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: win_depends-0.1.2.tar.gz
  • Upload date:
  • Size: 5.3 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.2.tar.gz
Algorithm Hash digest
SHA256 449842157080a9aa33b4feb59f5911725cde2921c3871ec8c1ab5618149c7b9b
MD5 9acf8c3def912e9d0bb6e64c74d5ae31
BLAKE2b-256 f4ddd6f9229f83c4c8d3cd981beb90512f121be0e92ffb535e0dbddf972c54c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: win_depends-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25de0e9241423c2debc007b749304e9d5a2e3531f025c4b9585e4e64626429f3
MD5 068d4c1b26e08ca4d809ca45edabd136
BLAKE2b-256 0370ba79fc4599771749b89566bf2ad0cc224c918bb3f4bab9943b83dc98c2bd

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