Go to file
mio ae1b6ad89b
Support building on Android arm aarch64 x86 x86_64
1. Add cmake support in CMakeLists.txt according to https://developer.android.com/ndk/guides/other_build_systems

2. Resolve symbols errors

3. Backport fixes from 438ed42311

   > QEMU relies on two optimization for ppc64 and arm:
   >
   > 1. if(0) /* optimized code */
   > 2. assert(0); /* optimized code */
   >
   > But the assert on mingw32 doesn't have noreturn attribute which prevents
   > the second optimization and some code is reverted to the original code
   > to fit in the first optimization.
   >
   > The assert implementation is copied from glib as qemu did.

   Unfortunately, NDK also doesn't have an assert implementation qemu prefers.
2021-10-06 04:42:44 +08:00
.github/workflows Delete stale.yml 2021-10-05 19:50:41 +02:00
bindings Sync docs from wiki and remove cmake.sh 2021-10-05 15:26:13 +02:00
docs Sync docs from wiki and remove cmake.sh 2021-10-05 15:26:13 +02:00
glib_compat import Unicorn2 2021-10-03 22:14:44 +08:00
include Update comments for UC_HOOK_INSN 2021-10-05 18:15:31 +02:00
msvc import Unicorn2 2021-10-03 22:14:44 +08:00
qemu Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
samples import Unicorn2 2021-10-03 22:14:44 +08:00
tests Allow user to instrument cpuid instruction 2021-10-05 17:15:49 +02:00
.gitignore import Unicorn2 2021-10-03 22:14:44 +08:00
AUTHORS.TXT import 2015-08-21 15:04:50 +08:00
Brewfile Update Brewfile 2017-09-30 17:36:44 +07:00
ChangeLog ChangeLog 2021-10-03 22:37:22 +08:00
CMakeLists.txt Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
COPYING import 2015-08-21 15:04:50 +08:00
COPYING_GLIB glib_compat: add COPYING_GLIB 2016-12-27 10:15:08 +08:00
COPYING.LGPL2 LGPL2 for all header files under include/unicorn/ 2017-12-16 10:08:42 +08:00
CREDITS.TXT import Unicorn2 2021-10-03 22:14:44 +08:00
install-cmocka-linux.sh Start moving examples in S files (#851) 2017-06-25 10:14:22 +08:00
list.c Fix UAF when deleting hook while in hook callback #1127 (#1130) 2020-05-07 14:24:48 +08:00
mingw-w64.cmake import Unicorn2 2021-10-03 22:14:44 +08:00
README.md Update the link to milestones 2021-10-05 15:44:42 +02:00
symbols.sh Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
TODO import Unicorn2 2021-10-03 22:14:44 +08:00
uc.c Manually fix for #219 2021-10-03 23:27:12 +02:00

Unicorn Engine

pypi downloads Fuzzing Status

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, 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 milestones for our regular release.

CREDITS.TXT records important contributors of our project.