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
126
) sorted by relevancy
1
2
3
4
5
6
/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_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.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)
/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.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];
/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)
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)) {
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)) {
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)
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)) {
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) {
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) {
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 ||
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;
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)
Completed in 36 milliseconds
1
2
3
4
5
6
Indexes created Mon Oct 13 16:09:52 GMT 2025