Skip to main content

Library for analyzing ELF files and DWARF debugging information

Project description

https://github.com/eliben/pyelftools/workflows/pyelftools-tests/badge.svg

pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information. See the User’s guide for more details.

Pre-requisites

As a user of pyelftools, one only needs Python 3 to run. While there is no reason for the library to not work on earlier versions of Python, our CI tests are based on the official Status of Python versions.

Installing

pyelftools can be installed from PyPI (Python package index):

> pip install pyelftools

Alternatively, you can download the source distribution for the most recent and historic versions from the Downloads tab on the pyelftools project page (by going to Tags). Then, you can install from source, as usual:

> python setup.py install

Since pyelftools is a work in progress, it’s recommended to have the most recent version of the code. This can be done by downloading the master zip file or just cloning the Git repository.

Since pyelftools has no external dependencies, it’s also easy to use it without installing, by locally adjusting PYTHONPATH.

How to use it?

pyelftools is a regular Python library: you import and invoke it from your own code. For a detailed usage guide and links to examples, please consult the user’s guide.

Contributing

See the Hacking Guide.

License

pyelftools is open source software. Its code is in the public domain. See the LICENSE file for more details.

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

tt_pyelftools-0.32.tar.gz (15.0 MB view details)

Uploaded Source

Built Distribution

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

tt_pyelftools-0.32-py3-none-any.whl (188.4 kB view details)

Uploaded Python 3

File details

Details for the file tt_pyelftools-0.32.tar.gz.

File metadata

  • Download URL: tt_pyelftools-0.32.tar.gz
  • Upload date:
  • Size: 15.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for tt_pyelftools-0.32.tar.gz
Algorithm Hash digest
SHA256 59945411d9207491a7d74ccbc18cf8690d8390dd4e71ccc44bf62a6bb5c90f65
MD5 9f3e9b40b099fd01e456f3af991e104b
BLAKE2b-256 b4b13dcfd8b9945d6884c20dd65248c6dd192c6b61810ead510576ef32bb7216

See more details on using hashes here.

File details

Details for the file tt_pyelftools-0.32-py3-none-any.whl.

File metadata

  • Download URL: tt_pyelftools-0.32-py3-none-any.whl
  • Upload date:
  • Size: 188.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for tt_pyelftools-0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 8857acfc319e9a9150a862c388fc47fb3ec5d8fdfd22197ccfe89d07f435b171
MD5 ef789e32e313ec7197a40f104d72aa01
BLAKE2b-256 ecc6bdbb0538b8a0ef6d4a8df0b1ee353f76d63668b6123345f110a61b577a41

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