#format #header #table #parser #parsey

parsey_rs

A Rust library to analyze PE (Portable Executable) files

1 unstable release

new 0.1.1 May 21, 2025

#1532 in Parser implementations

MIT/Apache

40KB
779 lines

Contains (DOS exe, 69KB) tests/test.exe

Parsey

Parsey is a lightweight Rust library for reading and analyzing Portable Executable (PE) files — like .exe, .dll, .sys, and more.


Features

  • ✅ Parses full PE structure (DOS, COFF, Optional headers)
  • 🔍 Supports both 32-bit (PE32) and 64-bit (PE32+) formats
  • 📥 Reads import/export tables
  • 📦 Provides clean and friendly API (Parsed)
  • 🔧 Zero dependencies on OS APIs — pure buffer parsing

Usage

Add to your project:

[dependencies]
parsey = { git = "https://github.com/ravx81/Parsey" }

Dependencies

~1.6–2.7MB
~51K SLoC