Struct capstone_rust::capstone::InstrBuf [] [src]

pub struct InstrBuf { /* fields omitted */ }

Buffer of disassembled instructions.

Provides a Rust-friendly interface to read the buffer of instructions disassembled by Capstone.

Methods

impl InstrBuf
[src]

[src]

Create an InstrBuf from a pointer to a cs_insn buffer. count is the number of instructions in insn. decode_detail states if details are available for the instructions in insn, if true Instr created by get will have Details. arch is the architecture to use to interpret the arch-specific part of cs_detail.

[src]

Get the number of instructions in this buffer.

[src]

Get the instruction at the requested index.

Important traits for InstrIter<'a>
[src]

Create an iterator from the beginning of this buffer.

Trait Implementations

impl Drop for InstrBuf
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for InstrBuf

impl !Sync for InstrBuf