Port details
py-unicorn Python bindings for Unicorn CPU emulator framework
2.1.4 emulators Σ=0 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.4Version of this port present on the latest quarterly branch.
Maintainer: antoine@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-12-19 23:07:36
Last Update: 2026-09-02 21:59:09
Commit Hash: 89b89ec
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://www.unicorn-engine.org/
Description: #
Python bindings for Unicorn CPU emulator framework.
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 #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}unicorn>0:emulators/py-unicorn@${PY_FLAVOR}
To install the port: #
cd /usr/ports/emulators/py-unicorn/ && make install clean
To add the package, run one of these commands:
  • pkg install emulators/py-unicorn
  • pkg install py312-unicorn
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-unicorn listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-unicorn
Package flavors (<flavor>: <package>) #
  • py312: py312-unicorn
distinfo: #
TIMESTAMP = 1787605998 SHA256 (unicorn-2.1.4.tar.gz) = 00567a70e323f749b419cd86bee4f9115beab7ebba32194581c090cbb7c59cff SIZE (unicorn-2.1.4.tar.gz) = 2900334

Packages (timestamps in pop-ups are UTC): #
py312-unicorn
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.42.1.4--2.1.4
FreeBSD:14:quarterly2.1.42.1.4--2.1.4
FreeBSD:15:latest2.1.42.1.4n/a-n/a
FreeBSD:15:quarterly2.1.42.1.4n/a-n/a
FreeBSD:16:latest CURRENT2.1.42.1.4n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-setuptools-scm>0 : devel/py-setuptools-scm@py312
  3. py312-wheel>0 : devel/py-wheel@py312
  4. libunicorn.so : emulators/unicorn
  5. python3.12 : lang/python312
  6. py312-build>=0 : devel/py-build@py312
  7. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. libunicorn.so : emulators/unicorn
  2. python3.12 : lang/python312
This port is required by: #
for Build #
  1. security/py-angr
for Run #
  1. security/gef
  2. security/py-angr
  3. security/py-pwntools
for Test #
  1. devel/py-archinfo

Configuration Options: #
No options to configure
Options name: #
emulators_py-unicorn
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/u/unicorn/
  2. https://pypi.org/packages/source/u/unicorn/
Collapse this list.

Number of commits found: 18 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.4
02 Sep 2026 21:59:09
commit hash: 89b89ec05894a771a4b9a61e07fe2f1f9c8e6321commit hash: 89b89ec05894a771a4b9a61e07fe2f1f9c8e6321commit hash: 89b89ec05894a771a4b9a61e07fe2f1f9c8e6321commit hash: 89b89ec05894a771a4b9a61e07fe2f1f9c8e6321 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
emulators/py-unicorn: update to 2.1.4
2.0.1p1_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2.0.1p1
04 Aug 2024 17:14:32
commit hash: 68e1000c41a5414c8764f0f324033b7359754e35commit hash: 68e1000c41a5414c8764f0f324033b7359754e35commit hash: 68e1000c41a5414c8764f0f324033b7359754e35commit hash: 68e1000c41a5414c8764f0f324033b7359754e35 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
emulators/py-unicorn: Add NO_ARCH

Approved by:	portmgr (blanket)
2.0.1p1
18 Apr 2024 13:25:56
commit hash: a6a428bcd414da741ed7271224816e7a23c95f17commit hash: a6a428bcd414da741ed7271224816e7a23c95f17commit hash: a6a428bcd414da741ed7271224816e7a23c95f17commit hash: a6a428bcd414da741ed7271224816e7a23c95f17 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
emulators/*unicorn: update to 2.0.1p1
1.0.2
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)
1.0.2
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)
1.0.2
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
1.0.2
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.
1.0.2
28 Dec 2020 23:02:15
Revision:559531commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.0.2
27 Dec 2020 20:11:58
Revision:559421commit hash: fed1690859b80709afc90dcb4c5712327c1be99fcommit hash: fed1690859b80709afc90dcb4c5712327c1be99fcommit hash: fed1690859b80709afc90dcb4c5712327c1be99fcommit hash: fed1690859b80709afc90dcb4c5712327c1be99fOriginal commit files touched by this commit
antoine search for other commits by this committer
Update to 1.0.2
1.0.2.r4
14 Jun 2020 09:58:54
Revision:538723commit hash: ac3c4980b2fc78d73b967115b753d59a5b90edb5commit hash: ac3c4980b2fc78d73b967115b753d59a5b90edb5commit hash: ac3c4980b2fc78d73b967115b753d59a5b90edb5commit hash: ac3c4980b2fc78d73b967115b753d59a5b90edb5Original commit files touched by this commit
antoine search for other commits by this committer
Update to 1.0.2-rc4
1.0.2.r3
27 Apr 2020 20:51:19
Revision:533170commit hash: 37899686d432e1d1689ea44885771d4dc2e8c143commit hash: 37899686d432e1d1689ea44885771d4dc2e8c143commit hash: 37899686d432e1d1689ea44885771d4dc2e8c143commit hash: 37899686d432e1d1689ea44885771d4dc2e8c143Original commit files touched by this commit
antoine search for other commits by this committer
Update unicorn and py-unicorn to 1.0.2-rc3
1.0.2.r2
29 Feb 2020 21:20:45
Revision:527473commit hash: c11e26b8b31a3c429e039c01dc5a4581182467c8commit hash: c11e26b8b31a3c429e039c01dc5a4581182467c8commit hash: c11e26b8b31a3c429e039c01dc5a4581182467c8commit hash: c11e26b8b31a3c429e039c01dc5a4581182467c8Original commit files touched by this commit
antoine search for other commits by this committer
Update unicorn and py-unicorn to 1.0.2-rc2
1.0.2.r1
18 Jan 2020 20:02:00
Revision:523495commit hash: 57414c712e0454b82a256d0d517ee81df75e75e0commit hash: 57414c712e0454b82a256d0d517ee81df75e75e0commit hash: 57414c712e0454b82a256d0d517ee81df75e75e0commit hash: 57414c712e0454b82a256d0d517ee81df75e75e0Original commit files touched by this commit
antoine search for other commits by this committer
Update unicorn and py-unicorn to 1.0.2-rc1
1.0.1
30 Apr 2017 10:45:06
Revision:439798commit hash: 1f2800dc44f1d6b45011f8465b39cc630eff4724commit hash: 1f2800dc44f1d6b45011f8465b39cc630eff4724commit hash: 1f2800dc44f1d6b45011f8465b39cc630eff4724commit hash: 1f2800dc44f1d6b45011f8465b39cc630eff4724Original commit files touched by this commit
antoine search for other commits by this committer
Update to 1.0.1
1.0
25 Feb 2017 13:10:29
Revision:434802commit hash: b7fb1edfb679178999ea9330beacf1b2136d0e8fcommit hash: b7fb1edfb679178999ea9330beacf1b2136d0e8fcommit hash: b7fb1edfb679178999ea9330beacf1b2136d0e8fcommit hash: b7fb1edfb679178999ea9330beacf1b2136d0e8fOriginal commit files touched by this commit
antoine search for other commits by this committer
Update to 1.0
0.9
19 Dec 2016 23:07:25
Revision:428964commit hash: 04d13a03c861eaa8caa2ae588ff7b0df394b0a4ccommit hash: 04d13a03c861eaa8caa2ae588ff7b0df394b0a4ccommit hash: 04d13a03c861eaa8caa2ae588ff7b0df394b0a4ccommit hash: 04d13a03c861eaa8caa2ae588ff7b0df394b0a4cOriginal commit files touched by this commit
antoine search for other commits by this committer
New port: emulators/py-unicorn

Python bindings for Unicorn CPU emulator framework

Number of commits found: 18