unicorn-rs
Rust bindings for the unicorn CPU emulator.
extern crate unicorn;
use ;
Installation
This project has been tested on Linux. The bindings are built for the master version of the unicorn git (currently at 1.0).
To use this package, first install unicorn from git :
- Clone unicorn from git with
git clone https://github.com/unicorn-engine/unicorn
. - Build and install with
make.sh
andmake.sh install
.
Then simply add it as dependency to the Cargo.toml of your program.
[dependencies]
unicorn = "0.1.0"
Changelog
0.3.0
The handling of callbacks has been modified, callbacks should be implemented using closures. See the tests for examples.
- added support for interrupt, in/out and sysenter callbacks
Contributing
Contributions to this project are super appreciated. Pull requests, bug reports, code review, tests, documentation or feedback on your use of the bindings, nothing is too small. Don't hesitate to open an issue if you have questions.
Contributors:
- Sébastien Duquette (@ekse)
- Israel Hallé (@isra17) for redesigning the callbacks API
- Richo Healey (@richo)
- petevine for reviewing the project and adding tests
- jschievink for his help with the API design