Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isaacmarovitz/pe-parser
PE Parsing, but blazing fast
https://github.com/isaacmarovitz/pe-parser
binary-analysis cross-platform parser pe pe-format pe-parser rust
Last synced: 17 days ago
JSON representation
PE Parsing, but blazing fast
- Host: GitHub
- URL: https://github.com/isaacmarovitz/pe-parser
- Owner: IsaacMarovitz
- License: mit
- Created: 2023-04-11T17:44:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-26T15:11:19.000Z (8 months ago)
- Last Synced: 2024-03-26T16:32:33.688Z (8 months ago)
- Topics: binary-analysis, cross-platform, parser, pe, pe-format, pe-parser, rust
- Language: Rust
- Homepage: https://crates.io/crates/pe-parser
- Size: 173 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [PE Parser](https://docs.rs/crate/pe-parser/latest)
[![Build & Test](https://github.com/IsaacMarovitz/pe-parser/actions/workflows/rust.yml/badge.svg)](https://github.com/IsaacMarovitz/pe-parser/actions/workflows/rust.yml)
[![Fuzzing](https://github.com/IsaacMarovitz/pe-parser/actions/workflows/cflite_batch.yml/badge.svg)](https://github.com/IsaacMarovitz/pe-parser/actions/workflows/cflite_batch.yml)A blazing fast 🔥 PE Parser written in Rust
## Motivation
The main goals of `pe-parser` is to write something suitable for a PE Loader.## Is editing supported?
Currently no, but it wouldn't be too difficult to add from the current backbone.## How does it handle unsual or malformed PEs?
As long as the PE conforms to the standard outlined in Microsoft's documentation, it should read fine. Malformed PEs would likely run into issues of either returning an error or misreading data.## What is parsed right now?
- COFF Header
- Optional Header
- Data Directories
- Section Tables/Headers## What is not parsed yet?
- COFF Relocations
- COFF Line Numbers
- COFF Symbol Table
- COFF String Table
- Certificate Table
- Delay-Load Import Table
- .debug Section
- .drectve Section
- .edata Section
- .idata Section
- .pdata Section
- .reloc Section
- .tls Section
- Load Config Structure
- .rsrc Section
- .cormeta Section
- .sxdata Section