OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:e_ident
(Results
1 - 25
of
63
) sorted by relevancy
1
2
3
/src/sys/arch/hpc/stand/hpcboot/
load_elf.h
55
_eh.
e_ident
[EI_MAG0] == ELFMAG0 &&
56
_eh.
e_ident
[EI_MAG1] == ELFMAG1 &&
57
_eh.
e_ident
[EI_MAG2] == ELFMAG2 &&
58
_eh.
e_ident
[EI_MAG3] == ELFMAG3;
load.cpp
58
if (header.elf.
e_ident
[EI_MAG0] == ELFMAG0 &&
59
header.elf.
e_ident
[EI_MAG1] == ELFMAG1 &&
60
header.elf.
e_ident
[EI_MAG2] == ELFMAG2 &&
61
header.elf.
e_ident
[EI_MAG3] == ELFMAG3)
load_elf.cpp
305
if (_eh.
e_ident
[EI_DATA] != ELFDATA2LSB ||
306
_eh.
e_ident
[EI_CLASS] != ELFCLASS32) {
308
_eh.
e_ident
[EI_CLASS], _eh.
e_ident
[EI_DATA]));
/src/sys/lib/libsa/
loadfile.c
160
if (memcmp(hdr.elf32.
e_ident
, ELFMAG, SELFMAG) == 0 &&
161
hdr.elf32.
e_ident
[EI_CLASS] == ELFCLASS32) {
163
netbsd_elf_data = hdr.elf32.
e_ident
[EI_DATA];
168
if (memcmp(hdr.elf64.
e_ident
, ELFMAG, SELFMAG) == 0 &&
169
hdr.elf64.
e_ident
[EI_CLASS] == ELFCLASS64) {
171
netbsd_elf_data = hdr.elf64.
e_ident
[EI_DATA];
loadfile_elf32.c
359
internalize_ehdr(elf->
e_ident
[EI_DATA], elf);
383
externalize_ehdr(elf->
e_ident
[EI_DATA], elf);
385
internalize_ehdr(elf->
e_ident
[EI_DATA], elf);
390
internalize_shdr(elf->
e_ident
[EI_DATA], &shdr[i]);
483
externalize_shdr(elf->
e_ident
[EI_DATA], &shdr[i]);
537
internalize_shdr(elf->
e_ident
[EI_DATA], &shp[i]);
647
externalize_shdr(elf->
e_ident
[EI_DATA], &shp[i]);
700
internalize_ehdr(elf->
e_ident
[EI_DATA], elf);
716
internalize_phdr(elf->
e_ident
[EI_DATA], &phdr[i]);
798
externalize_ehdr(elf->
e_ident
[EI_DATA], elf)
[
all
...]
/src/sys/compat/freebsd/
freebsd_exec_elf32.c
69
if ((eh->
e_ident
[EI_BRAND] == '\0' ||
70
strcmp(&eh->
e_ident
[EI_BRAND], wantBrand) != 0) &&
71
eh->
e_ident
[EI_OSABI] != ELFOSABI_FREEBSD)
/src/sys/arch/emips/stand/common/
bootxx.c
149
(memcmp(ehdr.
e_ident
, ELFMAG, SELFMAG) != 0) ||
150
(ehdr.
e_ident
[EI_CLASS] != ELFCLASS32)) {
/src/sys/arch/mipsco/stand/common/
bootxx.c
139
(memcmp(ehdr.
e_ident
, ELFMAG, SELFMAG) != 0) ||
140
(ehdr.
e_ident
[EI_CLASS] != ELFCLASS32)) {
/src/usr.sbin/mdsetimage/
exec_elf32.c
68
if (memcmp(ehdrp->
e_ident
, ELFMAG, SELFMAG) != 0 ||
69
ehdrp->
e_ident
[EI_CLASS] != ELFCLASS)
/src/sys/arch/pmax/stand/common/
bootxx.c
171
(memcmp(ehdr.
e_ident
, ELFMAG, SELFMAG) != 0) ||
172
(ehdr.
e_ident
[EI_CLASS] != ELFCLASS32)) {
/src/sys/arch/zaurus/stand/zboot/
loadfile_zboot.c
86
if (memcmp(elf32.
e_ident
, ELFMAG, SELFMAG) == 0 &&
87
elf32.
e_ident
[EI_CLASS] == ELFCLASS32) {
/src/sys/arch/sun3/sun3x/
locore2.c
107
if (memcmp(ehdr->
e_ident
, ELFMAG, SELFMAG) != 0 ||
108
ehdr->
e_ident
[EI_CLASS] != ELFCLASS32) {
/src/sys/arch/ews4800mips/stand/common/
bootxx.c
195
if (e->
e_ident
[EI_MAG2] != 'L' || e->
e_ident
[EI_MAG3] != 'F' ||
196
e->
e_ident
[EI_CLASS] != ELFCLASS32 ||
197
e->
e_ident
[EI_DATA] != ELFDATA2MSB ||
/src/sys/kern/
core_elf32.c
159
memset(&ehdr.
e_ident
[EI_PAD], 0, sizeof(ehdr.
e_ident
) - EI_PAD);
160
memcpy(ehdr.
e_ident
, ELFMAG, SELFMAG);
162
ehdr.
e_ident
[EI_CLASS] = ELFCLASS32;
164
ehdr.
e_ident
[EI_CLASS] = ELFCLASS64;
166
ehdr.
e_ident
[EI_DATA] = ELFDEFNNAME(MACHDEP_ENDIANNESS);
167
ehdr.
e_ident
[EI_VERSION] = EV_CURRENT;
172
ehdr.
e_ident
[EI_OSABI] = ELFOSABI_SYSV;
173
ehdr.
e_ident
[EI_ABIVERSION] = 0;
/src/usr.sbin/lockstat/
elf32.c
114
if (memcmp(ehdr.
e_ident
, ELFMAG, SELFMAG) != 0 ||
115
ehdr.
e_ident
[EI_CLASS] != ELFCLASS)
/src/sys/arch/sun2/sun2/
locore2.c
123
if (memcmp(ehdr->
e_ident
, ELFMAG, SELFMAG) != 0 ||
124
ehdr->
e_ident
[EI_CLASS] != ELFCLASS32) {
/src/sys/arch/sun3/sun3/
locore2.c
127
if (memcmp(ehdr->
e_ident
, ELFMAG, SELFMAG) != 0 ||
128
ehdr->
e_ident
[EI_CLASS] != ELFCLASS32) {
/src/sys/arch/mvme68k/stand/bootxx/
bootxx.c
137
else if (memcmp(x->eh.
e_ident
, ELFMAG, SELFMAG) == 0) {
/src/sys/arch/x68k/stand/common/
exec_sub.c
292
if (*(u_int32_t *)&ehdr->
e_ident
[EI_MAG0] !=
294
*(u_int16_t *)&ehdr->
e_ident
[EI_CLASS] !=
310
if (ehdr->
e_ident
[EI_VERSION] != EV_CURRENT ||
/src/sys/arch/luna68k/luna68k/
machdep.c
287
if (ehdr->
e_ident
[EI_MAG0] != ELFMAG0 ||
288
ehdr->
e_ident
[EI_MAG1] != ELFMAG1 ||
289
ehdr->
e_ident
[EI_MAG2] != ELFMAG2 ||
290
ehdr->
e_ident
[EI_MAG3] != ELFMAG3 ||
291
ehdr->
e_ident
[EI_CLASS] != ELFCLASS32) {
/src/usr.sbin/mopd/common/
file.c
437
if (ehdr.
e_ident
[0] != ELFMAG0 ||
438
ehdr.
e_ident
[1] != ELFMAG1 ||
439
ehdr.
e_ident
[2] != ELFMAG2 ||
440
ehdr.
e_ident
[3] != ELFMAG3)
444
if (ehdr.
e_ident
[EI_CLASS] != ELFCLASS32)
468
if (ehdr.
e_ident
[0] != ELFMAG0 ||
469
ehdr.
e_ident
[1] != ELFMAG1 ||
470
ehdr.
e_ident
[2] != ELFMAG2 ||
471
ehdr.
e_ident
[3] != ELFMAG3)
475
if (ehdr.
e_ident
[EI_CLASS] != ELFCLASS32
[
all
...]
/src/sys/arch/x68k/stand/aout2hux/
aout2hux.c
184
if (hdr->
e_ident
[EI_VERSION] != EV_CURRENT ||
405
if (hdre->
e_ident
[EI_MAG0] != ELFMAG0 ||
406
hdre->
e_ident
[EI_MAG1] != ELFMAG1 ||
407
hdre->
e_ident
[EI_MAG2] != ELFMAG2 ||
408
hdre->
e_ident
[EI_MAG3] != ELFMAG3 ||
409
hdre->
e_ident
[EI_CLASS] != ELFCLASS32 ||
410
hdre->
e_ident
[EI_DATA] != ELFDATA2MSB) {
/src/sys/arch/hpcmips/stand/pbsdboot/
elf.c
263
memcpy(dbg_eh.
e_ident
, elf->
e_ident
,
264
sizeof(elf->
e_ident
));
/src/sys/arch/hppa/stand/xxboot/
main.c
396
if (*(uint32_t *)&e32hdr->
e_ident
[EI_MAG0] !=
398
e32hdr->
e_ident
[EI_VERSION] != EV_CURRENT)
405
if ((class_data = *(uint16_t *)&e32hdr->
e_ident
[EI_CLASS]) ==
/src/sys/arch/epoc32/stand/e32boot/exe/
netbsd.cpp
56
if (Mem::Compare((TUint8 *)hdr.elf.
e_ident
, SELFMAG,
Completed in 22 milliseconds
1
2
3
Indexes created Mon Oct 13 16:09:52 GMT 2025