Struct capstone_sys::cs_insn [] [src]

pub struct cs_insn {
    pub id: c_uint,
    pub address: u64,
    pub size: u16,
    pub bytes: [u8; 16usize],
    pub mnemonic: [c_char; 32usize],
    pub op_str: [c_char; 160usize],
    pub detail: *mut cs_detail,
}

Information on a disassembled instruction

Fields

id

Architecture-dependent instruction identifier, see <ARCH>_INS_*

address

Base address

size

Size of the instruction

bytes

Bytes of the instruction

mnemonic

C-string of the mnemonic

op_str

C-string of the operands

detail

More details available if option CS_OPTION_DETAIL is on and if option CS_OPTION_SKIPDATA is not on