pyelftools

Parsing ELF and DWARF in Python

Github星跟蹤圖

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 <https://github.com/eliben/pyelftools/wiki/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 >= 4). For hacking on pyelftools the
requirements are a bit more strict, please see the
hacking guide <https://github.com/eliben/pyelftools/wiki/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 <https://github.com/eliben/pyelftools>_ (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 <https://github.com/eliben/pyelftools/archive/master.zip>_ 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 <https://github.com/eliben/pyelftools/wiki/User's-guide>_.

License

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

CI Status

pyelftools has automatic testing enabled through the convenient
Travis CI project <https://travis-ci.org>_. Here is the latest build status:

.. image:: https://travis-ci.org/eliben/pyelftools.png?branch=master
:align: center
:target: https://travis-ci.org/eliben/pyelftools

主要指標

概覽
名稱與所有者eliben/pyelftools
主編程語言Python
編程語言Python (語言數: 9)
平台
許可證Other
所有者活动
創建於2013-06-08 22:55:54
推送於2025-05-22 12:18:37
最后一次提交
發布數14
最新版本名稱v0.32 (發布於 )
第一版名稱v0.10 (發布於 )
用户参与
星數2.1k
關注者數69
派生數523
提交數726
已啟用問題?
問題數268
打開的問題數70
拉請求數256
打開的拉請求數6
關閉的拉請求數82
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?