Zydis Rust Bindings
Rust language bindings for the Zydis library, a fast and lightweight x86/x86-64 disassembler.
Building
Please make sure you have at least Rust 1.30 installed. Then, just invoke:
cargo build
Or, probably more common, add a dependency to your Cargo.toml
:
[]
= "3.0"
Example
extern crate zydis;
use *;
static CODE: &'static = &;
Output
0x0000000000000000 push rcx
0x0000000000000001 lea eax, [rbp-0x01]
0x0000000000000004 push rax
0x0000000000000005 push [rbp+0x0C]
0x0000000000000008 push [rbp+0x08]
0x000000000000000B call [0x000000007648A5B1]
0x0000000000000011 test eax, eax
0x0000000000000013 js 0x000000000002DB15
Version Map
Bindings | Zydis |
---|---|
v3.0.0 | v3.0.0 |
v0.0.4 | v2.0.2 |
v0.0.3 | v2.0.0-develop@e967510 |
v0.0.2 | v2.0.0-alpha2 |
v0.0.1 | v2.0.0-develop@4a79d57 |