Skip to content

Python library for reading and parsing Portable Executables

License

Notifications You must be signed in to change notification settings

JingkaiTang/PEace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

 PEace
 =======

 A Python library for reading Portable Executable files.
 Simple to use, simple to read.
 PE = PEace('path_to_pe')

 PE.Sections contains an array of all the PE Sections with their fields and values
 PE.getSectionByName('.section') returns the section given by the name argument
 PE.ImportModules contains an array listing all the imported functions
 PE.ExportModules same as above, for exports

 Also includes a function to read Null Terminated Byte Strings from files (C style)
 string = self.readNTTS(file_offset)
 Reads bytes until null byte is encountered.

=======

PEace3
PEace for Python3 migrated by 2to3 tools, fix some str to bytes

About

Python library for reading and parsing Portable Executables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages