notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
gef GDB Enhanced Features for exploit devs & reversers
2022.01_1 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2022.01_1Version of this port present on the latest quarterly branch.
Maintainer: 0mp@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-03-02 16:28:09
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
Also Listed In: python
License: MIT
WWW:
https://gef.rtfd.io
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. share/gef/gef.py
  2. /usr/local/share/licenses/gef-2022.01_1/catalog.mk
  3. /usr/local/share/licenses/gef-2022.01_1/LICENSE
  4. /usr/local/share/licenses/gef-2022.01_1/MIT
Collapse this list.
Dependency lines:
  • gef>0:security/gef
To install the port:
cd /usr/ports/security/gef/ && make install clean
To add the package, run one of these commands:
  • pkg install security/gef
  • pkg install gef
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gef
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1645393749 SHA256 (hugsy-gef-2022.01_GH0.tar.gz) = bb1070dfee440577927d7fa1aa5d310d9fb7297d87ffd786ee63cc6ae7f0f177 SIZE (hugsy-gef-2022.01_GH0.tar.gz) = 211779

Packages (timestamps in pop-ups are UTC):
gef
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2022.01_12022.01_1--2022.01_1-2020.06-
FreeBSD:13:quarterly2022.01_12022.01_1--2022.01_1-2022.01_12022.01_1
FreeBSD:14:latest2022.01_12022.01_1--2022.01_1--2022.01_1
FreeBSD:14:quarterly2022.01_12022.01_1--2022.01_1-2022.01_12022.01_1
FreeBSD:15:latest2022.01_12022.01_1n/a-n/a-2022.01_12022.01_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. gdb>7.7 : devel/gdb
  2. py39-capstone>0 : devel/py-capstone@py39
  3. py39-keystone-engine>0 : devel/py-keystone-engine@py39
  4. py39-ropper>0 : security/py-ropper@py39
  5. py39-unicorn>0 : emulators/py-unicorn@py39
  6. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for gef-2022.01_1: OPTIONALDEPS=on: Install optional dependencies for extra functionalities ===> Use 'make config' to modify these settings
Options name:
security_gef
USES:
python:run
pkg-message:
For install:
Now that GEF is installed it can be used with gdb(1). Run the following command in the gdb prompt to load the plugin: ``` source /usr/local/share/gef/gef.py ``` In order to load GEF automatically on gdb(1) launch add the line mentioned above to ~/.gdbinit: ``` echo "source /usr/local/share/gef/gef.py" >> ~/.gdbinit ```
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/hugsy/gef/tar.gz/2022.01?dummy=/
Collapse this list.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2022.01_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022.01_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2022.01_1
19 May 2022 13:50:36
commit hash: 8bc0ccb51f755fec4f8007abf558680f461a44a7commit hash: 8bc0ccb51f755fec4f8007abf558680f461a44a7commit hash: 8bc0ccb51f755fec4f8007abf558680f461a44a7commit hash: 8bc0ccb51f755fec4f8007abf558680f461a44a7 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
security/gef: Do not depend on "python3" executable

Instead, use "pythonX.Y", as recommended by the ports framework.

MFH:		2022Q2
2022.01
20 Feb 2022 22:21:31
commit hash: 2f76e8c761fdd802be8ad3212420df5aa6f93d24commit hash: 2f76e8c761fdd802be8ad3212420df5aa6f93d24commit hash: 2f76e8c761fdd802be8ad3212420df5aa6f93d24commit hash: 2f76e8c761fdd802be8ad3212420df5aa6f93d24 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
security/gef: Update to 2022.01

Changes:	https://github.com/hugsy/gef/releases/tag/2022.01
2021.10
20 Oct 2021 09:46:18
commit hash: 9f53559b5082ad030db932703d575b3a2c0e34b9commit hash: 9f53559b5082ad030db932703d575b3a2c0e34b9commit hash: 9f53559b5082ad030db932703d575b3a2c0e34b9commit hash: 9f53559b5082ad030db932703d575b3a2c0e34b9 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
security/gef: Update to 2021.10

Changes:	https://github.com/hugsy/gef/releases/tag/2021.10
2021.07
06 Jul 2021 14:44:11
commit hash: 182a2f3e80236d80983b29bcc3c49c90348b4333commit hash: 182a2f3e80236d80983b29bcc3c49c90348b4333commit hash: 182a2f3e80236d80983b29bcc3c49c90348b4333commit hash: 182a2f3e80236d80983b29bcc3c49c90348b4333 files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
security/gef: Update to 2021.07
2021.04
15 Apr 2021 11:09:22
commit hash: 5fafc75c0ff5e3ad71947b9edbb0d0720e7ec41fcommit hash: 5fafc75c0ff5e3ad71947b9edbb0d0720e7ec41fcommit hash: 5fafc75c0ff5e3ad71947b9edbb0d0720e7ec41fcommit hash: 5fafc75c0ff5e3ad71947b9edbb0d0720e7ec41f files touched by this commit
Mateusz Piotrowski (0mp) search for other commits by this committer
security/gef: Update to 2021.04

Release notes:
https://github.com/hugsy/gef/releases/tag/2021.04
2021.01
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021.01
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2021.01
24 Jan 2021 16:30:30
Revision:562489Original commit files touched by this commit
0mp search for other commits by this committer
Update to 2021.01

Support for Python 2 has been dropped.
2020.06
28 Jun 2020 11:16:13
Revision:540700Original commit files touched by this commit
0mp search for other commits by this committer
Update to 2020.06

Release notes:
https://github.com/hugsy/gef/releases/tag/2020.06
2020.03.1
10 Mar 2020 17:34:30
Revision:528188Original commit files touched by this commit
0mp search for other commits by this committer
Update to 2020.03-1

Release notes:
https://github.com/hugsy/gef/releases/tag/2020.03-1

Reported by:	portscout
2020.03
02 Mar 2020 16:28:02
Revision:527640Original commit files touched by this commit
0mp search for other commits by this committer
New port: security/gef

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.

WWW: https://gef.rtfd.io

Number of commits found: 14