lief-project / LIEF
LIEF - Library to Instrument Executable Formats (C++, Python, Rust)
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing lief-project/LIEF in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewBlog • Documentation • About About The purpose of this project is to provide a cross-platform library to parse, modify and abstract ELF, PE and MachO formats. **Main features**: • **Parsing**: LIEF can parse ELF, PE, MachO, COFF, OAT, DEX, VDEX, ART and provides an user-friendly API to access to internals. • **Modify**: LIEF can use to modify some parts of these formats (adding a section, changing a symbol's name, ...) • **Abstract**: Three formats have common features like sections, symbols, entry point... LIEF factors them. • **API**: LIEF can be used in C++, Python, Rust, C and Node.js (unofficial, AI-generated) **Extended features**: • **DWARF/PDB** Support • **Objective-C** Metadata • **Dyld Shared Cache** with support for extracting Dylib • **Disassembler**: AArch64, x86/x86-64, ARM, RISC-V, Mips, PowerPC, eBPF • **Assembler**: AArch64, x86/x86-64 **Plugins**: • **Ghidra** • **BinaryNinja** Sponsors Content • About • Download / Install • Getting started • Blog • Documentation • Rust • Sphinx • Doxygen • Tutorials: • Parse and manipulate formats • Play with ELF symbols • PE Resources • Transforming an ELF executable into a library • How to use frida on a non-rooted device • Android formats • Mach-O modification • ELF Coredump • PE Authenticode • Contact • About • Authors • License • Bibtex Downloads / Install C++ Rust Python To install the latest **version** (release): To install nightly build: Packages • LIEF Extended: https://extended.lief.re (GitHub OAuth) • **Nightly**: • SDK: https://lief.s3-website.fr-par.scw.cloud/latest/sdk • Python Wheels: https://lief.s3-website.fr-par.scw.cloud/latest/lief • **v0.17.5**: https://github.com/lief-project/LIEF/releases/tag/0.17.5 Here are guides to install or integrate LIEF: • Python • Visual Studio • XCode • CMake Getting started Python Rust C++ C (Limited API) Documentation • Main documentation • Doxygen • Rust Contact • **Mail**: contact at lief re • **Discord**: LIEF About Authors Romain Thomas (@rh0main) - Formerly at Quarkslab License LIEF is provided under the Apache 2.0 license. Bibtex