Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!


Introduction: what is pyelftools?

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


As a user of pyelftools, one only needs Python to run. It works with Python versions 2.6, 2.7 and 3.2. For hacking on pyelftools the requirements are a bit more strict, please see the hacking guide.


When you unzip the source distribution, run:

> python install

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

> pip install pyelftools

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.


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

Recent activity

Nathan Crosty

Commits by Nathan Crosty were pushed to ncrosty/pyelfscripts

49c6944 - example_scripts : Added some new output for ATI Vision a2l compatibilty > Vision requires scaling info. Just added a compu method with no conversion factor ...
Nathan Crosty

Commits by Nathan Crosty were pushed to ncrosty/pyelfscripts

ca5db59 - pyelftools_mod : Modified pyelftools to run in IronPython > There is some discrepancy between Python and IPY with handling bytes and strings > Updated library ...
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.