BSD Ports

emulators/unicorn 2.1.4 FreeBSD

Unicorn CPU emulator framework

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
16b3f68807
License
GPLv2
Categories
emulators
Package size
5607.8 KiB, 49477.8 KiB installed

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

In the other systems

SystemPortVersion
FreeBSDemulators/unicorn2.1.4
NetBSDemulators/unicorn2.1.4nb2
DragonFlyemulators/unicorn2.0.1p1

Install

Binary package:

pkg install unicorn

From the ports tree:

cd /usr/ports/emulators/unicorn/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	unicorn>0:emulators/unicorn
LIB_DEPENDS=	libunicorn.so:emulators/unicorn

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.42.1.4--2.1.4
FreeBSD:14:quarterly2.1.42.1.4n/a-2.1.4
FreeBSD:15:latest2.1.42.1.4n/a-2.0.1p1
FreeBSD:15:quarterly2.1.42.1.4n/an/an/a
FreeBSD:16:latest2.1.42.1.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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 16

Configuration

No options to configure.

USES
cmake:testing pkgconfig
Service scripts
none

Files

pkg-plist 17
  • include/unicorn/arm.h
  • include/unicorn/arm64.h
  • include/unicorn/m68k.h
  • include/unicorn/mips.h
  • include/unicorn/platform.h
  • include/unicorn/ppc.h
  • include/unicorn/riscv.h
  • include/unicorn/s390x.h
  • include/unicorn/sparc.h
  • include/unicorn/tricore.h
  • include/unicorn/unicorn.h
  • include/unicorn/x86.h
  • lib/libunicorn.a
  • lib/libunicorn.so
  • lib/libunicorn.so.2
  • lib/unicorn.o
  • libdata/pkgconfig/unicorn.pc
distinfo 1
FileSizeSHA256
unicorn-engine-unicorn-2.1.4_GH0.tar.gz4.252854e+06ea8863f095a0136388694e5a6063afd9bb7650e30243dd6251af59c5ce5601f4

Commit history 2

DateCommitCreditsLog message
16b3f68807 Piotr Kubaj 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')
b3bbad0215 Antoine Brodin emulators/unicorn: update to 2.1.4