From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:ELF (Executable and Linkable Format)" |
|---|
| claim | "Common ELF e_machine values: 2 SPARC, 3 x86 (EM_386), 4 68000, 8 MIPS, 10 MIPS RS3000 LE, 18 SPARC32PLUS, 20 PowerPC, 21 PowerPC64, 22 S/390, 40 ARM (AArch32), 41 Alpha, 42 SuperH, 43 SPARC V9, 44 TriCore, 50 IA-64, 62 x86-64, 83 AVR, 94 Xtensa, 183 AArch64, 190 NVIDIA CUDA, 220 Z80, 224 AMD GPU, 243 RISC-V, 247 Linux BPF, 258 LoongArch." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ELF (Executable and Linkable Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "e_machine" |
|---|
| underlying_type | "uint16" |
|---|
| values | | EM_NONE | 0 |
|---|
| EM_SPARC | 2 |
|---|
| EM_386 | 3 |
|---|
| EM_68K | 4 |
|---|
| EM_MIPS | 8 |
|---|
| EM_MIPS_RS3_LE | 10 |
|---|
| EM_SPARC32PLUS | 18 |
|---|
| EM_PPC | 20 |
|---|
| EM_PPC64 | 21 |
|---|
| EM_S390 | 22 |
|---|
| EM_SPU | 23 |
|---|
| EM_ARM | 40 |
|---|
| EM_ALPHA | 41 |
|---|
| EM_SH | 42 |
|---|
| EM_SPARCV9 | 43 |
|---|
| EM_TRICORE | 44 |
|---|
| EM_IA_64 | 50 |
|---|
| EM_X86_64 | 62 |
|---|
| EM_AVR | 83 |
|---|
| EM_V850 | 87 |
|---|
| EM_XTENSA | 94 |
|---|
| EM_ALTERA_NIOS2 | 113 |
|---|
| EM_TI_C6000 | 140 |
|---|
| EM_AARCH64 | 183 |
|---|
| EM_MICROBLAZE | 189 |
|---|
| EM_CUDA | 190 |
|---|
| EM_Z80 | 220 |
|---|
| EM_AMDGPU | 224 |
|---|
| EM_RISCV | 243 |
|---|
| EM_BPF | 247 |
|---|
| EM_LOONGARCH | 258 |
|---|
|
|---|
| complete | false |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ENUM_E_MACHINE (EM_NONE 0 ... EM_LOONGARCH 258)" |
|---|
| repo | "https://github.com/eliben/pyelftools" |
|---|
| commit | "5a04389392e25d8128e1acb59828a0a85be791b1" |
|---|
| path | "elftools/elf/enums.py" |
|---|
| lines | "85-284" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "pyelftools' corpus has e_machine 3, 8, 18, 21, 22, 40, 43, 44, 62, 183, 243 and 258 files; 18 is the Solaris SPARC exe_solaris32_cc.sparc.elf, 44 the TASKING note_tc3xxx_blinky.elf" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "e_machine" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T13:27:39.504Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:10:59.055Z" |
|---|
| summary | "All 31 values checked against ENUM_E_MACHINE in pyelftools enums.py (cited 85-284) and are correct, but that table has 187 EM_ entries: the fact is a selection. Mark complete false." |
|---|
| changed | |
|---|
|
|
|---|