Struct minidump::format::CONTEXT_ARM64[][src]

pub struct CONTEXT_ARM64 {
    pub context_flags: u32,
    pub cpsr: u32,
    pub iregs: [u64; 32],
    pub pc: u64,
    pub float_save: FLOATING_SAVE_AREA_ARM64,
    pub bcr: [u32; 8],
    pub bvr: [u64; 8],
    pub wcr: [u32; 2],
    pub wvr: [u64; 2],
}
Expand description

An aarch64 (arm64) CPU context

This is a Breakpad extension, and does not match the definition of CONTEXT for aarch64 in WinNT.h.

Fields

context_flags: u32cpsr: u32iregs: [u64; 32]pc: u64float_save: FLOATING_SAVE_AREA_ARM64bcr: [u32; 8]bvr: [u64; 8]wcr: [u32; 2]wvr: [u64; 2]

Trait Implementations

impl Clone for CONTEXT_ARM64[src]

pub fn clone(&self) -> CONTEXT_ARM64[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl CpuContext for CONTEXT_ARM64[src]

type Register = u64

The word size of general-purpose registers in the context.

fn get_register_always(&self, reg: &str) -> u64[src]

Get a register value regardless of whether it is valid.

fn set_register(&mut self, reg: &str, val: Self::Register) -> Option<()>[src]

Set a register value, if that register name it exists. Read more

fn memoize_register(&self, reg: &str) -> Option<&'static str>[src]

Gets a static version of the given register name, if possible.

fn stack_pointer_register_name(&self) -> &'static str[src]

Gets the name of the stack pointer register (for use with get_register/set_register).

fn instruction_pointer_register_name(&self) -> &'static str[src]

Gets the name of the instruction pointer register (for use with get_register/set_register).

fn get_register(
    &self,
    reg: &str,
    valid: &MinidumpContextValidity
) -> Option<Self::Register>
[src]

Get a register value if it is valid. Read more

fn format_register(&self, reg: &str) -> String[src]

Return a String containing the value of reg formatted to its natural width.

impl Debug for CONTEXT_ARM64[src]

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Formats the value using the given formatter. Read more

impl SizeWith<Endian> for CONTEXT_ARM64[src]

pub fn size_with(ctx: &Endian) -> usize[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for CONTEXT_ARM64 where
    CONTEXT_ARM64: 'a, 
[src]

type Error = Error

pub fn try_from_ctx(
    src: &'a [u8],
    ctx: Endian
) -> Result<(CONTEXT_ARM64, usize), <CONTEXT_ARM64 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.