Struct vtil_parser::RegisterDesc [−][src]
pub struct RegisterDesc {
pub flags: RegisterFlags,
pub combined_id: u64,
pub bit_count: i32,
pub bit_offset: i32,
}Describes a VTIL register in an operand
Fields
flags: RegisterFlagsFlags describing the register
combined_id: u64Identifier for this register, use RegisterDesc::local_id
bit_count: i32The bit count of this register (e.g.: 32)
bit_offset: i32The bit offset of register access
Implementations
impl RegisterDesc[src]
impl RegisterDesc[src]pub const UNDEFINED: RegisterDesc[src]
pub const UNDEFINED: RegisterDesc[src]Undefined register
pub const IMGBASE: RegisterDesc[src]
pub const IMGBASE: RegisterDesc[src]Image base register
pub const FLAGS: RegisterDesc[src]
pub const FLAGS: RegisterDesc[src]Flags register
pub const SP: RegisterDesc[src]
pub const SP: RegisterDesc[src]Stack pointer register
pub fn arch_id(&self) -> ArchitectureIdentifier[src]
pub fn arch_id(&self) -> ArchitectureIdentifier[src]The underlying architecture of this register
Trait Implementations
impl Clone for RegisterDesc[src]
impl Clone for RegisterDesc[src]fn clone(&self) -> RegisterDesc[src]
fn clone(&self) -> RegisterDesc[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for RegisterDesc[src]
impl Debug for RegisterDesc[src]impl Display for RegisterDesc[src]
impl Display for RegisterDesc[src]impl From<RegisterDesc> for Operand[src]
impl From<RegisterDesc> for Operand[src]fn from(register_desc: RegisterDesc) -> Self[src]
fn from(register_desc: RegisterDesc) -> Self[src]Performs the conversion.
impl SizeWith<RegisterDesc> for RegisterDesc[src]
impl SizeWith<RegisterDesc> for RegisterDesc[src]fn size_with(_reg: &RegisterDesc) -> usize[src]
impl TryFromCtx<'_, Endian, [u8]> for RegisterDesc[src]
impl TryFromCtx<'_, Endian, [u8]> for RegisterDesc[src]impl<'a, 'b> TryInto<&'b RegisterDesc> for &'a Operand where
'a: 'b, [src]
impl<'a, 'b> TryInto<&'b RegisterDesc> for &'a Operand where
'a: 'b, [src]fn try_into(self) -> Result<&'a RegisterDesc>[src]
fn try_into(self) -> Result<&'a RegisterDesc>[src]Performs the conversion.
impl TryIntoCtx<Endian, [u8]> for RegisterDesc[src]
impl TryIntoCtx<Endian, [u8]> for RegisterDesc[src]impl Copy for RegisterDesc[src]
Auto Trait Implementations
impl RefUnwindSafe for RegisterDesc
impl Send for RegisterDesc
impl Sync for RegisterDesc
impl Unpin for RegisterDesc
impl UnwindSafe for RegisterDesc
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more