14 breaking releases
0.16.0 | Feb 25, 2024 |
---|---|
0.15.0 | May 2, 2022 |
0.14.0 | Aug 9, 2021 |
0.13.0 | Jul 14, 2021 |
0.2.0 | Nov 15, 2016 |
#192 in Debugging
102,937 downloads per month
Used in 49 crates
(4 directly)
32MB
1M
SLoC
capstone-sys
Low-level, unsafe Rust bindings for the Capstone
disassembly library.
NOTE: We recommend against using this crate directly. Instead, consider using capstone-rs, which provides a high-level, "Rusty" interface.
Requirements
- Rust version >= 1.50.0
- A toolchain capable of compiling Capstone
- We build the bundled Capstone with the
cc
crate
- We build the bundled Capstone with the
Supported Platforms
Platform | Supported |
---|---|
x86_64-apple-darwin |
X |
i686-apple-darwin |
X |
x86_64-pc-windows-msvc |
X |
x86_64-pc-windows-gnu |
X |
i686-pc-windows-msvc |
X |
i686-pc-windows-gnu |
X |
x86_64-unknown-linux-gnu |
X |
i686-unknown-linux-gnu |
X |
x86_64-unknown-freebsd |
X |
Features
You can specify the following features in Cargo.toml
:
use_bindgen
: instead of using the pre-generated Capstone bindings, dynamically generate bindings withbindgen
.