enum MachineType [src]
Fields
UNKNOWN = 0x0
ALPHA = 0x184Alpha AXP, 32-bit address space
ALPHA64 = 0x284Alpha 64, 64-bit address space
AM33 = 0x1d3Matsushita AM33
X64 = 0x8664x64
ARM = 0x1c0ARM little endian
ARM64 = 0xaa64ARM64 little endian
ARM64EC = 0xa641ARM64EC
ARM64X = 0xa64eARM64X
ARMNT = 0x1c4ARM Thumb-2 little endian
CEE = 0xc0eeCEE
CEF = 0xcefCEF
CHPE_X86 = 0x3a64Hybrid PE
EBC = 0xebcEFI byte code
I386 = 0x14cIntel 386 or later processors and compatible processors
IA64 = 0x200Intel Itanium processor family
LOONGARCH32 = 0x6232LoongArch32
LOONGARCH64 = 0x6264LoongArch64
M32R = 0x9041Mitsubishi M32R little endian
MIPS16 = 0x266MIPS16
MIPSFPU = 0x366MIPS with FPU
MIPSFPU16 = 0x466MIPS16 with FPU
POWERPC = 0x1f0Power PC little endian
POWERPCFP = 0x1f1Power PC with floating point support
R3000 = 0x162MIPS little endian
R4000 = 0x166MIPS little endian
R10000 = 0x168MIPS little endian
RISCV32 = 0x5032RISC-V 32-bit address space
RISCV64 = 0x5064RISC-V 64-bit address space
RISCV128 = 0x5128RISC-V 128-bit address space
SH3 = 0x1a2Hitachi SH3
SH3DSP = 0x1a3Hitachi SH3 DSP
SH3E = 0x1a4SH3E little-endian
SH4 = 0x1a6Hitachi SH4
SH5 = 0x1a8Hitachi SH5
THUMB = 0x1c2Thumb
TRICORE = 0x520Infineon
WCEMIPSV2 = 0x169MIPS little-endian WCE v2
_
Source
pub const MachineType = enum(u16) {
UNKNOWN = 0x0,
/// Alpha AXP, 32-bit address space
ALPHA = 0x184,
/// Alpha 64, 64-bit address space
ALPHA64 = 0x284,
/// Matsushita AM33
AM33 = 0x1d3,
/// x64
X64 = 0x8664,
/// ARM little endian
ARM = 0x1c0,
/// ARM64 little endian
ARM64 = 0xaa64,
/// ARM64EC
ARM64EC = 0xa641,
/// ARM64X
ARM64X = 0xa64e,
/// ARM Thumb-2 little endian
ARMNT = 0x1c4,
/// CEE
CEE = 0xc0ee,
/// CEF
CEF = 0xcef,
/// Hybrid PE
CHPE_X86 = 0x3a64,
/// EFI byte code
EBC = 0xebc,
/// Intel 386 or later processors and compatible processors
I386 = 0x14c,
/// Intel Itanium processor family
IA64 = 0x200,
/// LoongArch32
LOONGARCH32 = 0x6232,
/// LoongArch64
LOONGARCH64 = 0x6264,
/// Mitsubishi M32R little endian
M32R = 0x9041,
/// MIPS16
MIPS16 = 0x266,
/// MIPS with FPU
MIPSFPU = 0x366,
/// MIPS16 with FPU
MIPSFPU16 = 0x466,
/// Power PC little endian
POWERPC = 0x1f0,
/// Power PC with floating point support
POWERPCFP = 0x1f1,
/// MIPS little endian
R3000 = 0x162,
/// MIPS little endian
R4000 = 0x166,
/// MIPS little endian
R10000 = 0x168,
/// RISC-V 32-bit address space
RISCV32 = 0x5032,
/// RISC-V 64-bit address space
RISCV64 = 0x5064,
/// RISC-V 128-bit address space
RISCV128 = 0x5128,
/// Hitachi SH3
SH3 = 0x1a2,
/// Hitachi SH3 DSP
SH3DSP = 0x1a3,
/// SH3E little-endian
SH3E = 0x1a4,
/// Hitachi SH4
SH4 = 0x1a6,
/// Hitachi SH5
SH5 = 0x1a8,
/// Thumb
THUMB = 0x1c2,
/// Infineon
TRICORE = 0x520,
/// MIPS little-endian WCE v2
WCEMIPSV2 = 0x169,
_,
}