Struct libcapstone_sys::Capstone [] [src]

pub struct Capstone { /* fields omitted */ }

An instance of Capstone represents an instance of the capstone engine.

Methods

impl Capstone
[src]

[src]

new returns a new instance of the capstone engine with the given architecture and mode used.

[src]

disasm disassembles the given code at the given address. It disassembles count instructions. If count is 0, then as many instructions as possible are disassembled.

[src]

disasm_all disassembles as many instructions as possible in the given code at the given address.

[src]

error returns the current error as a String. This may return None, if there is no error, or the conversion to a String failed.

[src]

Returns the name of the given group.

[src]

Returns whether the given instruction belongs to the given group.

[src]

Returns the name of the given instruction.

[src]

option sets the given option type_ to the given value.

[src]

Returns the name of the given register.

[src]

Returns whether the given register is read by the given instruction.

[src]

Returns whether the given register is written by the given instruction.

Trait Implementations

impl Drop for Capstone
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Capstone

impl Sync for Capstone