Skip to main content

A utility to inspect ELF binary files. Designed as a ScanCode plugin.

Project description

elf-inspector is a set of utilities to inspect binary ELF files and collect interesting data from them. This is also a ScanCode-toolkit plugin and is also designed to work integrated in ScanCode.io for binary analysis.

This library uses: - [pyelftools](https://github.com/eliben/pyelftools) - [bids-analyser](https://github.com/APH10/BIDS)

To install and use:

  • Run pip install elf-inspector

  • Scancode now has two new options:

    --dwarf           Collect source code path from compilation units found in
                      ELF DWARFs.
    --elf             Collect symbols and required dependent library names from
                      an ELF binary file.
  • Use with scancode --json-pp - --dwarf --elf --verbose <PATH to a tree or file with ELF binaries>

The JSON output will contain various dependencies and symbols found in binaries if any.

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.

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/purl2sym/

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

elf_inspector-0.0.3.tar.gz (761.8 kB view details)

Uploaded Source

Built Distribution

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

elf_inspector-0.0.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file elf_inspector-0.0.3.tar.gz.

File metadata

  • Download URL: elf_inspector-0.0.3.tar.gz
  • Upload date:
  • Size: 761.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for elf_inspector-0.0.3.tar.gz
Algorithm Hash digest
SHA256 69de0bcf1864ea7786b15ddd0f769c781337f715e3e0efd7f0d7515a3cb258a1
MD5 9dc14a05d586566c0d935ea7c29fe52f
BLAKE2b-256 292e64907a7f2d0176860f43a8c5618c08720d14b159d5f86b50b0be85dc1ee6

See more details on using hashes here.

File details

Details for the file elf_inspector-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: elf_inspector-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for elf_inspector-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4bb7d3d7900b338b901316de9271db716191636c97c528f1c943bc3c58348a37
MD5 46325aa82a9f1f658b30dde751f600a6
BLAKE2b-256 9a815a3f12da8b013843d2218e02871a4ee58c209535441d15d6773fc947a718

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