Welcome to pylibelf. Pylibelf is a pythonic wrapper for the libelf [1] library, it allows you to read and write ELF files, and to read ar files. It also interprets certain section types, provides a segment to section mapping, and provides a working ldd implementation.
You can download the source here. See the Installation notes.
You can also check out the latest version using mercurial:
hg clone https://bitbucket.org/eggy/pylibelf
For an overview of ELF, see the wikipedia [2] article. It also contains links to the ELF specification.
References
[1] | You can download the newest version of libelf here: http://www.mr511.de/software/. Make sure you have at least version 0.8.13. |
[2] | http://cython.org/ |
[3] | For a quick overview of the ELF format see http://en.wikipedia.org/wiki/Executable_and_Linkable_Format. It also contains links to the various ELF specifications. |