Skip to main content

Python PE parsing module

Project description

pefile, Portable Executable reader module

All the PE file basic structures are available with their default names as attributes of the instance returned.

Processed elements such as the import table are made available with lowercase names, to differentiate them from the upper case basic structure names.

pefile has been tested against many edge cases such as corrupted and malformed PEs as well as malware, which often attempts to abuse the format way beyond its standard use. To the best of my knowledge most of the abuse is handled gracefully.

Copyright (c) 2005-2017 Ero Carrera <ero.carrera@gmail.com>

All rights reserved.

For detailed copyright information see the file COPYING in the root of the distribution archive.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pefile-2017.9.3.tar.gz (61.7 kB view details)

Uploaded Source

File details

Details for the file pefile-2017.9.3.tar.gz.

File metadata

  • Download URL: pefile-2017.9.3.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pefile-2017.9.3.tar.gz
Algorithm Hash digest
SHA256 50faee3259cbfc78e72474ee851ed699695cb6cc5abf3fc7f155e0c1ac74c8c9
MD5 5a80958007a858e41599b900a26af87a
BLAKE2b-256 c6e2d868d2d36d8b5ae410beff93b9f84484ff7e98cfa54b464bda78074f6307

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page