A simple API for complex formats

LIEF is a cross-platform library to parse, modify, and abstract ELF, PE, and Mach-O binaries. It handles the low-level details of each format so you can focus on your own project.

A desktop showing LIEF executable format tooling
10+Years of development
1M+Installs every month
4Language APIs

History.

LIEF has grown from a focused executable parser into a broad binary engineering toolkit while keeping a consistent API at its core.

First public release

LIEF became open source with initial ELF, PE, and Mach-O parsing and modification support.

Builders mature

Format-aware rewriting expanded with stronger Mach-O modifications and builder APIs.

Security metadata

PE Authenticode parsing and verification brought signatures into the unified object model.

ELF rewriting at scale

A redesigned ELF builder improved performance, memory behavior, and control over generated binaries.

Rust and debug formats

Rust bindings evolved while DWARF and PDB support opened new analysis and tooling workflows.

LIEF 1.0

A milestone focused on stability, usability, security, and a new cross-platform Runtime API.

Get involved.

Contribute a fix, share a tool, join the technical discussion, or fund features.