Skip to main content

binary-inspector is a library and tools to inspect binaries (elf, winpe, mach0) for symbols and other information, and models to store this.

Project description

binary-inspector is a utility to extract symbols from various kinds of binaries, i.e. ELF, Mach-O, WinPE and other binary formats. It is designed to work as a ScanCode Toolkit plugin and integrated in ScanCode.io pipelines.

To install and use:

  • Run pip install binary-inspector

  • Use with scancode --json-pp - --macho-symbol --winpe-symbol --verbose <PATH to a tree or file with binaries>

The JSON output will contain binary symbols found in binaries if any.

Development

  • Install requirements and dependencies using ./configure --clean && ./configure --dev

  • Then source venv/bin/activate

Testing:

  • To run tests: pytest -vvs

  • To regen test fixtures: SCANCODE_REGEN_TEST_FIXTURES=yes pytest -vvs

Acknowledgements, Funding, Support and Sponsoring

This project is funded, supported and sponsored by:

  • Generous support and contributions from users like you!

  • the European Commission NGI programme

  • the NLnet Foundation

  • the Swiss State Secretariat for Education, Research and Innovation (SERI)

  • Google, including the Google Summer of Code and the Google Seasons of Doc programmes

  • Mercedes-Benz Group

  • Microsoft and Microsoft Azure

  • AboutCode ASBL

  • nexB Inc.

This project also uses some functions from other packages:

Europa logo EC DG Connect logo

NGI logo NLnet foundation logo

AboutCode logo nexB logo

This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

NGI Zero Entrust logo https://nlnet.nl/project/Back2source/

This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.

NGI Zero Core Logo https://nlnet.nl/project/Back2source-next/

This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

NGI Zero Entrust logo https://nlnet.nl/project/purl2all/

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

binary_inspector-0.1.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

binary_inspector-0.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: binary_inspector-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for binary_inspector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0bd7af94cae15101d427284a5be52a80c6f848393c826db5a4eaef6678527654
MD5 4fda7b3c30527924afe5cacc497e4f26
BLAKE2b-256 b09672dc474b03218ff59285ec24ead7757fc765e730361c646c739fc97bdc7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for binary_inspector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d13e9fa280eeedc46418635e088583aaa8a70d6b41a28b031677a23cb8864823
MD5 4d7526f76f1b28274d91cf547f79df52
BLAKE2b-256 c2d891f3572094506756664a0969950dd016b2d9bcafcfd1ca58a685afd7f9b9

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