mirror of
https://github.com/Vita3K/unicorn.git
synced 2024-11-23 05:19:40 +00:00
Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, X86)
b7e64f3c99
Ensure the TCG exit flag is cleared at the end of cpu_exec. This ensures that subsequent calls are not polluted by the prior call to request an early exit. The symptoms of the problem being addressed here are that after a cpu_exit call triggered within a hook there may still be a pending tcg_exit_req flag set. This then causes a block to start its execution and then be aborted (from which point it'll continue because there's no other condition to service). The start of the execution causes the block hook to be called, no actual code to be run, and then the block started again with another block hook call. This change is discussed in ticket 1193: https://github.com/unicorn-engine/unicorn/issues/1193 |
||
---|---|---|
bindings | ||
docs | ||
include | ||
msvc | ||
qemu | ||
samples | ||
tests | ||
.gitignore | ||
.travis.yml | ||
AUTHORS.TXT | ||
Brewfile | ||
ChangeLog | ||
cmake.sh | ||
CMakeLists.txt | ||
config.mk | ||
COPYING | ||
COPYING_GLIB | ||
COPYING.LGPL2 | ||
CREDITS.TXT | ||
install-cmocka-linux.sh | ||
list.c | ||
make.sh | ||
Makefile | ||
msvc.bat | ||
nmake.bat | ||
pkgconfig.mk | ||
README.md | ||
uc.c | ||
windows_export.bat |
Unicorn Engine
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 Crystal, Clojure, Visual Basic, Perl, Rust, Ruby, Python, Java, .NET, Go, Delphi/Free Pascal, Haskell, Pharo, and Lua.
- 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
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.
Contact
Contact us via mailing list, email or twitter for any questions.
Contribute
If you want to contribute, please pick up something from our Github issues.
We also maintain a list of more challenged problems in a TODO list.
CREDITS.TXT records important contributors of our project.