https://github.com/eliben/pyelftools
Parsing ELF and DWARF in Python
https://github.com/eliben/pyelftools
debugging dwarf elf elf-binaries elf-parser python
Last synced: 7 months ago
JSON representation
Parsing ELF and DWARF in Python
- Host: GitHub
- URL: https://github.com/eliben/pyelftools
- Owner: eliben
- License: other
- Created: 2013-06-08T22:55:54.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T15:21:07.000Z (7 months ago)
- Last Synced: 2025-05-07T10:52:33.995Z (7 months ago)
- Topics: debugging, dwarf, elf, elf-binaries, elf-parser, python
- Language: Python
- Homepage:
- Size: 24.1 MB
- Stars: 2,106
- Watchers: 69
- Forks: 521
- Open Issues: 76
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- stars - eliben/pyelftools
- fucking-awesome-python-cn - pyelftools
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-python-zh - pyelftools - 解析和分析ELF文件和矮人调试信息。 (调试工具)
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- fucking_awesome_python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-compilers - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Python / Other dialects and variants)
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- python-awesome - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- best-of-python-dev - GitHub - 26% open · ⏱️ 15.11.2025): (Debugging Tools)
- awesome-python-resources - GitHub - 30% open · ⏱️ 22.08.2022): (调试工具)
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-python - pyelftools - Parsing ELF and DWARF in Python ` 📝 a month ago` (Debugging Tools [🔝](#readme))
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- fucking-awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- fucking-awesome-python - :octocat: pyelftools - :star: 1701 :fork_and_knife: 486 - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-reverse-engineering - **930**星
- awesome-python-cn - pyelftools
- Awesome-Python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- Python-Awesome - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- awesome-python - pyelftools - Parsing ELF and DWARF in Python (Awesome Python / Debugging Tools)
- awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
- git-github.com-vinta-awesome-python - pyelftools - Parsing and analyzing ELF files and DWARF debugging information. (Debugging Tools)
README
==========
pyelftools
==========
.. image:: https://github.com/eliben/pyelftools/workflows/pyelftools-tests/badge.svg
:align: center
:target: https://github.com/eliben/pyelftools/actions
**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.