unicorn-engine /unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)

★ 9,576⑂ 1,596👁 203⑃ 1,212● 1,244▤ 29
CGPL-2.0Created 2015-08-20www.unicorn-engine.org
Download: Version 2.1.4Version-2.1.4 ↓2.1.42025-09-09
+2
Daily
9,576
stars
1,596
forks
203
watchers
1,212
prs
1,244
issues
29
releases

README

Unicorn Engine
==============




LOOKING FOR CONTRIBUTORS! See this.
==============





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, PowerPC, RISCV, SPARC, S390X, TriCore and X86 (16, 32, 64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Crystal, Clojure, Visual Basic, Perl, Rust, Ruby, Python, Java, .NET, Go, Delphi/Free Pascal, Haskell, Pharo, Lua and Zig.
- Native support for Windows & nix (with Mac OSX, Linux, Android, 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

Further information is available at http://www.unicorn-engine.org


License
-------

This project is released under the GPL license.


Compilation & Docs
------------------

See docs/COMPILE.md file for how to compile and install Unicorn.

More documentation is available in docs/README.md.

For common questions, read docs/FAQ.md before raising an issue.

Contact
-------

Contact us via mailing list, email or twitter for any questions.


Join our group for instant feedback.

Contribute
----------

If you want to contribute, please pick up something from our Github issues.

We also maintain a list of more challenged problems in milestones for our regular release.

Please send pull request to our dev branch.

CREDITS.TXT records important contributors of our project.

Top issues

Discussions

Latest release

Version 2.1.4 2.1.4 2025-09-09
Hello everyone. It has been a while since last release and we are releasing Unicorn 2.1.4. Though it is a patch release, there are some highlights worth mentioning.

The very first thing is that, Unicorn (finally!) offers consistent PC guarantee in all cases. Well, it might sound weird that why it was not. Generally QEMU is not designed to keep PC synced in all cases for performance and Unicorn once put necessary hacks but those hacks were too hard to maintain. Now we have architecture agnostic mechanism to offer the PC guarantee.

In addition, we offer a standalone unicorn Rust crate unic

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON