LIEF: Library to Instrument Executable Formats Version 0.16.0
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,
42 PARISC = 15,
43 VPP500 = 17,
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,
108 XTENSA = 94,
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,
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,
143 SE_C17 = 139,
144 TI_C6000 = 140,
145 TI_C2000 = 141,
146 TI_C5500 = 142,
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,
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,
178 COREA_1ST = 193,
179 COREA_2ND = 194,
181 OPEN8 = 196,
182 RL78 = 197,
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,
205 AMDGPU = 224,
206 RISCV = 243,
207 BPF = 247,
208 CSKY = 252,
210};
211
212}
213}
214
215#endif
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
ARCH
Definition ELF/enums.hpp:30
@ ALPHA
Definition ELF/enums.hpp:55
@ INTEL208
Definition ELF/enums.hpp:193
@ I860
Definition ELF/enums.hpp:38
@ SVX
Definition ELF/enums.hpp:87
@ AARCH64
Definition ELF/enums.hpp:170
@ MMA
Definition ELF/enums.hpp:68
@ M32C
Definition ELF/enums.hpp:134
@ JAVELIN
Definition ELF/enums.hpp:91
@ LOONGARCH
Definition ELF/enums.hpp:209
@ CRX
Definition ELF/enums.hpp:128
@ METAG
Definition ELF/enums.hpp:162
@ PDSP
Definition ELF/enums.hpp:77
@ PJ
Definition ELF/enums.hpp:105
@ M32R
Definition ELF/enums.hpp:102
@ NDS32
Definition ELF/enums.hpp:154
@ PCP
Definition ELF/enums.hpp:69
@ I60
Definition ELF/enums.hpp:45
@ ECOG16
Definition ELF/enums.hpp:164
@ H8_300H
Definition ELF/enums.hpp:61
@ MIPS
Definition ELF/enums.hpp:39
@ CRAYNV2
Definition ELF/enums.hpp:160
@ CR
Definition ELF/enums.hpp:117
@ INTEL209
Definition ELF/enums.hpp:194
@ MN10200
Definition ELF/enums.hpp:104
@ S370
Definition ELF/enums.hpp:40
@ H8S
Definition ELF/enums.hpp:62
@ RL78
Definition ELF/enums.hpp:182
@ ARC_COMPACT2
Definition ELF/enums.hpp:180
@ TI_C5500
Definition ELF/enums.hpp:146
@ PRISM
Definition ELF/enums.hpp:96
@ DSPIC30F
Definition ELF/enums.hpp:132
@ MAX
Definition ELF/enums.hpp:116
@ HEXAGON
Definition ELF/enums.hpp:151
@ KVARC
Definition ELF/enums.hpp:199
@ EXCESS
Definition ELF/enums.hpp:125
@ CR16
Definition ELF/enums.hpp:165
@ CRIS
Definition ELF/enums.hpp:90
@ F2MC16
Definition ELF/enums.hpp:118
@ MCHP_PIC
Definition ELF/enums.hpp:189
@ BPF
Definition ELF/enums.hpp:207
@ TSK3000
Definition ELF/enums.hpp:135
@ SLE9X
Definition ELF/enums.hpp:167
@ ZSP
Definition ELF/enums.hpp:93
@ TRIMEDIA
Definition ELF/enums.hpp:150
@ PDP10
Definition ELF/enums.hpp:78
@ BA1
Definition ELF/enums.hpp:186
@ INTEL205
Definition ELF/enums.hpp:190
@ M68HC11
Definition ELF/enums.hpp:84
@ ETPU
Definition ELF/enums.hpp:166
@ NCPU
Definition ELF/enums.hpp:70
@ ST100
Definition ELF/enums.hpp:74
@ MANIK
Definition ELF/enums.hpp:159
@ FX66
Definition ELF/enums.hpp:80
@ KMX8
Definition ELF/enums.hpp:198
@ XIMO16
Definition ELF/enums.hpp:158
@ ARM
Definition ELF/enums.hpp:54
@ MMDSP_PLUS
Definition ELF/enums.hpp:147
@ CLOUDSHIELD
Definition ELF/enums.hpp:177
@ TRICORE
Definition ELF/enums.hpp:58
@ NDR1
Definition ELF/enums.hpp:71
@ V850
Definition ELF/enums.hpp:101
@ M78KOR
Definition ELF/enums.hpp:184
@ PDP11
Definition ELF/enums.hpp:79
@ KMX16
Definition ELF/enums.hpp:197
@ M88K
Definition ELF/enums.hpp:36
@ UNICORE
Definition ELF/enums.hpp:124
@ IA_64
Definition ELF/enums.hpp:64
@ HUANY
Definition ELF/enums.hpp:95
@ K10M
Definition ELF/enums.hpp:169
@ ARCA
Definition ELF/enums.hpp:123
@ RCE
Definition ELF/enums.hpp:53
@ AMDGPU
Definition ELF/enums.hpp:205
@ M68HC12
Definition ELF/enums.hpp:67
@ ARC_COMPACT
Definition ELF/enums.hpp:107
@ TILEPRO
Definition ELF/enums.hpp:174
@ ST19
Definition ELF/enums.hpp:88
@ CSKY
Definition ELF/enums.hpp:208
@ CSR_KALIMBA
Definition ELF/enums.hpp:204
@ COOL
Definition ELF/enums.hpp:202
@ CE
Definition ELF/enums.hpp:133
@ CYPRESS_M8C
Definition ELF/enums.hpp:148
@ VIDEOCORE3
Definition ELF/enums.hpp:141
@ OPEN8
Definition ELF/enums.hpp:181
@ XTENSA
Definition ELF/enums.hpp:108
@ X86_64
Definition ELF/enums.hpp:76
@ V800
Definition ELF/enums.hpp:50
@ SE_C17
Definition ELF/enums.hpp:143
@ L10M
Definition ELF/enums.hpp:168
@ RISCV
Definition ELF/enums.hpp:206
@ SPARC32PLUS
Definition ELF/enums.hpp:44
@ DSP24
Definition ELF/enums.hpp:140
@ NS32K
Definition ELF/enums.hpp:111
@ TI_C2000
Definition ELF/enums.hpp:145
@ IAMCU
Definition ELF/enums.hpp:37
@ XCORE
Definition ELF/enums.hpp:188
@ ECOG1
Definition ELF/enums.hpp:155
@ AVR
Definition ELF/enums.hpp:97
@ RS08
Definition ELF/enums.hpp:136
@ PPC64
Definition ELF/enums.hpp:47
@ M32
Definition ELF/enums.hpp:32
@ FR20
Definition ELF/enums.hpp:51
@ TILE64
Definition ELF/enums.hpp:173
@ COREA_1ST
Definition ELF/enums.hpp:178
@ M8051
Definition ELF/enums.hpp:152
@ MSP430
Definition ELF/enums.hpp:119
@ COGE
Definition ELF/enums.hpp:201
@ MAXQ30
Definition ELF/enums.hpp:157
@ SHARC
Definition ELF/enums.hpp:137
@ MCST_ELBRUS
Definition ELF/enums.hpp:163
@ COLDFIRE
Definition ELF/enums.hpp:66
@ M68HC08
Definition ELF/enums.hpp:85
@ VAX
Definition ELF/enums.hpp:89
@ ECOG1X
Definition ELF/enums.hpp:156
@ CUDA
Definition ELF/enums.hpp:175
@ STARCORE
Definition ELF/enums.hpp:72
@ M16C
Definition ELF/enums.hpp:131
@ ST200
Definition ELF/enums.hpp:114
@ TINYJ
Definition ELF/enums.hpp:75
@ SPARCV9
Definition ELF/enums.hpp:57
@ M68K
Definition ELF/enums.hpp:35
@ SPARC
Definition ELF/enums.hpp:33
@ TI_C6000
Definition ELF/enums.hpp:144
@ INTEL206
Definition ELF/enums.hpp:191
@ OPENRISC
Definition ELF/enums.hpp:106
@ NORC
Definition ELF/enums.hpp:203
@ FIREPATH
Definition ELF/enums.hpp:92
@ R32C
Definition ELF/enums.hpp:149
@ AVR32
Definition ELF/enums.hpp:171
@ LATTICEMICO32
Definition ELF/enums.hpp:142
@ NONE
Definition ELF/enums.hpp:31
@ M68HC16
Definition ELF/enums.hpp:83
@ D30V
Definition ELF/enums.hpp:100
@ STM8
Definition ELF/enums.hpp:172
@ BA2
Definition ELF/enums.hpp:187
@ ME16
Definition ELF/enums.hpp:73
@ MMIX
Definition ELF/enums.hpp:94
@ COREA_2ND
Definition ELF/enums.hpp:179
@ TPC
Definition ELF/enums.hpp:112
@ VIDEOCORE
Definition ELF/enums.hpp:109
@ CDP
Definition ELF/enums.hpp:200
@ BLACKFIN
Definition ELF/enums.hpp:120
@ ST7
Definition ELF/enums.hpp:82
@ D10V
Definition ELF/enums.hpp:99
@ VIDEOCORE5
Definition ELF/enums.hpp:183
@ TILEGX
Definition ELF/enums.hpp:176
@ VPP500
Definition ELF/enums.hpp:43
@ INTEL207
Definition ELF/enums.hpp:192
@ MIPS_RS3_LE
Definition ELF/enums.hpp:41
@ MIPS_X
Definition ELF/enums.hpp:65
@ ARC
Definition ELF/enums.hpp:59
@ I386
Definition ELF/enums.hpp:34
@ ECOG2
Definition ELF/enums.hpp:138
@ KMX32
Definition ELF/enums.hpp:196
@ RH32
Definition ELF/enums.hpp:52
@ SCORE7
Definition ELF/enums.hpp:139
@ SPU
Definition ELF/enums.hpp:49
@ IP2K
Definition ELF/enums.hpp:115
@ SNP1K
Definition ELF/enums.hpp:113
@ M68HC05
Definition ELF/enums.hpp:86
@ SE_C33
Definition ELF/enums.hpp:121
@ XGATE
Definition ELF/enums.hpp:129
@ ST9PLUS
Definition ELF/enums.hpp:81
@ ALTERA_NIOS2
Definition ELF/enums.hpp:127
@ STXP7X
Definition ELF/enums.hpp:153
@ MN10300
Definition ELF/enums.hpp:103
@ PPC
Definition ELF/enums.hpp:46
@ TMM_GPP
Definition ELF/enums.hpp:110
@ SH
Definition ELF/enums.hpp:56
@ SEP
Definition ELF/enums.hpp:122
@ KM32
Definition ELF/enums.hpp:195
@ FR30
Definition ELF/enums.hpp:98
@ H8_500
Definition ELF/enums.hpp:63
@ S390
Definition ELF/enums.hpp:48
@ PARISC
Definition ELF/enums.hpp:42
@ H8_300
Definition ELF/enums.hpp:60
@ RX
Definition ELF/enums.hpp:161
@ C166
Definition ELF/enums.hpp:130
@ DXP
Definition ELF/enums.hpp:126
@ M56800EX
Definition ELF/enums.hpp:185
LIEF namespace.
Definition Abstract/Binary.hpp:36