Enum lief::coff::relocation::Type

pub enum Type {
Show 79 variants I386_ABSOLUTE, I386_DIR16, I386_REL16, I386_DIR32, I386_DIR32NB, I386_SEG12, I386_SECTION, I386_SECREL, I386_TOKEN, I386_SECREL7, I386_REL32, AMD64_ABSOLUTE, AMD64_ADDR64, AMD64_ADDR32, AMD64_ADDR32NB, AMD64_REL32, AMD64_REL32_1, AMD64_REL32_2, AMD64_REL32_3, AMD64_REL32_4, AMD64_REL32_5, AMD64_SECTION, AMD64_SECREL, AMD64_SECREL7, AMD64_TOKEN, AMD64_SREL32, AMD64_PAIR, AMD64_SSPAN32, ARM_ABSOLUTE, ARM_ADDR32, ARM_ADDR32NB, ARM_BRANCH24, ARM_BRANCH11, ARM_TOKEN, ARM_BLX24, ARM_BLX11, ARM_REL32, ARM_SECTION, ARM_SECREL, ARM_MOV32A, ARM_MOV32T, ARM_BRANCH20T, ARM_BRANCH24T, ARM_BLX23T, ARM_PAIR, ARM64_ABSOLUTE, ARM64_ADDR32, ARM64_ADDR32NB, ARM64_BRANCH26, ARM64_PAGEBASE_REL21, ARM64_REL21, ARM64_PAGEOFFSET_12A, ARM64_PAGEOFFSET_12L, ARM64_SECREL, ARM64_SECREL_LOW12A, ARM64_SECREL_HIGH12A, ARM64_SECREL_LOW12L, ARM64_TOKEN, ARM64_SECTION, ARM64_ADDR64, ARM64_BRANCH19, ARM64_BRANCH14, ARM64_REL32, MIPS_ABSOLUTE, MIPS_REFHALF, MIPS_REFWORD, MIPS_JMPADDR, MIPS_REFHI, MIPS_REFLO, MIPS_GPREL, MIPS_LITERAL, MIPS_SECTION, MIPS_SECREL, MIPS_SECRELLO, MIPS_SECRELHI, MIPS_JMPADDR16, MIPS_REFWORDNB, MIPS_PAIR, UNKNOWN(u32),
}

Variants§

§

I386_ABSOLUTE

§

I386_DIR16

§

I386_REL16

§

I386_DIR32

§

I386_DIR32NB

§

I386_SEG12

§

I386_SECTION

§

I386_SECREL

§

I386_TOKEN

§

I386_SECREL7

§

I386_REL32

§

AMD64_ABSOLUTE

§

AMD64_ADDR64

§

AMD64_ADDR32

§

AMD64_ADDR32NB

§

AMD64_REL32

§

AMD64_REL32_1

§

AMD64_REL32_2

§

AMD64_REL32_3

§

AMD64_REL32_4

§

AMD64_REL32_5

§

AMD64_SECTION

§

AMD64_SECREL

§

AMD64_SECREL7

§

AMD64_TOKEN

§

AMD64_SREL32

§

AMD64_PAIR

§

AMD64_SSPAN32

§

ARM_ABSOLUTE

§

ARM_ADDR32

§

ARM_ADDR32NB

§

ARM_BRANCH24

§

ARM_BRANCH11

§

ARM_TOKEN

§

ARM_BLX24

§

ARM_BLX11

§

ARM_REL32

§

ARM_SECTION

§

ARM_SECREL

§

ARM_MOV32A

§

ARM_MOV32T

§

ARM_BRANCH20T

§

ARM_BRANCH24T

§

ARM_BLX23T

§

ARM_PAIR

§

ARM64_ABSOLUTE

§

ARM64_ADDR32

§

ARM64_ADDR32NB

§

ARM64_BRANCH26

§

ARM64_PAGEBASE_REL21

§

ARM64_REL21

§

ARM64_PAGEOFFSET_12A

§

ARM64_PAGEOFFSET_12L

§

ARM64_SECREL

§

ARM64_SECREL_LOW12A

§

ARM64_SECREL_HIGH12A

§

ARM64_SECREL_LOW12L

§

ARM64_TOKEN

§

ARM64_SECTION

§

ARM64_ADDR64

§

ARM64_BRANCH19

§

ARM64_BRANCH14

§

ARM64_REL32

§

MIPS_ABSOLUTE

§

MIPS_REFHALF

§

MIPS_REFWORD

§

MIPS_JMPADDR

§

MIPS_REFHI

§

MIPS_REFLO

§

MIPS_GPREL

§

MIPS_LITERAL

§

MIPS_SECTION

§

MIPS_SECREL

§

MIPS_SECRELLO

§

MIPS_SECRELHI

§

MIPS_JMPADDR16

§

MIPS_REFWORDNB

§

MIPS_PAIR

§

UNKNOWN(u32)

Trait Implementations§

§

impl Clone for Type

§

fn clone(&self) -> Type

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
§

impl Debug for Type

§

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

Formats the value using the given formatter. Read more
§

impl From<Type> for u32

§

fn from(value: Type) -> u32

Converts to this type from the input type.
§

impl From<u32> for Type

§

fn from(value: u32) -> Self

Converts to this type from the input type.
§

impl Hash for Type

§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq<Type> for Type

§

fn eq(&self, other: &Type) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Type

§

impl Eq for Type

§

impl StructuralEq for Type

§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.