VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
service
loader
elf
elf.h
Go to the documentation of this file.
1
#ifndef __ELF_H__
2
#define __ELF_H__
3
4
#include <
stdint.h
>
5
6
// http://www.skyfree.org/linux/references/ELF_Format.pdf
7
8
/*----------------------------------------------------------------------------*
9
* ELF32 *
10
*----------------------------------------------------------------------------*/
11
12
typedef
uint32_t
Elf32_Addr
;
13
typedef
uint32_t
Elf32_Off
;
14
typedef
uint32_t
Elf32_Word
;
15
typedef
int32_t
Elf32_Sword
;
16
typedef
uint16_t
Elf32_Half
;
17
18
typedef
struct
Elf32_Hdr
{
19
#define EI_MAG0 0
20
# define ELFMAG0 0x7F
21
#define EI_MAG1 1
22
# define ELFMAG1 'E'
23
#define EI_MAG2 2
24
# define ELFMAG2 'L'
25
#define EI_MAG3 3
26
# define ELFMAG3 'F'
27
#define EI_CLASS 4
28
# define ELFCLASSNONE 0
29
# define ELFCLASS32 1
30
# define ELFCLASS64 2
31
#define EI_DATA 5
32
# define ELFDATANONE 0
33
# define ELFDATA2LSB 1
34
# define ELFDATA2MSB 2
35
#define EI_VERSION 6
36
#define EI_PAD 7
37
#define EI_NIDENT 16
38
unsigned
char
e_ident
[
EI_NIDENT
];
39
40
#define ET_NONE 0
41
#define ET_REL 1
42
#define ET_EXEC 2
43
#define ET_DYN 3
44
#define ET_CORE 4
45
#define ET_LOPROC 0xFF00
46
#define ET_HIPROC 0xFFFF
47
Elf32_Half
e_type
;
48
49
#define EM_NONE 0
50
#define EM_M32 1
51
#define EM_SPARC 2
52
#define EM_386 3
53
#define EM_68K 4
54
#define EM_88K 5
55
#define EM_860 7
56
#define EM_MIPS 8
57
#define EM_ARM 0x28
58
Elf32_Half
e_machine
;
59
60
#define EV_NONE 0
61
#define EV_CURRENT 1
62
Elf32_Word
e_version
;
63
64
Elf32_Addr
e_entry
;
65
Elf32_Off
e_phoff
;
66
Elf32_Off
e_shoff
;
67
Elf32_Word
e_flags
;
68
Elf32_Half
e_ehsize
;
69
Elf32_Half
e_phentsize
;
70
Elf32_Half
e_phnum
;
71
Elf32_Half
e_shentsize
;
72
Elf32_Half
e_shnum
;
73
Elf32_Half
e_shstrndx
;
74
}
Elf32_Hdr
;
75
76
#define SHN_UNDEF 0
77
#define SHN_LORESERVE 0xFF00
78
#define SHN_LOPROC 0xFF00
79
#define SHN_HIPROC 0xFF1F
80
#define SHN_ABS 0xFFF1
81
#define SHN_COMMON 0xFFF2
82
#define SHN_HIRESERVE 0xFFFF
83
84
typedef
struct
Elf32_Shdr
{
85
Elf32_Word
sh_name
;
86
87
#define SHT_NULL 0
88
#define SHT_PROGBITS 1
89
#define SHT_SYMTAB 2
90
#define SHT_STRTAB 3
91
#define SHT_RELA 4
92
#define SHT_HASH 5
93
#define SHT_DYNAMIC 6
94
#define SHT_NOTE 7
95
#define SHT_NOBITS 8
96
#define SHT_REL 9
97
#define SHT_SHLIB 10
98
#define SHT_DYNSYM 11
99
#define SHT_LOPROC 0x70000000
100
#define SHT_HIPROC 0x7FFFFFFF
101
#define SHT_LOUSER 0x80000000
102
#define SHT_HIUSER 0x8FFFFFFF
103
Elf32_Word
sh_type
;
104
105
#define SHF_WRITE 0x1
106
#define SHF_ALLOC 0x2
107
#define SHF_EXECINSTR 0x4
108
#define SHF_MASKPROC 0xF0000000
109
Elf32_Word
sh_flags
;
110
111
Elf32_Addr
sh_addr
;
112
Elf32_Off
sh_offset
;
113
Elf32_Word
sh_size
;
114
Elf32_Word
sh_link
;
115
Elf32_Word
sh_info
;
116
Elf32_Word
sh_addralign
;
117
Elf32_Word
sh_entsize
;
118
}
Elf32_Shdr
;
119
120
typedef
struct
Elf32_Sym
{
121
Elf32_Word
st_name
;
122
Elf32_Addr
st_value
;
123
Elf32_Word
st_size
;
124
125
#define STB_LOCAL 0
126
#define STB_GLOBAL 1
127
#define STB_WEAK 2
128
#define STB_LOPROC 13
129
#define STB_HIPROC 15
130
#define STT_NOTYPE 0
131
#define STT_OBJECT 1
132
#define STT_FUNC 2
133
#define STT_SECTION 3
134
#define STT_FILE 4
135
#define STT_LOPROC 13
136
#define STT_HIPROC 15
137
#define ELF32_ST_BIND(__INFO) ((__INFO) >> 4)
138
#define ELF32_ST_TYPE(__INFO) ((__INFO) & 0xF)
139
#define ELF32_ST_INFO(__BIND, __TYPE) (((__BIND) << 4) + ((__TYPE) & 0xF))
140
unsigned
char
st_info
;
141
142
#define STV_DEFAULT 0
143
#define STV_INTERNAL 1
144
#define STV_HIDDEN 2
145
#define STV_PROTECTED 3
146
#define STV_EXPORTED 4
147
#define STV_SINGLETON 5
148
#define STV_ELIMINATE 6
149
#define ELF32_ST_VIS(__OTHER) ((__OTHER) & 3)
150
unsigned
char
st_other
;
151
152
Elf32_Half
st_shndx
;
153
}
Elf32_Sym
;
154
155
typedef
struct
Elf32_Rel
{
156
Elf32_Addr
r_offset
;
157
158
#define ELF32_R_SYM(__INFO) ((__INFO) >> 8)
159
#define ELF32_R_TYPE(__INFO) ((unsigned char)(__INFO))
160
#define ELF32_R_INFO(__SYM, __TYPE) (((__SYM) << 8) + (unsigned char)(__TYPE))
161
Elf32_Word
r_info
;
162
}
Elf32_Rel
;
163
164
typedef
struct
Elf32_Rela
{
165
Elf32_Addr
r_offset
;
166
Elf32_Word
r_info
;
167
Elf32_Sword
r_addend
;
168
}
Elf32_Rela
;
169
170
typedef
struct
Elf32_Phdr
{
171
#define PT_NULL 0
172
#define PT_LOAD 1
173
#define PT_DYNAMIC 2
174
#define PT_INTERP 3
175
#define PT_NOTE 4
176
#define PT_SHLIB 5
177
#define PT_PHDR 6
178
#define PT_LOPROC 0x70000000
179
#define PT_HIPROC 0x7FFFFFFF
180
Elf32_Word
p_type
;
181
182
Elf32_Off
p_offset
;
183
Elf32_Addr
p_vaddr
;
184
Elf32_Addr
p_paddr
;
185
Elf32_Word
p_filesz
;
186
Elf32_Word
p_memsz
;
187
#define PF_R 0x4
188
#define PF_W 0x2
189
#define PF_X 0x1
190
Elf32_Word
p_flags
;
191
Elf32_Word
p_align
;
192
}
Elf32_Phdr
;
193
194
typedef
struct
Elf32_Dyn
{
195
#define DT_NULL 0
196
#define DT_NEEDED 1
197
#define DT_PLTRELSZ 2
198
#define DT_PLTGOT 3
199
#define DT_HASH 4
200
#define DT_STRTAB 5
201
#define DT_SYMTAB 6
202
#define DT_RELA 7
203
#define DT_RELASZ 8
204
#define DT_RELAENT 9
205
#define DT_STRSZ 10
206
#define DT_SYMENT 11
207
#define DT_INIT 12
208
#define DT_FINI 13
209
#define DT_SONAME 14
210
#define DT_RPATH 15
211
#define DT_SYMBOLIC 16
212
#define DT_REL 17
213
#define DT_RELSZ 18
214
#define DT_RELENT 19
215
#define DT_PLTREL 20
216
#define DT_DEBUG 21
217
#define DT_TEXTREL 22
218
#define DT_JMPREL 23
219
#define DT_LOPROC 0x70000000
220
#define DT_HIPROC 0x7FFFFFFF
221
Elf32_Sword
d_tag
;
222
223
union
{
224
Elf32_Word
d_val
;
225
Elf32_Addr
d_ptr
;
226
}
d_un
;
227
}
Elf32_Dyn
;
228
229
/*----------------------------------------------------------------------------*
230
* ELF64 *
231
*----------------------------------------------------------------------------*/
232
233
typedef
uint64_t
Elf64_Addr
;
234
typedef
uint16_t
Elf64_Half
;
235
typedef
uint64_t
Elf64_Off
;
236
typedef
int32_t
Elf64_Sword
;
237
typedef
int64_t
Elf64_Sxword
;
238
typedef
uint32_t
Elf64_Word
;
239
typedef
uint64_t
Elf64_Lword
;
240
typedef
uint64_t
Elf64_Xword
;
241
242
typedef
struct
{
243
unsigned
char
e_ident[
EI_NIDENT
];
/* File identification. */
244
Elf64_Half
e_type
;
/* File type. */
245
Elf64_Half
e_machine
;
/* Machine architecture. */
246
Elf64_Word
e_version
;
/* ELF format version. */
247
Elf64_Addr
e_entry
;
/* Entry point. */
248
Elf64_Off
e_phoff
;
/* Program header file offset. */
249
Elf64_Off
e_shoff
;
/* Section header file offset. */
250
Elf64_Word
e_flags
;
/* Architecture-specific flags. */
251
Elf64_Half
e_ehsize
;
/* Size of ELF header in bytes. */
252
Elf64_Half
e_phentsize
;
/* Size of program header entry. */
253
Elf64_Half
e_phnum
;
/* Number of program header entries. */
254
Elf64_Half
e_shentsize
;
/* Size of section header entry. */
255
Elf64_Half
e_shnum
;
/* Number of section header entries. */
256
Elf64_Half
e_shstrndx
;
/* Section name strings section. */
257
}
Elf64_Hdr
;
258
259
typedef
struct
{
260
Elf64_Word
sh_name
;
/* Section name (index into the section header string table). */
261
Elf64_Word
sh_type
;
/* Section type. */
262
Elf64_Xword
sh_flags
;
/* Section flags. */
263
Elf64_Addr
sh_addr
;
/* Address in memory image. */
264
Elf64_Off
sh_offset
;
/* Offset in file. */
265
Elf64_Xword
sh_size
;
/* Size in bytes. */
266
Elf64_Word
sh_link
;
/* Index of a related section. */
267
Elf64_Word
sh_info
;
/* Depends on section type. */
268
Elf64_Xword
sh_addralign
;
/* Alignment in bytes. */
269
Elf64_Xword
sh_entsize
;
/* Size of each entry in section. */
270
}
Elf64_Shdr
;
271
272
typedef
struct
{
273
Elf64_Word
p_type
;
/* Entry type. */
274
Elf64_Word
p_flags
;
/* Access permission flags. */
275
Elf64_Off
p_offset
;
/* File offset of contents. */
276
Elf64_Addr
p_vaddr
;
/* Virtual address in memory image. */
277
Elf64_Addr
p_paddr
;
/* Physical address (not used). */
278
Elf64_Xword
p_filesz
;
/* Size of contents in file. */
279
Elf64_Xword
p_memsz
;
/* Size of contents in memory. */
280
Elf64_Xword
p_align
;
/* Alignment in memory and file. */
281
}
Elf64_Phdr
;
282
283
typedef
struct
{
284
Elf64_Sxword
d_tag
;
/* Entry type. */
285
union
{
286
Elf64_Xword
d_val
;
/* Integer value. */
287
Elf64_Addr
d_ptr
;
/* Address value. */
288
} d_un;
289
}
Elf64_Dyn
;
290
291
typedef
struct
{
292
Elf64_Addr
r_offset
;
/* Location to be relocated. */
293
294
#define ELF64_R_SYM(__INFO) ((__INFO) >> 32)
295
#define ELF64_R_TYPE(__INFO) ((__INFO) & 0xffffffffL)
296
#define ELF64_R_INFO(__SYM, __TYPE) (((__SYM) << 32) + ((__TYPE) & 0xffffffffL))
297
Elf64_Xword
r_info
;
/* Relocation type and symbol index. */
298
}
Elf64_Rel
;
299
300
typedef
struct
{
301
Elf64_Addr
r_offset
;
/* Location to be relocated. */
302
Elf64_Xword
r_info
;
/* Relocation type and symbol index. */
303
Elf64_Sxword
r_addend
;
/* Addend. */
304
}
Elf64_Rela
;
305
306
typedef
struct
{
307
Elf64_Word
st_name
;
/* String table index of name. */
308
309
#define ELF64_ST_BIND(__INFO) ((__INFO) >> 4)
310
#define ELF64_ST_TYPE(__INFO) ((__INFO) & 0xF)
311
#define ELF64_ST_INFO(__BIND, __TYPE) (((__BIND) << 4) + ((__TYPE) & 0xF))
312
unsigned
char
st_info
;
/* Type and binding information. */
313
314
#define ELF64_ST_VIS(__OTHER) ((__OTHER) & 3)
315
unsigned
char
st_other
;
/* Reserved (not used). */
316
Elf64_Half
st_shndx
;
/* Section index of symbol. */
317
Elf64_Addr
st_value
;
/* Symbol value. */
318
Elf64_Xword
st_size
;
/* Size of associated object. */
319
}
Elf64_Sym
;
320
321
/*----------------------------------------------------------------------------*
322
* Common *
323
*----------------------------------------------------------------------------*/
324
325
#ifdef __VSF64__
326
# define Elf_Addr Elf64_Addr
327
# define Elf_Off Elf64_Off
328
# define Elf_Word Elf64_Word
329
# define Elf_Sword Elf64_Sword
330
# define Elf_Half Elf64_Half
331
332
# define Elf_Hdr Elf64_Hdr
333
# define Elf_Shdr Elf64_Shdr
334
# define Elf_Sym Elf64_Sym
335
# define Elf_Rel Elf64_Rel
336
# define Elf_Rela Elf64_Rela
337
# define Elf_Phdr Elf64_Phdr
338
# define Elf_Dyn Elf64_Dyn
339
340
# define ELF_R_SYM ELF64_R_SYM
341
# define ELF_R_TYPE ELF64_R_TYPE
342
# define ELF_R_INFO ELF64_R_INFO
343
344
# define ELF_ST_BIND ELF64_ST_BIND
345
# define ELF_ST_TYPE ELF64_ST_TYPE
346
# define ELF_ST_VIS ELF64_ST_VIS
347
#else
348
# define Elf_Addr Elf32_Addr
349
# define Elf_Off Elf32_Off
350
# define Elf_Word Elf32_Word
351
# define Elf_Sword Elf32_Sword
352
# define Elf_Half Elf32_Half
353
354
# define Elf_Hdr Elf32_Hdr
355
# define Elf_Shdr Elf32_Shdr
356
# define Elf_Sym Elf32_Sym
357
# define Elf_Rel Elf32_Rel
358
# define Elf_Rela Elf32_Rela
359
# define Elf_Phdr Elf32_Phdr
360
# define Elf_Dyn Elf32_Dyn
361
362
# define ELF_R_SYM ELF32_R_SYM
363
# define ELF_R_TYPE ELF32_R_TYPE
364
# define ELF_R_INFO ELF32_R_INFO
365
366
# define ELF_ST_BIND ELF32_ST_BIND
367
# define ELF_ST_TYPE ELF32_ST_TYPE
368
# define ELF_ST_VIS ELF32_ST_VIS
369
#endif
370
371
#endif
// __ELF_H__
Elf32_Half
uint16_t Elf32_Half
Definition
elf.h:16
Elf32_Sword
int32_t Elf32_Sword
Definition
elf.h:15
Elf64_Sword
int32_t Elf64_Sword
Definition
elf.h:236
Elf32_Addr
uint32_t Elf32_Addr
Definition
elf.h:12
Elf64_Xword
uint64_t Elf64_Xword
Definition
elf.h:240
Elf64_Sxword
int64_t Elf64_Sxword
Definition
elf.h:237
Elf32_Off
uint32_t Elf32_Off
Definition
elf.h:13
Elf64_Off
uint64_t Elf64_Off
Definition
elf.h:235
Elf64_Word
uint32_t Elf64_Word
Definition
elf.h:238
Elf64_Lword
uint64_t Elf64_Lword
Definition
elf.h:239
Elf64_Half
uint16_t Elf64_Half
Definition
elf.h:234
EI_NIDENT
#define EI_NIDENT
Definition
elf.h:37
Elf64_Addr
uint64_t Elf64_Addr
Definition
elf.h:233
Elf32_Word
uint32_t Elf32_Word
Definition
elf.h:14
uint16_t
unsigned short uint16_t
Definition
lvgl.h:41
uint32_t
unsigned int uint32_t
Definition
lvgl.h:43
int32_t
signed int int32_t
Definition
lvgl.h:44
stdint.h
int64_t
long long int64_t
Definition
stdint.h:10
uint64_t
unsigned long long uint64_t
Definition
stdint.h:11
Elf32_Dyn
Definition
elf.h:194
Elf32_Dyn::d_val
Elf32_Word d_val
Definition
elf.h:224
Elf32_Dyn::d_tag
Elf32_Sword d_tag
Definition
elf.h:221
Elf32_Dyn::d_un
union Elf32_Dyn::@772 d_un
Elf32_Dyn::d_ptr
Elf32_Addr d_ptr
Definition
elf.h:225
Elf32_Hdr
Definition
elf.h:18
Elf32_Hdr::e_ehsize
Elf32_Half e_ehsize
Definition
elf.h:68
Elf32_Hdr::e_version
Elf32_Word e_version
Definition
elf.h:62
Elf32_Hdr::e_ident
unsigned char e_ident[EI_NIDENT]
Definition
elf.h:38
Elf32_Hdr::e_flags
Elf32_Word e_flags
Definition
elf.h:67
Elf32_Hdr::e_shentsize
Elf32_Half e_shentsize
Definition
elf.h:71
Elf32_Hdr::e_shstrndx
Elf32_Half e_shstrndx
Definition
elf.h:73
Elf32_Hdr::e_entry
Elf32_Addr e_entry
Definition
elf.h:64
Elf32_Hdr::e_shnum
Elf32_Half e_shnum
Definition
elf.h:72
Elf32_Hdr::e_shoff
Elf32_Off e_shoff
Definition
elf.h:66
Elf32_Hdr::e_machine
Elf32_Half e_machine
Definition
elf.h:58
Elf32_Hdr::e_type
Elf32_Half e_type
Definition
elf.h:47
Elf32_Hdr::e_phentsize
Elf32_Half e_phentsize
Definition
elf.h:69
Elf32_Hdr::e_phnum
Elf32_Half e_phnum
Definition
elf.h:70
Elf32_Hdr::e_phoff
Elf32_Off e_phoff
Definition
elf.h:65
Elf32_Phdr
Definition
elf.h:170
Elf32_Phdr::p_vaddr
Elf32_Addr p_vaddr
Definition
elf.h:183
Elf32_Phdr::p_flags
Elf32_Word p_flags
Definition
elf.h:190
Elf32_Phdr::p_type
Elf32_Word p_type
Definition
elf.h:180
Elf32_Phdr::p_offset
Elf32_Off p_offset
Definition
elf.h:182
Elf32_Phdr::p_filesz
Elf32_Word p_filesz
Definition
elf.h:185
Elf32_Phdr::p_memsz
Elf32_Word p_memsz
Definition
elf.h:186
Elf32_Phdr::p_paddr
Elf32_Addr p_paddr
Definition
elf.h:184
Elf32_Phdr::p_align
Elf32_Word p_align
Definition
elf.h:191
Elf32_Rel
Definition
elf.h:155
Elf32_Rel::r_info
Elf32_Word r_info
Definition
elf.h:161
Elf32_Rel::r_offset
Elf32_Addr r_offset
Definition
elf.h:156
Elf32_Rela
Definition
elf.h:164
Elf32_Rela::r_addend
Elf32_Sword r_addend
Definition
elf.h:167
Elf32_Rela::r_offset
Elf32_Addr r_offset
Definition
elf.h:165
Elf32_Rela::r_info
Elf32_Word r_info
Definition
elf.h:166
Elf32_Shdr
Definition
elf.h:84
Elf32_Shdr::sh_entsize
Elf32_Word sh_entsize
Definition
elf.h:117
Elf32_Shdr::sh_flags
Elf32_Word sh_flags
Definition
elf.h:109
Elf32_Shdr::sh_addralign
Elf32_Word sh_addralign
Definition
elf.h:116
Elf32_Shdr::sh_offset
Elf32_Off sh_offset
Definition
elf.h:112
Elf32_Shdr::sh_name
Elf32_Word sh_name
Definition
elf.h:85
Elf32_Shdr::sh_addr
Elf32_Addr sh_addr
Definition
elf.h:111
Elf32_Shdr::sh_size
Elf32_Word sh_size
Definition
elf.h:113
Elf32_Shdr::sh_type
Elf32_Word sh_type
Definition
elf.h:103
Elf32_Shdr::sh_link
Elf32_Word sh_link
Definition
elf.h:114
Elf32_Shdr::sh_info
Elf32_Word sh_info
Definition
elf.h:115
Elf32_Sym
Definition
elf.h:120
Elf32_Sym::st_size
Elf32_Word st_size
Definition
elf.h:123
Elf32_Sym::st_other
unsigned char st_other
Definition
elf.h:150
Elf32_Sym::st_shndx
Elf32_Half st_shndx
Definition
elf.h:152
Elf32_Sym::st_name
Elf32_Word st_name
Definition
elf.h:121
Elf32_Sym::st_info
unsigned char st_info
Definition
elf.h:140
Elf32_Sym::st_value
Elf32_Addr st_value
Definition
elf.h:122
Elf64_Dyn
Definition
elf.h:283
Elf64_Dyn::d_ptr
Elf64_Addr d_ptr
Definition
elf.h:287
Elf64_Dyn::d_tag
Elf64_Sxword d_tag
Definition
elf.h:284
Elf64_Dyn::d_val
Elf64_Xword d_val
Definition
elf.h:286
Elf64_Hdr
Definition
elf.h:242
Elf64_Hdr::e_phentsize
Elf64_Half e_phentsize
Definition
elf.h:252
Elf64_Hdr::e_shstrndx
Elf64_Half e_shstrndx
Definition
elf.h:256
Elf64_Hdr::e_shoff
Elf64_Off e_shoff
Definition
elf.h:249
Elf64_Hdr::e_type
Elf64_Half e_type
Definition
elf.h:244
Elf64_Hdr::e_ehsize
Elf64_Half e_ehsize
Definition
elf.h:251
Elf64_Hdr::e_machine
Elf64_Half e_machine
Definition
elf.h:245
Elf64_Hdr::e_entry
Elf64_Addr e_entry
Definition
elf.h:247
Elf64_Hdr::e_phnum
Elf64_Half e_phnum
Definition
elf.h:253
Elf64_Hdr::e_shentsize
Elf64_Half e_shentsize
Definition
elf.h:254
Elf64_Hdr::e_version
Elf64_Word e_version
Definition
elf.h:246
Elf64_Hdr::e_flags
Elf64_Word e_flags
Definition
elf.h:250
Elf64_Hdr::e_shnum
Elf64_Half e_shnum
Definition
elf.h:255
Elf64_Hdr::e_phoff
Elf64_Off e_phoff
Definition
elf.h:248
Elf64_Phdr
Definition
elf.h:272
Elf64_Phdr::p_memsz
Elf64_Xword p_memsz
Definition
elf.h:279
Elf64_Phdr::p_vaddr
Elf64_Addr p_vaddr
Definition
elf.h:276
Elf64_Phdr::p_paddr
Elf64_Addr p_paddr
Definition
elf.h:277
Elf64_Phdr::p_offset
Elf64_Off p_offset
Definition
elf.h:275
Elf64_Phdr::p_align
Elf64_Xword p_align
Definition
elf.h:280
Elf64_Phdr::p_flags
Elf64_Word p_flags
Definition
elf.h:274
Elf64_Phdr::p_type
Elf64_Word p_type
Definition
elf.h:273
Elf64_Phdr::p_filesz
Elf64_Xword p_filesz
Definition
elf.h:278
Elf64_Rel
Definition
elf.h:291
Elf64_Rel::r_info
Elf64_Xword r_info
Definition
elf.h:297
Elf64_Rel::r_offset
Elf64_Addr r_offset
Definition
elf.h:292
Elf64_Rela
Definition
elf.h:300
Elf64_Rela::r_addend
Elf64_Sxword r_addend
Definition
elf.h:303
Elf64_Rela::r_offset
Elf64_Addr r_offset
Definition
elf.h:301
Elf64_Rela::r_info
Elf64_Xword r_info
Definition
elf.h:302
Elf64_Shdr
Definition
elf.h:259
Elf64_Shdr::sh_name
Elf64_Word sh_name
Definition
elf.h:260
Elf64_Shdr::sh_flags
Elf64_Xword sh_flags
Definition
elf.h:262
Elf64_Shdr::sh_link
Elf64_Word sh_link
Definition
elf.h:266
Elf64_Shdr::sh_type
Elf64_Word sh_type
Definition
elf.h:261
Elf64_Shdr::sh_info
Elf64_Word sh_info
Definition
elf.h:267
Elf64_Shdr::sh_entsize
Elf64_Xword sh_entsize
Definition
elf.h:269
Elf64_Shdr::sh_size
Elf64_Xword sh_size
Definition
elf.h:265
Elf64_Shdr::sh_addralign
Elf64_Xword sh_addralign
Definition
elf.h:268
Elf64_Shdr::sh_addr
Elf64_Addr sh_addr
Definition
elf.h:263
Elf64_Shdr::sh_offset
Elf64_Off sh_offset
Definition
elf.h:264
Elf64_Sym
Definition
elf.h:306
Elf64_Sym::st_shndx
Elf64_Half st_shndx
Definition
elf.h:316
Elf64_Sym::st_name
Elf64_Word st_name
Definition
elf.h:307
Elf64_Sym::st_value
Elf64_Addr st_value
Definition
elf.h:317
Elf64_Sym::st_info
unsigned char st_info
Definition
elf.h:312
Elf64_Sym::st_other
unsigned char st_other
Definition
elf.h:315
Elf64_Sym::st_size
Elf64_Xword st_size
Definition
elf.h:318
Generated by
1.9.8