gimli

Struct X86_64

source
pub struct X86_64;
Expand description

AMD64 architecture specific definitions.

See x86-64 psABI version 1.0 at the X86 psABI wiki.

Implementations§

source§

impl X86_64

source

pub const RAX: Register = _

source

pub const RDX: Register = _

source

pub const RCX: Register = _

source

pub const RBX: Register = _

source

pub const RSI: Register = _

source

pub const RDI: Register = _

source

pub const RBP: Register = _

source

pub const RSP: Register = _

source

pub const R8: Register = _

source

pub const R9: Register = _

source

pub const R10: Register = _

source

pub const R11: Register = _

source

pub const R12: Register = _

source

pub const R13: Register = _

source

pub const R14: Register = _

source

pub const R15: Register = _

source

pub const RA: Register = _

source

pub const XMM0: Register = _

source

pub const XMM1: Register = _

source

pub const XMM2: Register = _

source

pub const XMM3: Register = _

source

pub const XMM4: Register = _

source

pub const XMM5: Register = _

source

pub const XMM6: Register = _

source

pub const XMM7: Register = _

source

pub const XMM8: Register = _

source

pub const XMM9: Register = _

source

pub const XMM10: Register = _

source

pub const XMM11: Register = _

source

pub const XMM12: Register = _

source

pub const XMM13: Register = _

source

pub const XMM14: Register = _

source

pub const XMM15: Register = _

source

pub const ST0: Register = _

source

pub const ST1: Register = _

source

pub const ST2: Register = _

source

pub const ST3: Register = _

source

pub const ST4: Register = _

source

pub const ST5: Register = _

source

pub const ST6: Register = _

source

pub const ST7: Register = _

source

pub const MM0: Register = _

source

pub const MM1: Register = _

source

pub const MM2: Register = _

source

pub const MM3: Register = _

source

pub const MM4: Register = _

source

pub const MM5: Register = _

source

pub const MM6: Register = _

source

pub const MM7: Register = _

source

pub const RFLAGS: Register = _

source

pub const ES: Register = _

source

pub const CS: Register = _

source

pub const SS: Register = _

source

pub const DS: Register = _

source

pub const FS: Register = _

source

pub const GS: Register = _

source

pub const FS_BASE: Register = _

source

pub const GS_BASE: Register = _

source

pub const TR: Register = _

source

pub const LDTR: Register = _

source

pub const MXCSR: Register = _

source

pub const FCW: Register = _

source

pub const FSW: Register = _

source

pub const XMM16: Register = _

source

pub const XMM17: Register = _

source

pub const XMM18: Register = _

source

pub const XMM19: Register = _

source

pub const XMM20: Register = _

source

pub const XMM21: Register = _

source

pub const XMM22: Register = _

source

pub const XMM23: Register = _

source

pub const XMM24: Register = _

source

pub const XMM25: Register = _

source

pub const XMM26: Register = _

source

pub const XMM27: Register = _

source

pub const XMM28: Register = _

source

pub const XMM29: Register = _

source

pub const XMM30: Register = _

source

pub const XMM31: Register = _

source

pub const K0: Register = _

source

pub const K1: Register = _

source

pub const K2: Register = _

source

pub const K3: Register = _

source

pub const K4: Register = _

source

pub const K5: Register = _

source

pub const K6: Register = _

source

pub const K7: Register = _

source§

impl X86_64

source

pub fn register_name(register: Register) -> Option<&'static str>

The name of a register, or None if the register number is unknown.

Only returns the primary name for registers that alias with others.

source

pub fn name_to_register(value: &str) -> Option<Register>

Converts a register name into a register number.

Trait Implementations§

source§

impl Clone for X86_64

source§

fn clone(&self) -> X86_64

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for X86_64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for X86_64

Auto Trait Implementations§

§

impl Freeze for X86_64

§

impl RefUnwindSafe for X86_64

§

impl Send for X86_64

§

impl Sync for X86_64

§

impl Unpin for X86_64

§

impl UnwindSafe for X86_64

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.