prebuilts_tools/python/dist-packages/pyelftools
zhaoxingyu1 51d013b8db prebuilt/tools: fix invalid operation on null value last_deline_in_CIE
when len (cie_decoded_table. table)=0, last_stine_in_CIE is undefined,
resulting in invalid operations on null value last_stine_in_CIE

Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
2026-04-20 14:53:54 +08:00
..
.github/workflows feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
elftools prebuilt/tools: fix invalid operation on null value last_deline_in_CIE 2026-04-20 14:53:54 +08:00
examples feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
scripts feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
test feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
.gitignore feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
.vimrc feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
CHANGES feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
LICENSE feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
MANIFEST.in feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
README.rst feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
TODO feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
pyelftools.sublime-project feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
setup.cfg feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
setup.py feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
tox.ini feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00
z.py feat: add python packages pyelftool cxxfilt 2026-04-20 14:53:25 +08:00

README.rst

==========
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 <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 >= 5). 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.