Enum atom_macho::reloc::X86_64RelocType
source · [−]pub enum X86_64RelocType {
Unsigned,
Signed,
Branch,
GotLoad,
Got,
Subtractor,
Signed1,
Signed2,
Signed4,
Tlv,
}
Variants
Unsigned
Absolute address
Signed
Signed 32-bit displacement
Branch
A CALL/JMP instruction with 32-bit displacement
GotLoad
A MOVQ load of a GOT entry
Got
Other GOT references
Subtractor
Must be followed by a X86_64RelocType::Unsigned relocation
Signed1
for signed 32-bit displacement with a -1 addend
Signed2
for signed 32-bit displacement with a -2 addend
Signed4
for signed 32-bit displacement with a -4 addend
Tlv
for thread local variables
Implementations
Trait Implementations
sourceimpl Clone for X86_64RelocType
impl Clone for X86_64RelocType
sourcefn clone(&self) -> X86_64RelocType
fn clone(&self) -> X86_64RelocType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for X86_64RelocType
impl Debug for X86_64RelocType
sourceimpl PartialEq<X86_64RelocType> for X86_64RelocType
impl PartialEq<X86_64RelocType> for X86_64RelocType
impl Copy for X86_64RelocType
impl Eq for X86_64RelocType
impl StructuralEq for X86_64RelocType
impl StructuralPartialEq for X86_64RelocType
Auto Trait Implementations
impl RefUnwindSafe for X86_64RelocType
impl Send for X86_64RelocType
impl Sync for X86_64RelocType
impl Unpin for X86_64RelocType
impl UnwindSafe for X86_64RelocType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more