Skip to main content

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 run pip install binary-inspector and 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/

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.2.1.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.2.1-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for binary_inspector-0.2.1.tar.gz
Algorithm Hash digest
SHA256 87089b8a84e0e489899d3d537c207bab7c885fb540d31067315580488fa0d550
MD5 438f27858d29dcd2dab80212e167e11c
BLAKE2b-256 5ba82a58a2531229b506e41a710f64f5c54694cb5d2e740cd2261fe99de103aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for binary_inspector-0.2.1.tar.gz:

Publisher: pypi-release.yml on aboutcode-org/binary-inspector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for binary_inspector-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2f59e3cd5811c98a24535433c2d6dd5e95d6a64ae9077120d0b46579ac69582
MD5 a72b49004bfe199c4480bd82c138c389
BLAKE2b-256 4a456e9b018990dba929ebbda4c0409b3116f926bbc7c79409123d067cb0fc81

See more details on using hashes here.

Provenance

The following attestation bundles were made for binary_inspector-0.2.1-py3-none-any.whl:

Publisher: pypi-release.yml on aboutcode-org/binary-inspector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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