LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
ELF/enums.hpp
Go to the documentation of this file.
1/* Copyright 2017 - 2024 R. Thomas
2 * Copyright 2017 - 2024 Quarkslab
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#ifndef LIEF_ELF_ENUMS_H
17#define LIEF_ELF_ENUMS_H
18#include "LIEF/enums.hpp"
19#include <cstdint>
20#include <cstddef>
21
22namespace LIEF {
23namespace ELF {
24
30enum class ARCH {
31 NONE = 0,
32 M32 = 1,
33 SPARC = 2,
34 I386 = 3,
35 M68K = 4,
36 M88K = 5,
37 IAMCU = 6,
38 I860 = 7,
39 MIPS = 8,
40 S370 = 9,
41 MIPS_RS3_LE = 10,
42 PARISC = 15,
43 VPP500 = 17,
44 SPARC32PLUS = 18,
45 I60 = 19,
46 PPC = 20,
47 PPC64 = 21,
48 S390 = 22,
49 SPU = 23,
50 V800 = 36,
51 FR20 = 37,
52 RH32 = 38,
53 RCE = 39,
54 ARM = 40,
55 ALPHA = 41,
56 SH = 42,
57 SPARCV9 = 43,
58 TRICORE = 44,
59 ARC = 45,
60 H8_300 = 46,
61 H8_300H = 47,
62 H8S = 48,
63 H8_500 = 49,
64 IA_64 = 50,
65 MIPS_X = 51,
66 COLDFIRE = 52,
67 M68HC12 = 53,
68 MMA = 54,
69 PCP = 55,
70 NCPU = 56,
71 NDR1 = 57,
72 STARCORE = 58,
73 ME16 = 59,
74 ST100 = 60,
75 TINYJ = 61,
76 X86_64 = 62,
77 PDSP = 63,
78 PDP10 = 64,
79 PDP11 = 65,
80 FX66 = 66,
81 ST9PLUS = 67,
82 ST7 = 68,
83 M68HC16 = 69,
84 M68HC11 = 70,
85 M68HC08 = 71,
86 M68HC05 = 72,
87 SVX = 73,
88 ST19 = 74,
89 VAX = 75,
90 CRIS = 76,
91 JAVELIN = 77,
92 FIREPATH = 78,
93 ZSP = 79,
94 MMIX = 80,
95 HUANY = 81,
96 PRISM = 82,
97 AVR = 83,
98 FR30 = 84,
99 D10V = 85,
100 D30V = 86,
101 V850 = 87,
102 M32R = 88,
103 MN10300 = 89,
104 MN10200 = 90,
105 PJ = 91,
106 OPENRISC = 92,
107 ARC_COMPACT = 93,
108 XTENSA = 94,
109 VIDEOCORE = 95,
110 TMM_GPP = 96,
111 NS32K = 97,
112 TPC = 98,
113 SNP1K = 99,
114 ST200 = 100,
115 IP2K = 101,
116 MAX = 102,
117 CR = 103,
118 F2MC16 = 104,
119 MSP430 = 105,
120 BLACKFIN = 106,
121 SE_C33 = 107,
122 SEP = 108,
123 ARCA = 109,
124 UNICORE = 110,
125 EXCESS = 111,
126 DXP = 112,
127 ALTERA_NIOS2 = 113,
128 CRX = 114,
129 XGATE = 115,
130 C166 = 116,
131 M16C = 117,
132 DSPIC30F = 118,
133 CE = 119,
134 M32C = 120,
135 TSK3000 = 131,
136 RS08 = 132,
137 SHARC = 133,
138 ECOG2 = 134,
139 SCORE7 = 135,
140 DSP24 = 136,
141 VIDEOCORE3 = 137,
142 LATTICEMICO32 = 138,
143 SE_C17 = 139,
144 TI_C6000 = 140,
145 TI_C2000 = 141,
146 TI_C5500 = 142,
147 MMDSP_PLUS = 160,
148 CYPRESS_M8C = 161,
149 R32C = 162,
150 TRIMEDIA = 163,
151 HEXAGON = 164,
152 M8051 = 165,
153 STXP7X = 166,
154 NDS32 = 167, /* Andes Technology compact code size embedded RISC */
155 ECOG1 = 168,
156 ECOG1X = 168,
157 MAXQ30 = 169,
158 XIMO16 = 170,
159 MANIK = 171,
160 CRAYNV2 = 172,
161 RX = 173,
162 METAG = 174,
163 MCST_ELBRUS = 175,
164 ECOG16 = 176,
165 CR16 = 177,
166 ETPU = 178,
167 SLE9X = 179,
168 L10M = 180,
169 K10M = 181,
170 AARCH64 = 183,
171 AVR32 = 185,
172 STM8 = 186,
173 TILE64 = 187,
174 TILEPRO = 188,
175 CUDA = 190,
176 TILEGX = 191,
177 CLOUDSHIELD = 192,
178 COREA_1ST = 193,
179 COREA_2ND = 194,
180 ARC_COMPACT2 = 195,
181 OPEN8 = 196,
182 RL78 = 197,
183 VIDEOCORE5 = 198,
184 M78KOR = 199,
185 M56800EX = 200,
186 BA1 = 201,
187 BA2 = 202,
188 XCORE = 203,
189 MCHP_PIC = 204,
190 INTEL205 = 205,
191 INTEL206 = 206,
192 INTEL207 = 207,
193 INTEL208 = 208,
194 INTEL209 = 209,
195 KM32 = 210,
196 KMX32 = 211,
197 KMX16 = 212,
198 KMX8 = 213,
199 KVARC = 214,
200 CDP = 215,
201 COGE = 216,
202 COOL = 217,
203 NORC = 218,
204 CSR_KALIMBA = 219,
205 AMDGPU = 224,
206 RISCV = 243,
207 BPF = 247,
208 LOONGARCH = 258
209};
210
211}
212}
213
214#endif
ARCH
Machine architectures See current registered ELF machine architectures at: http://www....
Definition ELF/enums.hpp:30
LIEF namespace.
Definition Abstract/Binary.hpp:32