跳转到主要内容

列出PE文件依赖项。

项目描述

pedep

image image image

列出PE文件依赖项。

安装

您可以使用pip简单地安装pedep

$ pip install pedep

用法

列出PE文件依赖项

$ 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

以JSON格式列出PE文件依赖项

$ 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"
    ]
}

通过提供DLL目录作为依赖项查找来递归地列出PE文件依赖项

$ 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

版本管理

pedep使用Calendar Versioning。有关可用版本,请参阅GitHub存储库上的标签。

许可证

本项目采用Apache许可证,有关详细信息,请参阅LICENSE文件。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分发

pedep-0.1.0.tar.gz (3.0 kB 查看哈希值)

上传时间:

构建分发

pedep-0.1.0-py3-none-any.whl (6.5 kB 查看哈希值)

上传时间: Python 3

由以下机构支持