pub enum Register {
Show 27 variants
r15,
r14,
r13,
r12,
rbp,
rbx,
r11,
r10,
r9,
r8,
rax,
rcx,
rdx,
rsi,
rdi,
orig_rax,
rip,
cs,
eflags,
rsp,
ss,
fs_base,
gs_base,
ds,
es,
fs,
gs,
}Expand description
CPU register names for x86_64 architecture
Variants§
r15
r14
r13
r12
rbp
rbx
r11
r10
r9
r8
rax
rcx
rdx
rsi
rdi
orig_rax
rip
cs
eflags
rsp
ss
fs_base
gs_base
ds
es
fs
gs
Trait Implementations§
Source§impl TryFrom<Register> for Register
impl TryFrom<Register> for Register
Source§fn try_from(value: Register) -> Result<Self>
fn try_from(value: Register) -> Result<Self>
Converts a DWARF register number to the corresponding Register enum value.
The DWARF Register Number Mapping is defined in the amd64 ABI here: https://refspecs.linuxbase.org/elf/x86_64-abi-0.99.pdf#figure.3.36
Source§type Error = DebuggerError
type Error = DebuggerError
The type returned in the event of a conversion error.
impl Copy for Register
impl Eq for Register
impl StructuralPartialEq for Register
Auto Trait Implementations§
impl Freeze for Register
impl RefUnwindSafe for Register
impl Send for Register
impl Sync for Register
impl Unpin for Register
impl UnwindSafe for Register
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.