{"full_name":"unicorn-engine/unicorn","owner":"unicorn-engine","name":"unicorn","shard":"1","url":"https://github.com/unicorn-engine/unicorn","description":"Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)","homepage":"http://www.unicorn-engine.org","topics":["emulator","framework","cpu","arm","arm64","mips","m68k","sparc","x86","x86-64","security","reverse-engineering","riscv","powerpc","s390x"],"tag_pages":["arm","arm64","cpu","emulator","framework","reverse-engineering","security","x86","x86-64"],"language":"C","license":"GPL-2.0","avatar":"https://avatars.githubusercontent.com/u/13391512?v=4","created_at":"2015-08-20T16:35:45Z","pushed_at":"2026-11-10T13:58:02Z","metrics":{"stars":9576,"forks":1596,"watchers":203,"issues":1244,"prs":1212,"releases":29,"issues_open":161,"issues_closed":1083,"prs_open":108,"prs_closed":229,"prs_merged":875,"discussions":28},"growth":{"day":{"stars":2,"forks":1,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9552,9559,9566,9566,9572,9574,9576],"forks":[1588,1590,1590,1591,1592,1595,1596],"watchers":[null,203,203,203,203,203,203],"issues_open":[null,159,159,159,160,161,161],"prs_open":[null,101,102,102,100,108,108]},"boards":{},"same_owner":[],"issues":[{"number":346,"title":"Need some help with implementing the post-instruction hook.","comments":45,"created_at":"2015-12-27T20:22:41Z"},{"number":2124,"title":"`test_arm64_mem_hook_read_write` fails on `riscv64` and `s390x`","comments":23,"created_at":"2025-03-05T10:27:33Z"},{"number":2041,"title":"Execution depends on whether UC_HOOK_MEM_READ/_WRITE is registered","comments":22,"created_at":"2024-10-22T17:13:07Z"},{"number":2141,"title":"regression: missing UC_HOOK_MEM","comments":20,"created_at":"2025-04-02T12:19:56Z"},{"number":1217,"title":"Unicorn 2 - looking for sponsors","comments":20,"created_at":"2020-02-28T17:02:22Z"},{"number":1828,"title":"Breaking change without changing major version?","comments":18,"created_at":"2023-04-21T09:22:03Z"},{"number":201,"title":"a more Pythonic binding","comments":17,"created_at":"2015-10-18T17:20:52Z"},{"number":2369,"title":"Memory access rights ignored unless mem hook is set","comments":13,"created_at":"2026-07-22T10:49:04Z"}],"discussions":[{"number":2278,"title":"TCG translation cache functioning?","comments":1,"category":"Q&A","created_at":"2026-01-02T18:33:37Z"},{"number":2261,"title":"how to convert capstone register id to unicorn id?","comments":0,"category":"Q&A","created_at":"2025-11-17T02:48:27Z"},{"number":2255,"title":"Correct way to thread with unicorn?","comments":0,"category":"Q&A","created_at":"2025-11-06T19:40:55Z"},{"number":2252,"title":"RFC: Code Annotations for Unicorn Modifications","comments":2,"category":"Ideas","created_at":"2025-10-29T13:36:08Z"},{"number":2214,"title":"How unicorn deal with mix MIPS arch?","comments":2,"category":"Q&A","created_at":"2025-07-14T12:28:40Z"},{"number":2213,"title":"Unicorn strange raise a UC_ERR_FETCH_UNMAPPED error","comments":1,"category":"Q&A","created_at":"2025-07-14T09:35:19Z"},{"number":2205,"title":"Generic instruction-hook system for RISC-V","comments":0,"category":"General","created_at":"2025-06-22T23:20:10Z"},{"number":2192,"title":"No definition for struct uc_struct;","comments":2,"category":"General","created_at":"2025-05-22T21:29:17Z"}],"latest_release":{"name":"Version 2.1.4","tag":"2.1.4","published_at":"2025-09-09T17:21:00Z","body":"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.\r\n\r\nThe 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.\r\n\r\nIn addition, we offer a standalone unicorn Rust crate `unicorn-engine-sys` to allows users to build their own bindings since v2.1.4 (actually v2.1.5 because of the mess of releasing new crates). There are also lots of bindings improvements contained in this release.\r\n\r\nWe also fix the building and distribution issues for macos ARM and distribute wheels again. Our friend @patryk4815 from pwndbg helps sort this out. Kudos to him!\r\n\r\nFor 2.2.0, personally I wish I could work it out before the end of this year, by merging lots of pending big PRs but my time budget is relatively limited recently. Please aware that 2.2.0 would probably bump QEMU version to 5.1.0 or even higher so semantics could be changed. Any help is highly welcome and please contact @wtdcode if you are keen.\r\n\r\nLastly, I would like to express my deep gratitude to all contributors that help make this release happen, specifically @Evian-Zhang for Rust improvements and unicornafl integration, @Antelox for constant contributions on our workflows, @amaanq for various huge work, reviews and Rust bindings split, @PhilippTakacs for PR reviews and fix. Again, thanks for every contributor!\r\n\r\nBelow goes the auto generated release notes. Starting from this tag, the release note will switch to a short passage plus Github generated contents because this makes it easier to follow big changes.\r\n\r\n## What's Changed\r\n* bindings/zig: Fix sample_riscv_zig partial writes and logging by @fervagar in https://github.com/unicorn-engine/unicorn/pull/2133\r\n* Fix physical address truncation on 32-bit systems with addressing extensions by @ExhoAR22 in https://github.com/unicorn-engine/unicorn/pull/2139\r\n* refactor(lib): mark pointers as const where possible by @amaanq in https://github.com/unicorn-engine/unicorn/pull/2140\r\n* bindings: ruby: fix unexpected uc_query result pointer type by @anthraxx in https://github.com/unicorn-engine/unicorn/pull/1962\r\n* bindings: ruby: fix version identifier to 2.1.3 by @anthraxx in https://github.com/unicorn-engine/unicorn/pull/2142\r\n* feat(arm): add an `ESR` register by @amaanq in https://github.com/unicorn-engine/unicorn/pull/2155\r\n* fix(rust): watch all source and header files by @amaanq in https://github.com/unicorn-engine/unicorn/pull/2159\r\n* feat(rust): improve ARM CP register ergonomics by @amaanq in https://github.com/unicorn-engine/unicorn/pull/2160\r\n* fix(m68k): correct SR register read by @amaanq in https://github.com/unicorn-engine/unicorn/pull/2161\r\n* fix(python): catch `BaseException` in wrappers instead of `Exception` by @amaanq in https://github.com/unicorn-engine/unicorn/pull/2163\r\n* Remove the size limit for memory read and write (revamped) by @rliebig in https://github.com/unicorn-engine/unicorn/pull/2144\r\n* Loongarch port by @wtdcode in https://github.com/unicorn-engine/unicorn/pull/2164\r\n* S390x registers by @wtdcode in https://github.com/unicorn-engine/unicorn/pull/2167\r\n* Add from_handle_with_data method by @Evian-Zhang in https://github.com/unicorn-engine/unicorn/pull/2169\r\n* Make Unicorn struct clone-able by @Evian-Zhang in https://github.com/unicorn-engine/unicorn/pull/2170\r\n* Add Display and Error impl for uc_error for Rust bindings by @Evian-Zhang in https://github.com/unicorn-engine/unicorn/pull/2171\r\n* Add edge generated callback by @Evian-Zhang in https://github.com/unicorn-engine/unicorn/pull/2176\r\n* Correctly restore skip_sync_pc_on_exit by @Evian-Zhang in https://github.com/unicorn-engine/un","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}