Go to file
Elton G 47150b6df3 reg_read and reg_write now work with registers W0 through W30 in Aarch64 (#716)
* reg_read and reg_write now work with registers W0 through W30 in Aarch64 emulaton

* Added a regress test for the ARM64 reg_read and reg_write on 32-bit registers (W0-W30)
Added a new macro in uc_priv.h (WRITE_DWORD_TO_QWORD), in order to write to the lower 32 bits of a 64 bit value without overwriting the whole value when using reg_write

* Fixed WRITE_DWORD macro

reg_write would zero out the high order bits when writing to 32 bit registers

e.g. uc.reg_write(UC_X86_REG_EAX, 0) would also set register RAX to zero
2017-01-15 20:13:35 +08:00
bindings Fixed circular refs preventing Uc instances from being GC'd. Added a test case, requires `objgraph` module. 2017-01-11 18:23:21 +03:00
docs make.sh builds fat binaries on MacOS by default 2016-12-20 11:37:53 +08:00
include reg_read and reg_write now work with registers W0 through W30 in Aarch64 (#716) 2017-01-15 20:13:35 +08:00
qemu reg_read and reg_write now work with registers W0 through W30 in Aarch64 (#716) 2017-01-15 20:13:35 +08:00
samples rename API uc_mem_free() to uc_free(). see #662 2017-01-10 20:59:14 +08:00
tests reg_read and reg_write now work with registers W0 through W30 in Aarch64 (#716) 2017-01-15 20:13:35 +08:00
.appveyor.yml CI: remove glib from Travis & Appveyor setup 2016-12-20 13:18:39 +08:00
.gitignore Windows: export a static lib that can be used outside of mingw (#699) 2016-12-27 16:30:07 +08:00
.travis.yml cleanup travis by removing universal builds (#702) 2016-12-30 00:09:08 +08:00
AUTHORS.TXT import 2015-08-21 15:04:50 +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
CREDITS.TXT update CREDITS.TXT 2016-10-22 00:24:59 +08:00
ChangeLog update ChangeLog for 1.0-rc2 2017-01-04 20:07:50 +08:00
Makefile Merge branch 'master' into noglib2 2016-12-27 16:48:23 +08:00
README.md add link to Perl binding 2016-09-22 08:46:25 +08:00
config.mk Fix document file extension 2016-08-08 17:33:49 +09:00
install-cmocka-linux.sh regress: link on Linux with -lrt 2016-12-26 14:16:56 +08:00
list.c fix memory corruption in list_remove 2016-03-25 20:28:23 -07:00
make.sh on MacOS, compile in Universal format by default 2016-12-19 22:07:38 +08:00
pkgconfig.mk Python: Automatically conform to PEP440 for version numbers 2017-01-04 05:51:55 -08:00
uc.c rename API uc_mem_free() to uc_free(). see #662 2017-01-10 20:59:14 +08:00
windows_export.bat Make the call out to visual studio extremely resilient 2017-01-02 03:32:48 -08:00

README.md

Unicorn Engine

Join the chat at https://gitter.im/unicorn-engine/chat

Build Status Build 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, SPARC, and X86 (16, 32, 64-bit)
  • Clean/simple/lightweight/intuitive architecture-neutral API
  • Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python, Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
  • 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.