Skip to main content

List PE file dependencies.

Project description

pedep

image image image

List PE file dependencies.

Installation

You can simply use pip to install pedep:

$ pip install pedep

Usage

List PE file dependencies:

$ pedep pdftopng.cp38-win_amd64.pyd
Imports for pdftopng.cp38-win_amd64.pyd:
  - MSVCP140.dll
  - python38.dll
  - KERNEL32.dll
  - VCRUNTIME140_1.dll
  - VCRUNTIME140.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-string-l1-1-0.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-convert-l1-1-0.dll
  - api-ms-win-crt-time-l1-1-0.dll
  - api-ms-win-crt-math-l1-1-0.dll
  - api-ms-win-crt-multibyte-l1-1-0.dll
  - api-ms-win-crt-locale-l1-1-0.dll
  - api-ms-win-crt-filesystem-l1-1-0.dll
  - freetype.dll
  - libpng16.dll
  - jpeg62.dll
  - ADVAPI32.dll

List PE file dependencies in JSON format:

$ pedep --json file.dll
{
    "pdftopng.cp38-win_amd64.pyd": [
        "MSVCP140.dll",
        "python38.dll",
        "KERNEL32.dll",
        "VCRUNTIME140_1.dll",
        "VCRUNTIME140.dll",
        "api-ms-win-crt-runtime-l1-1-0.dll",
        "api-ms-win-crt-stdio-l1-1-0.dll",
        "api-ms-win-crt-string-l1-1-0.dll",
        "api-ms-win-crt-heap-l1-1-0.dll",
        "api-ms-win-crt-convert-l1-1-0.dll",
        "api-ms-win-crt-time-l1-1-0.dll",
        "api-ms-win-crt-math-l1-1-0.dll",
        "api-ms-win-crt-multibyte-l1-1-0.dll",
        "api-ms-win-crt-locale-l1-1-0.dll",
        "api-ms-win-crt-filesystem-l1-1-0.dll",
        "freetype.dll",
        "libpng16.dll",
        "jpeg62.dll",
        "ADVAPI32.dll"
    ]
}

List PE file dependencies recursively by providing a DLL directory for dependency lookups:

$ pedep --dll-dir C:\path\to\dll\directory file.dll
Imports for pdftopng.cp38-win_amd64.pyd:
  - MSVCP140.dll
  - python38.dll
  - KERNEL32.dll
  - VCRUNTIME140_1.dll
  - VCRUNTIME140.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-string-l1-1-0.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-convert-l1-1-0.dll
  - api-ms-win-crt-time-l1-1-0.dll
  - api-ms-win-crt-math-l1-1-0.dll
  - api-ms-win-crt-multibyte-l1-1-0.dll
  - api-ms-win-crt-locale-l1-1-0.dll
  - api-ms-win-crt-filesystem-l1-1-0.dll
  - freetype.dll
  - libpng16.dll
  - jpeg62.dll
  - ADVAPI32.dll

Imports for freetype.dll:
  - zlib1.dll
  - bz2.dll
  - libpng16.dll
  - brotlidec.dll
  - VCRUNTIME140.dll
  - api-ms-win-crt-convert-l1-1-0.dll
  - api-ms-win-crt-string-l1-1-0.dll
  - api-ms-win-crt-utility-l1-1-0.dll
  - api-ms-win-crt-environment-l1-1-0.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - KERNEL32.dll

Imports for zlib1.dll:
  - VCRUNTIME140.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-convert-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - KERNEL32.dll

Imports for bz2.dll:
  - VCRUNTIME140.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - api-ms-win-crt-string-l1-1-0.dll
  - api-ms-win-crt-math-l1-1-0.dll
  - KERNEL32.dll

Imports for libpng16.dll:
  - zlib1.dll
  - VCRUNTIME140.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-math-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - api-ms-win-crt-convert-l1-1-0.dll
  - api-ms-win-crt-filesystem-l1-1-0.dll
  - api-ms-win-crt-time-l1-1-0.dll
  - KERNEL32.dll

Imports for brotlidec.dll:
  - brotlicommon.dll
  - VCRUNTIME140.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - KERNEL32.dll

Imports for brotlicommon.dll:
  - VCRUNTIME140.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - KERNEL32.dll

Imports for jpeg62.dll:
  - VCRUNTIME140.dll
  - api-ms-win-crt-environment-l1-1-0.dll
  - api-ms-win-crt-heap-l1-1-0.dll
  - api-ms-win-crt-stdio-l1-1-0.dll
  - api-ms-win-crt-runtime-l1-1-0.dll
  - KERNEL32.dll

Versioning

pedep uses Calendar Versioning. For the available versions, see the tags on the GitHub repository.

License

This project is licensed under the Apache License, see the LICENSE file for details.

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

pedep-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

pedep-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file pedep-0.1.0.tar.gz.

File metadata

  • Download URL: pedep-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for pedep-0.1.0.tar.gz
Algorithm Hash digest
SHA256 894e15dfe02924aaa6852a8cd06179e719b415355f179c7541db27f9aa1be31e
MD5 7d92499d28e2e8e3243b994d586a45c9
BLAKE2b-256 ba8481f57b5d2ee655040cbdcf82f0297638ebdf46648598e56ee524e1330130

See more details on using hashes here.

File details

Details for the file pedep-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pedep-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for pedep-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b9dc25186bf1b117e872acee4cb9ab052a8793191485cd6060fbc345527e6c9
MD5 ebb04a9023e19291afc01ad9a7d92e5d
BLAKE2b-256 1e80992e58753a92e9af10da1bce5c94a25a8277d858348f23de3d414a874d58

See more details on using hashes here.

Supported by

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