#[repr(C)]
pub struct disassemble_info {
Show 32 fields pub fprintf_func: fprintf_function, pub stream: *mut FILE, pub application_data: PTR, pub flavour: bfd_flavour, pub arch: bfd_architecture, pub mach: c_ulong, pub endian: bfd_endian, pub symbols: *mut *mut asymbol, pub num_symbols: c_int, pub flags: c_ulong, pub private_data: PTR, pub read_memory_func: Option<unsafe extern "C" fn(memaddr: bfd_vma, myaddr: *mut bfd_byte, length: c_int, info: *mut disassemble_info) -> c_int>, pub read_memory_inner_func: Option<unsafe extern "C" fn(memaddr: bfd_vma, myaddr: *mut bfd_byte, length: c_int, info: *mut disassemble_info) -> c_int>, pub memory_error_func: Option<unsafe extern "C" fn(status: c_int, memaddr: bfd_vma, info: *mut disassemble_info)>, pub print_address_func: Option<unsafe extern "C" fn(addr: bfd_vma, info: *mut disassemble_info)>, pub print_insn: Option<unsafe extern "C" fn(addr: bfd_vma, info: *mut disassemble_info) -> c_int>, pub symbol_at_address_func: Option<unsafe extern "C" fn(addr: bfd_vma, info: *mut disassemble_info) -> c_int>, pub buffer: *mut bfd_byte, pub buffer_vma: bfd_vma, pub buffer_length: c_int, pub bytes_per_line: c_int, pub bytes_per_chunk: c_int, pub display_endian: bfd_endian, pub insn_info_valid: c_char, pub branch_delay_insns: c_char, pub data_size: c_char, pub insn_type: dis_insn_type, pub target: bfd_vma, pub target2: bfd_vma, pub disassembler_options: *mut c_char, pub cap_arch: c_int, pub cap_mode: c_int,
}

Fields§

§fprintf_func: fprintf_function§stream: *mut FILE§application_data: PTR§flavour: bfd_flavour§arch: bfd_architecture§mach: c_ulong§endian: bfd_endian§symbols: *mut *mut asymbol§num_symbols: c_int§flags: c_ulong§private_data: PTR§read_memory_func: Option<unsafe extern "C" fn(memaddr: bfd_vma, myaddr: *mut bfd_byte, length: c_int, info: *mut disassemble_info) -> c_int>§read_memory_inner_func: Option<unsafe extern "C" fn(memaddr: bfd_vma, myaddr: *mut bfd_byte, length: c_int, info: *mut disassemble_info) -> c_int>§memory_error_func: Option<unsafe extern "C" fn(status: c_int, memaddr: bfd_vma, info: *mut disassemble_info)>§print_address_func: Option<unsafe extern "C" fn(addr: bfd_vma, info: *mut disassemble_info)>§print_insn: Option<unsafe extern "C" fn(addr: bfd_vma, info: *mut disassemble_info) -> c_int>§symbol_at_address_func: Option<unsafe extern "C" fn(addr: bfd_vma, info: *mut disassemble_info) -> c_int>§buffer: *mut bfd_byte§buffer_vma: bfd_vma§buffer_length: c_int§bytes_per_line: c_int§bytes_per_chunk: c_int§display_endian: bfd_endian§insn_info_valid: c_char§branch_delay_insns: c_char§data_size: c_char§insn_type: dis_insn_type§target: bfd_vma§target2: bfd_vma§disassembler_options: *mut c_char§cap_arch: c_int§cap_mode: c_int

Trait Implementations§

source§

impl Clone for disassemble_info

source§

fn clone(&self) -> disassemble_info

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for disassemble_info

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for disassemble_info

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.