Tool
pefile
Inspect PE headers, sections, resources and malformed values through a Python API with limited in-place editing.
- Targets
- Binary
- Category
- Binary analysis libraries
- Relationship
- Foundation tool
- Sources reviewed
- Stars
- 2.1k
- Last commit
- 2026-11-08
- Language
- Python
- License (GitHub)
- MIT
GitHub data as of 2026-11-09
Requirements & limits
- Install pefile with Python 3; the module is self-contained and documents Windows, macOS and Linux operation. Understanding the PE layout is needed to interpret its structures.
- Its editing helpers do not rearrange PE structures to make room for new fields. Signature verification is referred to a separate project.
Cite
BibTeX
@misc{pefile,
title = {{pefile}},
howpublished = {\url{https://github.com/erocarrera/pefile}},
url = {https://github.com/erocarrera/pefile},
urldate = {2026-10-29},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/pefile/}}
}Plain text
pefile. https://github.com/erocarrera/pefile (accessed 2026-10-29). Awesome REA entry: https://awesomerea.org/resources/pefile/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · erocarrera/pefile · Revision 274e0b8
More in Native binaries
- PolyTracker · Tool
- pyelftools · Tool
- rustc-demangle · Tool
- Scylla · Tool
- TitanEngine Community Edition · Tool
- Volatility 3 · Tool