Enum lief::elf::header::Arch

pub enum Arch {
Show 179 variants NONE, M32, SPARC, I386, M68K, M88K, IAMCU, I860, MIPS, S370, MIPS_RS3_LE, PARISC, VPP500, SPARC32PLUS, I60, PPC, PPC64, S390, SPU, V800, FR20, RH32, RCE, ARM, ALPHA, SH, SPARCV9, TRICORE, ARC, H8_300, H8_300H, H8S, H8_500, IA_64, MIPS_X, COLDFIRE, M68HC12, MMA, PCP, NCPU, NDR1, STARCORE, ME16, ST100, TINYJ, X86_64, PDSP, PDP10, PDP11, FX66, ST9PLUS, ST7, M68HC16, M68HC11, M68HC08, M68HC05, SVX, ST19, VAX, CRIS, JAVELIN, FIREPATH, ZSP, MMIX, HUANY, PRISM, AVR, FR30, D10V, D30V, V850, M32R, MN10300, MN10200, PJ, OPENRISC, ARC_COMPACT, XTENSA, VIDEOCORE, TMM_GPP, NS32K, TPC, SNP1K, ST200, IP2K, MAX, CR, F2MC16, MSP430, BLACKFIN, SE_C33, SEP, ARCA, UNICORE, EXCESS, DXP, ALTERA_NIOS2, CRX, XGATE, C166, M16C, DSPIC30F, CE, M32C, TSK3000, RS08, SHARC, ECOG2, SCORE7, DSP24, VIDEOCORE3, LATTICEMICO32, SE_C17, TI_C6000, TI_C2000, TI_C5500, MMDSP_PLUS, CYPRESS_M8C, R32C, TRIMEDIA, HEXAGON, M8051, STXP7X, NDS32, ECOG1, MAXQ30, XIMO16, MANIK, CRAYNV2, RX, METAG, MCST_ELBRUS, ECOG16, CR16, ETPU, SLE9X, L10M, K10M, AARCH64, AVR32, STM8, TILE64, TILEPRO, CUDA, TILEGX, CLOUDSHIELD, COREA_1ST, COREA_2ND, ARC_COMPACT2, OPEN8, RL78, VIDEOCORE5, M78KOR, M56800EX, BA1, BA2, XCORE, MCHP_PIC, INTEL205, INTEL206, INTEL207, INTEL208, INTEL209, KM32, KMX32, KMX16, KMX8, KVARC, CDP, COGE, COOL, NORC, CSR_KALIMBA, AMDGPU, RISCV, BPF, CSKY, LOONGARCH, UNKNOWN(u32),
}

Variants§

§

NONE

§

M32

§

SPARC

§

I386

§

M68K

§

M88K

§

IAMCU

§

I860

§

MIPS

§

S370

§

MIPS_RS3_LE

§

PARISC

§

VPP500

§

SPARC32PLUS

§

I60

§

PPC

§

PPC64

§

S390

§

SPU

§

V800

§

FR20

§

RH32

§

RCE

§

ARM

§

ALPHA

§

SH

§

SPARCV9

§

TRICORE

§

ARC

§

H8_300

§

H8_300H

§

H8S

§

H8_500

§

IA_64

§

MIPS_X

§

COLDFIRE

§

M68HC12

§

MMA

§

PCP

§

NCPU

§

NDR1

§

STARCORE

§

ME16

§

ST100

§

TINYJ

§

X86_64

§

PDSP

§

PDP10

§

PDP11

§

FX66

§

ST9PLUS

§

ST7

§

M68HC16

§

M68HC11

§

M68HC08

§

M68HC05

§

SVX

§

ST19

§

VAX

§

CRIS

§

JAVELIN

§

FIREPATH

§

ZSP

§

MMIX

§

HUANY

§

PRISM

§

AVR

§

FR30

§

D10V

§

D30V

§

V850

§

M32R

§

MN10300

§

MN10200

§

PJ

§

OPENRISC

§

ARC_COMPACT

§

XTENSA

§

VIDEOCORE

§

TMM_GPP

§

NS32K

§

TPC

§

SNP1K

§

ST200

§

IP2K

§

MAX

§

CR

§

F2MC16

§

MSP430

§

BLACKFIN

§

SE_C33

§

SEP

§

ARCA

§

UNICORE

§

EXCESS

§

DXP

§

ALTERA_NIOS2

§

CRX

§

XGATE

§

C166

§

M16C

§

DSPIC30F

§

CE

§

M32C

§

TSK3000

§

RS08

§

SHARC

§

ECOG2

§

SCORE7

§

DSP24

§

VIDEOCORE3

§

LATTICEMICO32

§

SE_C17

§

TI_C6000

§

TI_C2000

§

TI_C5500

§

MMDSP_PLUS

§

CYPRESS_M8C

§

R32C

§

TRIMEDIA

§

HEXAGON

§

M8051

§

STXP7X

§

NDS32

§

ECOG1

§

MAXQ30

§

XIMO16

§

MANIK

§

CRAYNV2

§

RX

§

METAG

§

MCST_ELBRUS

§

ECOG16

§

CR16

§

ETPU

§

SLE9X

§

L10M

§

K10M

§

AARCH64

§

AVR32

§

STM8

§

TILE64

§

TILEPRO

§

CUDA

§

TILEGX

§

CLOUDSHIELD

§

COREA_1ST

§

COREA_2ND

§

ARC_COMPACT2

§

OPEN8

§

RL78

§

VIDEOCORE5

§

M78KOR

§

M56800EX

§

BA1

§

BA2

§

XCORE

§

MCHP_PIC

§

INTEL205

§

INTEL206

§

INTEL207

§

INTEL208

§

INTEL209

§

KM32

§

KMX32

§

KMX16

§

KMX8

§

KVARC

§

CDP

§

COGE

§

COOL

§

NORC

§

CSR_KALIMBA

§

AMDGPU

§

RISCV

§

BPF

§

CSKY

§

LOONGARCH

§

UNKNOWN(u32)

Trait Implementations§

§

impl Clone for Arch

§

fn clone(&self) -> Arch

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 Arch

§

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

Formats the value using the given formatter. Read more
§

impl From<Arch> for u32

§

fn from(value: Arch) -> u32

Converts to this type from the input type.
§

impl From<u32> for Arch

§

fn from(value: u32) -> Self

Converts to this type from the input type.
§

impl Hash for Arch

§

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<Arch> for Arch

§

fn eq(&self, other: &Arch) -> 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 Arch

§

impl Eq for Arch

§

impl StructuralEq for Arch

§

impl StructuralPartialEq for Arch

Auto Trait Implementations§

§

impl RefUnwindSafe for Arch

§

impl Send for Arch

§

impl Sync for Arch

§

impl Unpin for Arch

§

impl UnwindSafe for Arch

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.