Struct idalib_sys::processor::processor_t
#[repr(C, align(8))]pub struct processor_t { /* private fields */ }
Expand description
Describes a processor module (IDP). An IDP file may have only one such structure called LPH. The kernel will copy it to dbctx_t::ph.
Implementations§
§impl processor_t
impl processor_t
pub unsafe fn auto_queue_empty(type_: c_int)
pub unsafe fn set_idp_options( keyword: *const c_char, vtype: c_int, value: *const c_void, idb_loaded: bool, ) -> *const c_char
pub unsafe fn realcvt( m: *mut c_void, e: *mut fpvalue_t, swt: c_ushort, ) -> fpvalue_error_t
pub unsafe fn get_code16_mode(ea: c_ulonglong) -> bool
pub unsafe fn get_reg_info(
regname: *const c_char,
bitrange: *mut bitrange_t,
) -> *const c_char
pub unsafe fn get_reg_info( regname: *const c_char, bitrange: *mut bitrange_t, ) -> *const c_char
Get register information - useful for registers like al, ah, dil, etc. Example: this function for “al” returns “eax” in 32bit mode \return main register name (nullptr no such register)
pub unsafe fn get_regfinder() -> *mut reg_finder_t
pub unsafe fn is_canon_insn(self: &processor_t, itype: c_ushort) -> bool
pub unsafe fn is_canon_insn(self: &processor_t, itype: c_ushort) -> bool
Does the given value specify a valid instruction for this instruction set?. See #instruc_start and #instruc_end
pub unsafe fn get_canon_mnem(
self: &processor_t,
itype: c_ushort,
) -> *const c_char
pub unsafe fn get_canon_mnem( self: &processor_t, itype: c_ushort, ) -> *const c_char
Get the instruction name
pub unsafe fn get_canon_feature(self: &processor_t, itype: c_ushort) -> c_uint
pub unsafe fn get_canon_feature(self: &processor_t, itype: c_ushort) -> c_uint
Get the instruction features (combination of \ref CF_)
§impl processor_t
impl processor_t
pub unsafe fn has_idp_opts(&self) -> bool
§impl processor_t
impl processor_t
pub unsafe fn has_segregs(&self) -> bool
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
pub unsafe fn use_mappings(&self) -> bool
§impl processor_t
impl processor_t
pub unsafe fn has_code16_bit(&self) -> bool
§impl processor_t
impl processor_t
pub unsafe fn supports_macros(&self) -> bool
§impl processor_t
impl processor_t
pub unsafe fn supports_calcrel(&self) -> bool
§impl processor_t
impl processor_t
pub unsafe fn calcrel_in_bits(&self) -> bool
§impl processor_t
impl processor_t
pub unsafe fn get_default_segm_bitness(&self, is_64bit_app: bool) -> c_int
pub unsafe fn get_default_segm_bitness(&self, is_64bit_app: bool) -> c_int
Get default segment bitness \retval 2 #PR_DEFSEG64 \retval 1 #PR_DEFSEG32 \retval 0 none specified
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
pub unsafe fn get_proc_index(self: Pin<&mut Self>) -> c_int
pub unsafe fn get_proc_index(self: Pin<&mut Self>) -> c_int
@}
§impl processor_t
impl processor_t
§impl processor_t
impl processor_t
pub unsafe fn get_stkvar_scale(self: Pin<&mut Self>) -> c_int
pub unsafe fn get_stkvar_scale(self: Pin<&mut Self>) -> c_int
Get the stack variable scaling factor. Useful for processors who refer to the stack with implicit scaling factor. TMS320C55 for example: SP(#1) really refers to (SP+2)
§impl processor_t
impl processor_t
pub unsafe fn sizeof_ldbl(&self) -> usize
pub unsafe fn sizeof_ldbl(&self) -> usize
Get size of long double
Trait Implementations§
§impl Drop for processor_t
impl Drop for processor_t
§fn drop(self: &mut processor_t)
fn drop(self: &mut processor_t)
Synthesized destructor.