Looking for ELF/PE library for Python

Miki Tebeka mikit at zoran.co.il
Thu Dec 11 11:34:48 EST 2003


Hello Bogdan,

>     Is there a Python library for working with ELF
> and/or PE(Portable Executable) formats? By "working" I
> mean handling file structure, dumping structure
> information, extracting specific parts of the file and
> even creating "by hand" new sections/relocations. I
> already searched some locations for such a library,
> but I couldn't find anything suitable.
For just viewing information you can use the "objdump" utility which comes
with GNU binutils (I think the MSVC has a "dumpbin" utility as well).

HTH.
Miki




More information about the Python-list mailing list