devel/py-lief 0.12.3_1 FreeBSD
Library to instrument executable formats
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
0c679bc562- License
- APACHE20
- Categories
- devel, python
- Package size
- 2458.8 KiB, 12133.2 KiB installed
Description
The purpose of this project is to provide a cross platform library which can parse, modify and abstract ELF, PE and MachO formats.
Main features:
- Parsing: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and provides a user-friendly API to access to format internals.
- Modify: LIEF enables to modify some parts of these formats
- Abstract: Three formats have common features like sections, symbols, entry point... LIEF factors them.
- API: LIEF can be used in C, C++ and Python
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-lief | 0.12.3_1 |
| DragonFly | devel/py-lief | 0.12.3_1 |
| HardenedBSD | devel/py-lief | 0.12.3_1 |
| GhostBSD | devel/py-lief | 0.12.3_1 |
Install
Binary package:
pkg install py312-lief
From the ports tree:
cd /usr/ports/devel/py-lief/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-lief>0:devel/py-lief
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.12.3_1 | 0.12.3_1 | - | 0.12.3_1 | 0.12.3_1 |
| FreeBSD:14:quarterly | 0.12.3_1 | 0.12.3_1 | n/a | 0.12.3_1 | 0.12.3_1 |
| FreeBSD:15:latest | 0.12.3_1 | 0.12.3_1 | n/a | 0.12.3_1 | 0.12.3_1 |
| FreeBSD:15:quarterly | 0.12.3_1 | 0.12.3_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12.3_1 | 0.12.3_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake:indirect cpe python zip
- Service scripts
- none
Files
pkg-plist 4
- bin/elf_reader.py
- bin/macho_reader.py
- bin/pe_reader.py
- %%PYTHON_SITELIBDIR%%/lief.cpython-.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lief-0.12.3.zip | 1.6185043e+07 | 62e81d2f1a827d43152aed12446a604627e8833493a51dca027026eed0ce7128 |
Master sites 1
- PYPI