Low-level, unsafe Rust bindings for the capstone
disassembly library.
capstone
(see the make.sh
script)capstone
dynamic library (specify the use_system_capstone
feature)capstone-sys
will build differently based on features that are specified in Cargo.toml
.
capstone-sys
supports the following features:
use_system_capstone
: use the system capstone instead of the bundled copy of the capstone
library.
capstone
is already installed on the systemcapstone
build_capstone_cmake
: if using the bundled capstone
library, then build capstone
using cmake
.use_bindgen
: instead of using the pre-generated capstone bindings, dynamically generate bindings with bindgen
.