Skip to main content

A tool to collect binary dependencies

Project description

collect-bin-deps.py

A tool to collect binary dependencies - typically shared libraries required by an executable.

Requirements

  • pefile, pyelftools package

Usage

Simplest case:

collect-bin-deps.py -t <my exe file> <directory with dependency>...

Notes

  • The "debug info" doesn't try to locate the debug info file using the information contained in the binaries or so, it just looks for files with the same basename as a dependency but with extensions used for debug info files.

Limitations

  • Currently supports Windows (PE) and Linux (ELF) binaries.

Inspiration

vcpkg can provide this functionality out of the box, realized with a PowerShell script. collect-bin-deps.py qs written from scratch to provide the same functionality.

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

collect-bin-deps-0.0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

collect_bin_deps-0.0.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file collect-bin-deps-0.0.2.tar.gz.

File metadata

  • Download URL: collect-bin-deps-0.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for collect-bin-deps-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0e263d5ee95ec77c6f1c20afd46f184edaa38f5df247046cc82cd9ed0e6a6be5
MD5 00792ab71ec36d31729bb34ec88b37a4
BLAKE2b-256 4dd339949f9ed80ee8399d4d84b8bb10b23ca9417fe807a7c1c6a892f5488e63

See more details on using hashes here.

File details

Details for the file collect_bin_deps-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: collect_bin_deps-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for collect_bin_deps-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa0ccb83a5be93dea1b5cffe081fc803d9c2e3d14698aacb1aff9f5292fcf8d7
MD5 ba5fe8cccebbfde05ee6f4a0bb45e6e8
BLAKE2b-256 efe8447f083a7870aa818e9d6d03f72483afbe188b4c3dc869a20e63f37ff1b0

See more details on using hashes here.

Supported by

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