+2
日增长
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
#346Need some help with implementing the post-instruction hook.45 comments · 2015-12-27#2124`test_arm64_mem_hook_read_write` fails on `riscv64` and `s390x`23 comments · 2025-03-05#2041Execution depends on whether UC_HOOK_MEM_READ/_WRITE is registered22 comments · 2024-10-22#2141regression: missing UC_HOOK_MEM20 comments · 2025-04-02#1217Unicorn 2 - looking for sponsors20 comments · 2020-02-28#1828Breaking change without changing major version?18 comments · 2023-04-21#201a more Pythonic binding17 comments · 2015-10-18#2369Memory access rights ignored unless mem hook is set13 comments · 2026-07-22
Discussions
#2278TCG translation cache functioning?1 comments · 2026-01-02#2261how to convert capstone register id to unicorn id?0 comments · 2025-11-17#2255Correct way to thread with unicorn?0 comments · 2025-11-06#2252RFC: Code Annotations for Unicorn Modifications2 comments · 2025-10-29#2214How unicorn deal with mix MIPS arch?2 comments · 2025-07-14#2213Unicorn strange raise a UC_ERR_FETCH_UNMAPPED error1 comments · 2025-07-14#2205Generic instruction-hook system for RISC-V0 comments · 2025-06-22#2192No definition for struct uc_struct;2 comments · 2025-05-22
Latest release
Version 2.1.4 2.1.4 2025-09-09Hello 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