1 unstable release
| 0.17.0-commit4ed86fb | Oct 20, 2025 |
|---|
#6 in #capstone
Used in 2 crates
(via capstone-git)
35MB
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
- Minimum Rust Version:
1.70.0 - A toolchain capable of compiling Capstone
- We build the bundled Capstone with the
cccrate
- We build the bundled Capstone with the
Features
You can specify the following features in Cargo.toml:
use_bindgen: instead of using the pre-generated Capstone bindings, dynamically generate bindings withbindgen.full(enabled by default): enable full capstone build instead of diet.arch_$ARCH(enabled by default): enable arch$ARCHsupport in capstone, e.g.arch_arm64enables arch arm64 support.support_all_archs(enabled by default): enable all archs available in capstone, imply allarch_$ARCHfeatures.