Go to file
Takacs, Philipp ed9164e47a rust only add mmio callback funktion, if callback is requested
The C function uc_mmio_map() allows to add seperate callback functions
and userdata for read and write. When the callback functions are NULL
unicorn don't try to call this functions.

Previous this patch, when i.e. read_callback was None the callback was set
to mmio_read_callback_proxy and the userdata was set to NULL. On a callback
the mmio_read_callback_proxy then tried to dereference the userdata and
caused a segfault.

fixes #1762
2023-01-23 13:22:55 +01:00
.github/workflows Add help wanted tag 2022-10-09 14:18:55 +02:00
bindings rust only add mmio callback funktion, if callback is requested 2023-01-23 13:22:55 +01:00
docs Update FAQ 2022-11-01 10:04:59 +01:00
glib_compat Basic implementation of uc_ctl 2021-11-01 00:39:36 +01:00
include Bump version to 2.0.1 2022-11-01 10:06:22 +01:00
msvc TriCore Support (#1568) 2022-04-29 23:11:34 +02:00
qemu remove unused code in PPC & dis-asm.h 2022-12-07 01:36:44 +08:00
samples samples: fix a typo 2022-10-12 14:39:10 +08:00
tests Fix endianess detection 2022-11-16 15:16:49 +01:00
.clang-format Add clang-format and format code to qemu code style 2021-10-29 12:44:49 +02:00
.gitignore Add TriCore constants to Rust bindings 2022-05-11 17:29:03 +08:00
.gitmodules Change git url to https url to avoid git submodule clone error 2022-01-18 21:09:01 +01:00
AUTHORS.TXT import 2015-08-21 15:04:50 +08:00
Brewfile Update Brewfile 2017-09-30 17:36:44 +07:00
bundle_static.cmake Merge remote-tracking branch 'origin/dev' into mrexodia-msvc-find-lib 2022-05-03 00:08:47 +02:00
Cargo.toml Bump version to 2.0.1 2022-11-01 10:06:22 +01:00
ChangeLog Update changelog 2022-10-31 16:09:06 +01:00
CMakeLists.txt Update CMakeLists versions 2022-11-16 15:01:49 +01: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 Merge branch 'dev' into patch 2021-10-17 18:18:09 +08:00
format.sh Format unicorn_arm and unicorn_aarch64 2021-11-01 10:17:58 +01:00
go.mod add rpath and go.mod 2021-11-07 20:24:50 +01:00
list.c Fix possible leak in hooks 2022-02-12 16:28:43 +01:00
mingw-w64.cmake import Unicorn2 2021-10-03 22:14:44 +08:00
README.md Update README.md 2022-04-30 10:13:59 +08:00
SECURITY.md Update SECURITY.md 2022-10-31 12:35:37 +08:00
symbols.sh Merge pull request #1668 from Yu3H0/fix_tricore_pc_problem 2022-07-26 22:08:43 +08:00
TODO Update TODO 2021-10-06 12:52:52 +02:00
uc.c IP register is 2 bytes 2022-10-28 17:44:17 +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, 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, and Lua.
  • 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.

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.