# pefile

> Inspect PE headers, sections, resources and malformed values through a Python API with limited in-place editing.

- Type: Tool
- Targets: Binary
- Category: Binary analysis libraries
- Relationship: Foundation tool
- Sources reviewed: 2026-10-29
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/erocarrera/pefile>
- Primary source: <https://github.com/erocarrera/pefile/blob/274e0b8ce0b804a09a3cb68314f41b00ae2ed8a0/README.md>
- Catalog page: <https://awesomerea.org/resources/pefile/>
- Record JSON: <https://awesomerea.org/resources/pefile/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/pefile/index.md)

## 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.

## Primary sources

1. <https://github.com/erocarrera/pefile/blob/274e0b8ce0b804a09a3cb68314f41b00ae2ed8a0/README.md>

## More in Native binaries

- [PolyTracker](https://awesomerea.org/resources/polytracker/index.md) · Tool
- [pyelftools](https://awesomerea.org/resources/pyelftools/index.md) · Tool
- [rustc-demangle](https://awesomerea.org/resources/rustc-demangle/index.md) · Tool
- [Scylla](https://awesomerea.org/resources/scylla/index.md) · Tool
- [TitanEngine Community Edition](https://awesomerea.org/resources/titanengine/index.md) · Tool
- [Volatility 3](https://awesomerea.org/resources/volatility3/index.md) · Tool

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
