Charles Ferguson 1ba59ed70a Clear Python pending hook exception before we enter the emulation.
The pending exception hook is set when the hook raised an exception
and wants to report it outside the emulation loop. However, it is
never cleared back to None. This means that after an exception is
raised in a hook, all subsequent execution (even if successful) will
raise the exception.

This change clears the exception before we start another emulation,
which should ensure that if we have _hook_exception set, it really
is from hooks in this emulation run.
2022-01-15 17:45:45 +00:00
2021-12-22 20:45:15 +01:00
2021-10-14 00:00:10 +08:00
2022-01-10 15:16:10 +01:00
2021-10-03 22:14:44 +08:00
2022-01-14 19:37:48 +01:00
2022-01-14 19:37:48 +01:00
2021-11-21 12:48:52 +01:00
2015-08-21 15:04:50 +08:00
2017-09-30 17:36:44 +07:00
2021-10-03 22:37:22 +08:00
2015-08-21 15:04:50 +08:00
2016-12-27 10:15:08 +08:00
2021-10-17 18:18:09 +08:00
2021-11-07 20:24:50 +01:00
2021-10-03 22:14:44 +08:00
2021-10-06 04:49:18 +08:00
2021-10-06 12:52:52 +02:00
2021-12-04 23:22:42 +01: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, 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.

Description
No description provided
Readme 13 MiB
Languages
TypeScript 100%