Skip to content

ClangBuiltLinux/pyelftools

This branch is 175 commits behind eliben/pyelftools:main.

Folders and files

NameName
Last commit message
Last commit date
Jun 1, 2020
Mar 28, 2020
Mar 28, 2020
Jun 1, 2020
Jun 8, 2013
Feb 4, 2020
Jan 5, 2018
Dec 5, 2019
Jun 5, 2015
Oct 21, 2019
Mar 7, 2020
Dec 9, 2019
Mar 30, 2013
Oct 4, 2017
Dec 5, 2019
Mar 11, 2019
Mar 23, 2013

Repository files navigation

pyelftools

https://travis-ci.org/eliben/pyelftools.png?branch=master

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 to run. It works with Python versions 2.7 and 3.x (x >= 5). For hacking on pyelftools the requirements are a bit more strict, please see the hacking guide.

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.

License

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

About

Parsing ELF and DWARF in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.1%
  • C 1.8%
  • Other 0.1%