Struct capstone::Insn [−][src]
pub struct Insn<'a> { /* fields omitted */ }
A wrapper for the raw capstone-sys instruction
Methods
impl<'a> Insn<'a>
[src]
impl<'a> Insn<'a>
pub fn mnemonic(&self) -> Option<&str>
[src]
pub fn mnemonic(&self) -> Option<&str>
The mnemonic for the instruction
pub fn op_str(&self) -> Option<&str>
[src]
pub fn op_str(&self) -> Option<&str>
The operand string associated with the instruction
pub fn id(&self) -> InsnId
[src]
pub fn id(&self) -> InsnId
Access instruction id
pub fn address(&self) -> u64
[src]
pub fn address(&self) -> u64
Instruction address
pub fn bytes(&self) -> &[u8]
[src]
pub fn bytes(&self) -> &[u8]
Byte-level representation of the instruction
Trait Implementations
impl<'a> Debug for Insn<'a>
[src]
impl<'a> Debug for Insn<'a>
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a> Display for Insn<'a>
[src]
impl<'a> Display for Insn<'a>