HomeSort by relevance Sort by last modified time
    Searched refs:e_ident (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /external/elfutils/tests/
update1.c 76 printf (" %02x", ehdr->e_ident[i]);
87 ehdr->e_ident[0] = 42;
88 ehdr->e_ident[4] = 1;
89 ehdr->e_ident[5] = 1;
90 ehdr->e_ident[6] = 2;
91 ehdr->e_ident[9] = 2;
114 printf (" %02x", ehdr->e_ident[i]);
update2.c 77 printf (" %02x", ehdr->e_ident[i]);
88 ehdr->e_ident[0] = 42;
89 ehdr->e_ident[4] = 1;
90 ehdr->e_ident[5] = 1;
91 ehdr->e_ident[6] = 2;
137 printf (" %02x", ehdr->e_ident[i]);
update3.c 86 printf (" %02x", ehdr->e_ident[i]);
97 ehdr->e_ident[0] = 42;
98 ehdr->e_ident[4] = 1;
99 ehdr->e_ident[5] = 1;
100 ehdr->e_ident[6] = 2;
192 printf (" %02x", ehdr->e_ident[i]);
update4.c 91 printf (" %02x", ehdr->e_ident[i]);
102 ehdr->e_ident[0] = 42;
103 ehdr->e_ident[4] = 1;
104 ehdr->e_ident[5] = 1;
105 ehdr->e_ident[6] = 2;
345 printf (" %02x", ehdr->e_ident[i]);
newfile.c 39 printf (" %02x", ehdr->e_ident[n]);
110 if (ehdr->e_ident[i] != 0)
112 printf ("ehdr->e_ident[%d] != 0\n", i);
  /frameworks/rs/cpu_ref/linkloader/include/
ELFHeader.h 43 byte_t e_ident[EI_NIDENT]; member in class:ELFHeader
63 return e_ident[EI_CLASS];
67 return e_ident[EI_DATA];
71 return e_ident[EI_VERSION];
75 return e_ident[EI_OSABI];
79 return e_ident[EI_ABIVERSION];
83 return e_ident[EI_CLASS] == ELFCLASS32;
87 return e_ident[EI_CLASS] == ELFCLASS64;
91 return e_ident[EI_DATA] == ELFDATA2MSB;
95 return e_ident[EI_DATA] == ELFDATA2LSB
183 AR & e_ident; local
    [all...]
  /external/elfutils/libelf/
elf_getident.c 82 ? elf->state.elf32.ehdr->e_ident
83 : elf->state.elf64.ehdr->e_ident);
elf_begin.c 95 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset,
110 bool is32 = e_ident[EI_CLASS] == ELFCLASS32;
113 if (e_ident[EI_DATA] == MY_ELFDATA
115 || (((size_t) e_ident
118 ehdr.p = e_ident;
130 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
131 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
134 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr));
136 if (e_ident[EI_DATA] != MY_ELFDATA)
146 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum
490 unsigned char *e_ident = (unsigned char *) map_address + offset; local
    [all...]
gelf_update_ehdr.c 99 memcpy (ehdr->e_ident, src->e_ident, EI_NIDENT);
elf32_updatenull.c 76 if (memcmp (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0)
78 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
87 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE))
89 ehdr->e_ident[EI_DATA] =
93 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM))
100 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB)
102 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB));
105 update_if_changed (ehdr->e_ident[EI_VERSION], EV_CURRENT,
elf-knowledge.h 125 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
elf_getshstrndx.c 126 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA
148 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
164 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA
186 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
gelf_getehdr.c 93 memcpy (dest->e_ident, ehdr->e_ident, EI_NIDENT);
  /bionic/libc/bionic/
dl_iterate_phdr_static.c 41 if (ehdr->e_ident[EI_MAG0] != ELFMAG0) return -1;
42 if (ehdr->e_ident[EI_MAG1] != ELFMAG1) return -1;
43 if (ehdr->e_ident[EI_MAG2] != ELFMAG2) return -1;
44 if (ehdr->e_ident[EI_MAG3] != ELFMAG3) return -1;
  /external/valgrind/main/coregrind/
launcher-linux.c 172 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
173 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
178 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
179 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
184 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
185 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
191 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
192 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
197 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
198 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX))
    [all...]
  /external/grub/stage2/
i386-elf.h 65 unsigned char e_ident[EI_NIDENT]; /* basic identification block */ member in struct:__anon21161
96 ((h.e_ident[EI_MAG0] == ELFMAG0) & (h.e_ident[EI_MAG1] == ELFMAG1) \
97 & (h.e_ident[EI_MAG2] == ELFMAG2) & (h.e_ident[EI_MAG3] == ELFMAG3) \
98 & (h.e_ident[EI_CLASS] == ELFCLASS32) & (h.e_ident[EI_DATA] == ELFDATA2LSB) \
99 & (h.e_ident[EI_VERSION] == EV_CURRENT) & (h.e_type == ET_EXEC) \
  /sdk/emulator/qtools/
read_elf.cpp 75 switch(hdr->e_ident[EI_DATA])
90 switch(hdr->e_ident[EI_DATA])
105 if (hdr->e_ident[EI_DATA] == ELFDATA2LSB && LittleEndian())
107 if (hdr->e_ident[EI_DATA] == ELFDATA2MSB && !LittleEndian())
122 if (hdr->e_ident[EI_MAG0] != 0x7f || hdr->e_ident[EI_MAG1] != 'E' ||
123 hdr->e_ident[EI_MAG2] != 'L' || hdr->e_ident[EI_MAG3] != 'F') {
  /external/qemu/
loader.c 311 uint8_t e_ident[EI_NIDENT]; local
318 if (read(fd, e_ident, sizeof(e_ident)) != sizeof(e_ident))
320 if (e_ident[0] != ELFMAG0 ||
321 e_ident[1] != ELFMAG1 ||
322 e_ident[2] != ELFMAG2 ||
323 e_ident[3] != ELFMAG3)
330 must_swab = data_order != e_ident[EI_DATA];
337 if (host_data_order != e_ident[EI_DATA]
    [all...]
  /external/llvm/tools/yaml2obj/
yaml2elf.cpp 251 Header.e_ident[EI_MAG0] = 0x7f;
252 Header.e_ident[EI_MAG1] = 'E';
253 Header.e_ident[EI_MAG2] = 'L';
254 Header.e_ident[EI_MAG3] = 'F';
255 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32;
257 Header.e_ident[EI_DATA] = IsLittleEndian ? ELFDATA2LSB : ELFDATA2MSB;
258 Header.e_ident[EI_VERSION] = EV_CURRENT;
259 Header.e_ident[EI_OSABI] = Hdr.OSABI;
260 Header.e_ident[EI_ABIVERSION] = 0;
  /external/elfutils/libasm/
asm_begin.c 100 ehdr->e_ident[EI_CLASS] = class;
101 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl);
103 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
  /external/elfutils/libdwfl/
elf-from-memory.c 217 switch (ehdr.e32.e_ident[EI_CLASS])
238 ehdr.e32.e_ident[EI_DATA]) == NULL)
248 ehdr.e32.e_ident[EI_DATA]) == NULL)
281 switch (ehdr.e32.e_ident[EI_CLASS])
319 ehdr.e32.e_ident[EI_DATA]) == NULL)
346 ehdr.e64.e_ident[EI_DATA]) == NULL)
dwfl_segment_report_module.c 294 if (ehdr.e32.e_ident[EI_DATA] == MY_ELFDATA)
307 ehdr.e32.e_ident[EI_DATA]) == NULL)
408 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32)
411 ehdr.e32.e_ident[EI_DATA]) == NULL)
423 ehdr.e32.e_ident[EI_DATA]) == NULL)
483 const size_t dyn_entsize = (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32
502 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32)
505 ehdr.e32.e_ident[EI_DATA]) != NULL)
513 ehdr.e32.e_ident[EI_DATA]) != NULL)
610 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32
    [all...]
  /bionic/linker/
linker_phdr.cpp 157 if (header_.e_ident[EI_MAG0] != ELFMAG0 ||
158 header_.e_ident[EI_MAG1] != ELFMAG1 ||
159 header_.e_ident[EI_MAG2] != ELFMAG2 ||
160 header_.e_ident[EI_MAG3] != ELFMAG3) {
165 if (header_.e_ident[EI_CLASS] != ELFCLASS32) {
166 DL_ERR("\"%s\" not 32-bit: %d", name_, header_.e_ident[EI_CLASS]);
169 if (header_.e_ident[EI_DATA] != ELFDATA2LSB) {
170 DL_ERR("\"%s\" not little-endian: %d", name_, header_.e_ident[EI_DATA]);
  /external/libvpx/libvpx/build/make/
obj_int_extract.c 219 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon23862
228 COPY_STRUCT(&elf->e_ident, elf->buf, 0, elf->sz);
229 res = elf->e_ident[EI_MAG0] == ELFMAG0;
230 res &= elf->e_ident[EI_MAG1] == ELFMAG1;
231 res &= elf->e_ident[EI_MAG2] == ELFMAG2;
232 res &= elf->e_ident[EI_MAG3] == ELFMAG3;
233 res &= elf->e_ident[EI_CLASS] == ELFCLASS32
234 || elf->e_ident[EI_CLASS] == ELFCLASS64;
235 res &= elf->e_ident[EI_DATA] == ELFDATA2LSB;
239 elf->le_data = elf->e_ident[EI_DATA] == ELFDATA2LSB
    [all...]
  /system/core/libcorkscrew/
symbol_table.c 36 return (e->e_ident[EI_MAG0] == ELFMAG0 &&
37 e->e_ident[EI_MAG1] == ELFMAG1 &&
38 e->e_ident[EI_MAG2] == ELFMAG2 &&
39 e->e_ident[EI_MAG3] == ELFMAG3);

Completed in 2929 milliseconds

1 2 3 4 5 6 7 8