Expand description
Unsafe Rust bindings for the Keystone Engine assembler library.
Structs§
- KsEngine
- Opaque type for the keystone engine.
- Mode
- Mode type.
- Option
Value - Runtime option value (associated with OptionType above)
Enums§
- Arch
- Architecture type.
- Error
- All type of errors encountered by Keystone API.
- Option
Type - Runtime option for the Keystone engine.
Constants§
Functions§
- ks_
arch_ ⚠supported - Determines if the given architecture is supported by this library.
- ks_asm⚠
- Assembles a program from an input string containing assembly instructions.
- ks_
close ⚠ - Closes the Keystone instance.
- ks_
errno ⚠ - Reports the latest error number after an API call failed.
- ks_free⚠
- Frees memory allocated by ks_asm().
- ks_open⚠
- Crates a new instance of the Keystone engine.
- ks_
option ⚠ - Sets an option of the Keystone engine after the instance has been created.
- ks_
strerror ⚠ - Returns a string describing the given error code.
- ks_
version ⚠ - Returns the combined API version, as well as the major and minor version numbers.