capstone-sys

Crates.iocapstone-sys
lib.rscapstone-sys
version0.18.0
created_at2016-11-12 06:38:49.679079+00
updated_at2026-01-04 09:20:14.394869+00
descriptionSystem bindings to the capstone disassembly library
homepage
repositoryhttps://github.com/capstone-rust/capstone-rs/tree/master/capstone-sys
max_upload_size
id7211
size55,054,385
Travis Finkenauer (tmfink)

documentation

README

capstone-sys

Low-level, unsafe Rust bindings for the Capstone disassembly library.

Crates.io Badge

API Documentation

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 cc crate

Features

You can specify the following features in Cargo.toml:

  • use_bindgen: instead of using the pre-generated Capstone bindings, dynamically generate bindings with bindgen.
  • full (enabled by default): enable full capstone build instead of diet.
  • arch_$ARCH (enabled by default): enable arch $ARCH support in capstone, e.g. arch_arm64 enables arch arm64 support.
  • support_all_archs (enabled by default): enable all archs available in capstone, imply all arch_$ARCH features.
Commit count: 535

cargo fmt