pub enum AArch64Instruction {
Adr,
Movkz,
Movnz,
Ldr,
LdrRegister,
Add,
LdSt,
TstBr,
Bcond,
JumpCall,
MachOLow12,
}Variants§
Implementations§
Source§impl AArch64Instruction
impl AArch64Instruction
pub fn write_to_value( self, extracted_value: u64, negative: bool, dest: &mut [u8], )
Sourcepub fn read_value(self, bytes: &[u8]) -> (u64, bool)
pub fn read_value(self, bytes: &[u8]) -> (u64, bool)
The inverse of write_to_value. Returns (extracted_value, negative). Supplied bytes
must be at least 4 bytes, otherwise we panic.
Trait Implementations§
Source§impl Clone for AArch64Instruction
impl Clone for AArch64Instruction
Source§fn clone(&self) -> AArch64Instruction
fn clone(&self) -> AArch64Instruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AArch64Instruction
impl Debug for AArch64Instruction
Source§impl PartialEq for AArch64Instruction
impl PartialEq for AArch64Instruction
Source§fn eq(&self, other: &AArch64Instruction) -> bool
fn eq(&self, other: &AArch64Instruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AArch64Instruction
impl Eq for AArch64Instruction
impl StructuralPartialEq for AArch64Instruction
Auto Trait Implementations§
impl Freeze for AArch64Instruction
impl RefUnwindSafe for AArch64Instruction
impl Send for AArch64Instruction
impl Sync for AArch64Instruction
impl Unpin for AArch64Instruction
impl UnsafeUnpin for AArch64Instruction
impl UnwindSafe for AArch64Instruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more