security/gef 2026.01 FreeBSD
GDB Enhanced Features for exploit devs & reversers
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d698ede917- License
- MIT
- Categories
- security, python
- Package size
- 86.9 KiB, 424.7 KiB installed
Description
GEF (pronounced "Jeff") is a set of commands for x86/64, ARM, MIPS, PowerPC and SPARC to assist exploit developers and reverse-engineers when using old school GDB. It provides additional features to GDB using the Python API to assist during the process of dynamic analysis and exploit development. Application developers will also benefit from it, as GEF lifts a great part of regular GDB obscurity, avoiding repeating traditional commands, or bringing out the relevant information from the debugging runtime.
Some of GEF features include:
- One single GDB script.
- Fast limiting the number of dependencies and optimizing code to make the commands as fast as possible.
- Provides more than 50 commands to drastically change your experience in GDB.
- Easily extendable to create other commands by providing more comprehensible layout to GDB Python API.
- Built around an architecture abstraction layer, so all commands work in any GDB-supported architecture such as x86-32/64, ARMv5/6/7, AARCH64, SPARC, MIPS, PowerPC, etc.
- Suited for real-life apps debugging, exploit development, just as much as CTF.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/gef | 2026.01 |
| NetBSD | wip/gef | 2021.10 |
| DragonFly | security/gef | 2022.01_1 |
| HardenedBSD | security/gef | 2026.01 |
| GhostBSD | security/gef | 2026.01 |
Install
Binary package:
pkg install gef
From the ports tree:
cd /usr/ports/security/gef/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gef>0:security/gef
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 | 2026.01 | 2026.01 | - | - | 2026.01 |
| FreeBSD:14:quarterly | 2026.01 | 2026.01 | n/a | - | 2026.01 |
| FreeBSD:15:latest | 2026.01 | 2026.01 | n/a | - | - |
| FreeBSD:15:quarterly | 2026.01 | 2026.01 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2026.01 | 2026.01 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
gdb>7.7: devel/gdb
The full lists below include those, and their dependencies in turn.
Run dependencies 24
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/boost-libs
- devel/capstone
- devel/gdb
- devel/gettext-runtime
- devel/icu
- devel/libffi
- devel/py-capstone
- devel/py-filebytes
- devel/py-keystone-engine
- devel/readline
- devel/xxhash
- emulators/py-unicorn
- emulators/unicorn
- lang/python312
- math/gmp
- math/mpdecimal
- math/mpfr
- print/indexinfo
- security/py-ropper
- textproc/expat2
- textproc/source-highlight
No port depends on this one.
Configuration
Options name: security_gef
| Option | Default | Description |
|---|---|---|
| OPTIONALDEPS | on | Install optional dependencies for extra functionalities |
- USES
- python:run
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| hugsy-gef-2026.01_GH0.tar.gz | 247419 | 6e58afbda13ef976aa46a2f138b5422829a0d3c4b71246f4546cbd7383ce2e76 |