# keystone-rs **Repository Path**: udbg/keystone-rs ## Basic Information - **Project Name**: keystone-rs - **Description**: https://github.com/tathanhdinh/keystone-rs - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # keystone-rs Yet another Rust binding for [Keystone](http://www.keystone-engine.org/) assembler framework. ## Features - Hierarchical architecture: low-level binding is done by [keystone-sys](keystone-sys) - Fully wrapped and reexported types: no more low-level stuffs - Zero-copy: no additional memory allocation - Windows support ## Sample ```rust use keystone::*; fn main() { let engine = Keystone::from(Arch::X86, Mode::Bit32) .expect("Unable to initialize Keystone engine"); engine.option(OptionType::Syntax, OptionValue::SyntaxNasm) .expect("Unable to set NASM syntax"); let asm = engine.asm("mov ebp, esp", 0x4000) .expect("Unable to assemble"); println!("{}", asm); } ``` ## Contributors - [@mteyssier](https://github.com/mteyssier) - [@Bobo1239](https://github.com/Bobo1239) ## Acknowledgments - Remco Verhoef (@remco_verhoef) for the [original work](https://github.com/keystone-engine/keystone/tree/master/bindings/rust) - Some wrapper macros from [capstone-rs](https://github.com/capstone-rust/capstone-rs)