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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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