lief-project/LIEF
LIEF - Library to Instrument Executable Formats (C++, Python, Rust) observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 21
- age_days: 3457
- days_rel: 52
- days_push: 11
- n_releases_24m: 16
Adoption not part of the score
5549 stars · 746 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
LIEF is a cross-platform C++ library (with Python and Rust bindings) for parsing, inspecting, modifying, and writing executable file formats such as ELF, PE, Mach-O, COFF, and Android formats. It provides a unified object model over symbols, sections, and relocations, plus extended features like disassembly, assembly, DWARF/PDB debug info, and plugins for Ghidra and Binary Ninja.
Use cases
- parse and inspect ELF, PE, or Mach-O binaries programmatically
- modify an executable by adding sections or changing symbol names
- analyze malware samples in a scriptable way
- hook or patch binaries by rewriting imports or the PLT/GOT
- extract and manipulate Android DEX, OAT, VDEX, and ART files
- transform an ELF executable into a shared library
- verify PE Authenticode signatures
- disassemble or assemble AArch64, x86, RISC-V code
When to choose
- you need a scriptable, cross-format API for binary parsing and rewriting without a heavyweight RE suite
- you want Python, C++, or Rust bindings over ELF/PE/Mach-O internals
- you are building security tooling, malware analysis pipelines, or binary instrumentation
- you need format-aware builders that serialize valid modified binaries
When to avoid
- you only need a one-off static analysis view in a GUI like Ghidra or IDA
- you require the extended features (DWARF, PDB, Dyld shared cache, disassembler) under a fully open license, since LIEF Extended is gated
- you need decompilation or high-level control-flow recovery, which LIEF does not provide
Facets
library · maturity stable
parser reverse-engineering security sdk security reverse-engineering parsers developer-tools cross-platform python cpp rust cli elf pe mach-o binary-analysis malware-analysis executable-formats dex android disassembler assembler
5 sources
- readme: https://github.com/lief-project/LIEF · fetched 2026-08-28 · df8b0fdcdc4f
- homepage: https://lief.re · fetched 2026-08-29 · 69cc7e43f99f
- site_page: https://lief.re/about · fetched 2026-08-29 · d6acd73981ab
- site_page: https://lief.re/doc/latest · fetched 2026-08-29 · 3bacea78df66
- site_page: https://lief.re/doc/latest/extended/intro.html · fetched 2026-08-29 · b37ea6cb3fdd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lief-project/LIEF | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="lief-project/LIEF")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem