Port details
unicorn Unicorn CPU emulator framework
2.1.4 emulators Σ=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 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-16 06:44:02
Last Update: 2026-11-26 08:47:53
Commit Hash: 27a24ff
License: GPLv2
WWW:
https://www.unicorn-engine.org/
Description: #
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU. Unicorn offers some unparalleled features: - Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32, 64-bit) - Clean/simple/lightweight/intuitive architecture-neutral API - Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python, Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell. - Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris confirmed) - High performance via Just-In-Time compilation - Support for fine-grained instrumentation at various levels - Thread-safety by design - Distributed under free software license GPLv2
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 (25 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/unicorn-2.1.4/catalog.mk
  3. /usr/local/share/licenses/unicorn-2.1.4/LICENSE
  4. /usr/local/share/licenses/unicorn-2.1.4/GPLv2
  5. share/sbom/pc/unicorn.pc
  6. include/unicorn/arm.h
  7. include/unicorn/arm64.h
  8. include/unicorn/m68k.h
  9. include/unicorn/mips.h
  10. include/unicorn/platform.h
  11. include/unicorn/ppc.h
  12. include/unicorn/riscv.h
  13. include/unicorn/s390x.h
  14. include/unicorn/sparc.h
  15. include/unicorn/tricore.h
  16. include/unicorn/unicorn.h
  17. include/unicorn/x86.h
  18. lib/libunicorn.a
  19. lib/libunicorn.so
  20. lib/libunicorn.so.2
  21. lib/unicorn.o
  22. libdata/pkgconfig/unicorn.pc
  23. @owner
  24. @group
  25. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • unicorn>0:emulators/unicorn
  • For LIB depends:
    • libunicorn.so:emulators/unicorn
To install the port: #
cd /usr/ports/emulators/unicorn/ && make install clean
To add the package, run one of these commands:
  • pkg install emulators/unicorn
  • pkg install unicorn
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: unicorn
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1787599086 SHA256 (unicorn-engine-unicorn-2.1.4_GH0.tar.gz) = ea8863f095a0136388694e5a6063afd9bb7650e30243dd6251af59c5ce5601f4 SIZE (unicorn-engine-unicorn-2.1.4_GH0.tar.gz) = 4252854

Packages (timestamps in pop-ups are UTC): #
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. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by: #
for Build #
  1. emulators/py-unicorn
for Libraries #
  1. security/py-angr
for Run #
  1. emulators/py-unicorn

Configuration Options: #
No options to configure
Options name: #
emulators_unicorn
USES: #
cmake:testing cpe pkgconfig
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/unicorn-engine/unicorn/tar.gz/2.1.4?dummy=/
Collapse this list.

Number of commits found: 27 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.4
26 Nov 2026 08:47:53
commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
*/*: Add CPE declaration to 617 ports

  Improve CPE coverage in the ports tree to help security scanners match
  software with vulnerability reports.

  Matched project and download URLs from port metadata against references
  in the official NVD CPE dictionary. Reviewed product identities to
  distinguish applications from related components and similarly named
  projects.

Sponsored by:	OTTRIA
Differential Revision:	https://reviews.freebsd.org/D61941
2.1.4
24 Sep 2026 12:53:38
commit hash: 16b3f6880766dc9bc73215fe09992245cbd51462commit hash: 16b3f6880766dc9bc73215fe09992245cbd51462commit hash: 16b3f6880766dc9bc73215fe09992245cbd51462commit hash: 16b3f6880766dc9bc73215fe09992245cbd51462 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
emulators/unicorn: fix build on powerpc64*

In file included from
/wrkdirs/usr/ports/emulators/unicorn/work/unicorn-2.1.4/qemu/util/bitmap.c:13:
In file included from
/wrkdirs/usr/ports/emulators/unicorn/work/unicorn-2.1.4/qemu/include/qemu/bitops.h:16:
In file included from
/wrkdirs/usr/ports/emulators/unicorn/work/unicorn-2.1.4/qemu/include/qemu/host-utils.h:30:
/wrkdirs/usr/ports/emulators/unicorn/work/unicorn-2.1.4/qemu/include/qemu/int128.h:150:16:
error: typedef redefinition with different types ('Int128' (aka 'struct Int128')
vs '__int128')
2.1.4
02 Sep 2026 21:56:56
commit hash: b3bbad02157064f7d55ce0ef42b1c5c2252d0529commit hash: b3bbad02157064f7d55ce0ef42b1c5c2252d0529commit hash: b3bbad02157064f7d55ce0ef42b1c5c2252d0529commit hash: b3bbad02157064f7d55ce0ef42b1c5c2252d0529 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
emulators/unicorn: update to 2.1.4
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
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
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
12 Dec 2020 05:24:25
Revision:557793commit hash: abc0a180f5516066cd9b630f5f0b6be202984f94commit hash: abc0a180f5516066cd9b630f5f0b6be202984f94commit hash: abc0a180f5516066cd9b630f5f0b6be202984f94commit hash: abc0a180f5516066cd9b630f5f0b6be202984f94Original commit files touched by this commit
linimon search for other commits by this committer
Mark as BROKEN on riscv64 the same as on armv*.

While here, pet portlint (Makevar order).

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
1.0.2.r4
24 Oct 2020 18:01:12
Revision:553210commit hash: 182e2a89aebaaf2557f7b6bf990811606c51abaacommit hash: 182e2a89aebaaf2557f7b6bf990811606c51abaacommit hash: 182e2a89aebaaf2557f7b6bf990811606c51abaacommit hash: 182e2a89aebaaf2557f7b6bf990811606c51abaaOriginal commit files touched by this commit
pkubaj search for other commits by this committer
emulators/unicorn: fix build on powerpc64 elfv2 and powerpc64le

As with other ports, conflicting symbols first need to be undefined before
including altivec.h.
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_2
26 Jul 2019 20:46:57
Revision:507372commit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.0.1_1
12 Dec 2018 01:35:36
Revision:487272commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
1.0.1
01 Oct 2018 17:18:19
Revision:481042commit hash: 6ec74a36cd454ba7d532da2a16b1b8e1f80c24eacommit hash: 6ec74a36cd454ba7d532da2a16b1b8e1f80c24eacommit hash: 6ec74a36cd454ba7d532da2a16b1b8e1f80c24eacommit hash: 6ec74a36cd454ba7d532da2a16b1b8e1f80c24eaOriginal commit files touched by this commit
antoine search for other commits by this committer
Require a modern compiler to fix build on powerpc64

PR:		231850
1.0.1
30 Nov 2017 06:13:35
Revision:455167commit hash: bf43557044604cb6487fc1aa24ce2c210ae789dacommit hash: bf43557044604cb6487fc1aa24ce2c210ae789dacommit hash: bf43557044604cb6487fc1aa24ce2c210ae789dacommit hash: bf43557044604cb6487fc1aa24ce2c210ae789daOriginal commit files touched by this commit Sanity Test Failure
linimon search for other commits by this committer
For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
1.0.1
27 May 2017 22:30:08
Revision:441882commit hash: 386a493ae9aae58145973251802ad3356b50e679commit hash: 386a493ae9aae58145973251802ad3356b50e679commit hash: 386a493ae9aae58145973251802ad3356b50e679commit hash: 386a493ae9aae58145973251802ad3356b50e679Original commit files touched by this commit
linimon search for other commits by this committer
Mark some ports failing on armv6, for errors classified as "missing_header".

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
1.0.1
13 May 2017 23:21:37
Revision:440858commit hash: 7e4f41c6908ce98d98c9a87bb0998ff78c715166commit hash: 7e4f41c6908ce98d98c9a87bb0998ff78c715166commit hash: 7e4f41c6908ce98d98c9a87bb0998ff78c715166commit hash: 7e4f41c6908ce98d98c9a87bb0998ff78c715166Original commit files touched by this commit
linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
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 14:39:00
Revision:434815commit hash: aa5286eed0420b3ab3d34f9699991cc0861e39f3commit hash: aa5286eed0420b3ab3d34f9699991cc0861e39f3commit hash: aa5286eed0420b3ab3d34f9699991cc0861e39f3commit hash: aa5286eed0420b3ab3d34f9699991cc0861e39f3Original commit files touched by this commit
antoine search for other commits by this committer
Fix "make test" when PREFIX != LOCALBASE

Reported by:	jbeich
1.0
25 Feb 2017 13:09:55
Revision:434801commit hash: 10c0028ec35329581b29b087d8f93081d7000452commit hash: 10c0028ec35329581b29b087d8f93081d7000452commit hash: 10c0028ec35329581b29b087d8f93081d7000452commit hash: 10c0028ec35329581b29b087d8f93081d7000452Original commit files touched by this commit
antoine search for other commits by this committer
Update to 1.0
0.9
31 Jan 2017 03:40:46
Revision:432897commit hash: dcd74e6387a7b13a84f56be4fd95b245441cc800commit hash: dcd74e6387a7b13a84f56be4fd95b245441cc800commit hash: dcd74e6387a7b13a84f56be4fd95b245441cc800commit hash: dcd74e6387a7b13a84f56be4fd95b245441cc800Original commit files touched by this commit
linimon search for other commits by this committer
Mark various ports broken on aarch64 and armv6.

Approved by:	portmgr (tier-2 blanket)
0.9
01 Jan 2017 03:45:13
Revision:430235commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
0.9
16 Dec 2016 06:43:52
Revision:428645commit hash: 75c2527913dc3efcfbd29ed2323564f1059be754commit hash: 75c2527913dc3efcfbd29ed2323564f1059be754commit hash: 75c2527913dc3efcfbd29ed2323564f1059be754commit hash: 75c2527913dc3efcfbd29ed2323564f1059be754Original commit files touched by this commit
antoine search for other commits by this committer
New port: emulators/unicorn

Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.

Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
  64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
  Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
  confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2

WWW: http://www.unicorn-engine.org/

Number of commits found: 27