devel/lief 0.17.6 DragonFly
Library to Instrument Executable Formats (C++)
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- devel
- Package size
- 1776.8 KiB, 9272.7 KiB installed
Description
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
In the other systems
The newest version among them is 0.17.6, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/lief | 0.17.6 newest | none known | - | [email protected] | - |
| FreeBSD | devel/lief | 0.17.6 newest | none known | - | [email protected] | 2026-09-19 |
| HardenedBSD | devel/lief | 0.17.6 newest | no data | - | [email protected] | - |
| GhostBSD | devel/lief | 0.17.6 newest | no data | - | [email protected] | - |
Version history 1
- 0.17.6
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install lief
From DPorts:
cd /usr/dports/devel/lief && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.