Python module to read and work with PE (Portable Executable) files

pefile is a multi-platform Python module to read and work with Portable Executable (aka PE) files. Most of the information in the PE Header is accessible, as well as all the sections, section's information and data.

pefile requires some basic understanding of the layout of a PE file. Armed with it it's possible to explore nearly every single feature of the file.

Some of the tasks that pefile makes possible are:

Modifying and writing back to the PE image
Header Inspection
Sections analysis
Retrieving data
Warnings for suspicious and malformed values
Packer detection with PEiD's signatures
PEiD signature generation

Source Files
Filename Size Changed
pefile-2017.11.5.tar.gz 0000061774 60.3 KB about 3 years
python-pefile.changes 0000001620 1.58 KB about 3 years
python-pefile.spec 0000002359 2.3 KB about 3 years
Comments for python-pefile 0