/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
elf.h | 175 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr 192 unsigned char e_ident[16]; member in struct:elf64_hdr
|
/external/llvm/tools/llvm-readobj/ |
ELFDumper.cpp | 430 W.printBinary("Magic", makeArrayRef(Header->e_ident).slice(ELF::EI_MAG0, 432 W.printEnum ("Class", Header->e_ident[ELF::EI_CLASS], 434 W.printEnum ("DataEncoding", Header->e_ident[ELF::EI_DATA], 436 W.printNumber("FileVersion", Header->e_ident[ELF::EI_VERSION]); 437 W.printEnum ("OS/ABI", Header->e_ident[ELF::EI_OSABI], 439 W.printNumber("ABIVersion", Header->e_ident[ELF::EI_ABIVERSION]); 440 W.printBinary("Unused", makeArrayRef(Header->e_ident).slice(ELF::EI_PAD));
|
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectWriter.cpp | 201 memcpy(header->e_ident, ElfMagic, EI_MAG3+1); 203 header->e_ident[EI_CLASS] = (SIZE == 32) ? ELFCLASS32 : ELFCLASS64; 204 header->e_ident[EI_DATA] = pConfig.targets().isLittleEndian()? 206 header->e_ident[EI_VERSION] = target().getInfo().ELFVersion(); 207 header->e_ident[EI_OSABI] = target().getInfo().OSABI(); 208 header->e_ident[EI_ABIVERSION] = target().getInfo().ABIVersion(); 226 header->e_version = header->e_ident[EI_VERSION];
|
/external/elfutils/libelf/ |
abstract.h | 54 TYPE_EXTRA (unsigned char e_ident[EI_NIDENT];) \ 55 TYPE_XLATE (memmove (tdest->e_ident, tsrc->e_ident, EI_NIDENT);) \
|
elf32_getphdr.c | 111 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA 137 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) 196 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
|
elf32_getshdr.c | 108 assert (ehdr->e_ident[EI_DATA] != MY_ELFDATA 114 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) 180 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
|
elf_getdata.c | 328 elf->state.elf32.ehdr->e_ident[EI_VERSION]; 331 elf->state.elf64.ehdr->e_ident[EI_VERSION]; 465 ? elf->state.elf32.ehdr->e_ident[EI_DATA] 466 : elf->state.elf64.ehdr->e_ident[EI_DATA]),
|
elf-knowledge.h | 125 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
|
elf32_checksum.c | 102 ident = elf->state.ELFW(elf,LIBELFBITS).ehdr->e_ident;
|
elf_getdata_rawchunk.c | 146 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA)
|
/bionic/libc/include/sys/ |
exec_elf.h | 99 unsigned char e_ident[ELF_NIDENT]; /* Id bytes */ member in struct:__anon98 116 unsigned char e_ident[ELF_NIDENT]; /* Id bytes */ member in struct:__anon99 132 /* e_ident offsets */ 145 /* e_ident[EI_MAG0,EI_MAG3] */ 153 /* e_ident[EI_CLASS] */ 159 /* e_ident[EI_DATA] */ 164 /* e_ident[EI_VERSION] */ 169 /* e_ident[EI_OSABI] */ [all...] |
/external/elfutils/src/ |
elflint.c | 358 /* Check e_ident field. */ 359 if (ehdr->e_ident[EI_MAG0] != ELFMAG0) 360 ERROR ("e_ident[%d] != '%c'\n", EI_MAG0, ELFMAG0); 361 if (ehdr->e_ident[EI_MAG1] != ELFMAG1) 362 ERROR ("e_ident[%d] != '%c'\n", EI_MAG1, ELFMAG1); 363 if (ehdr->e_ident[EI_MAG2] != ELFMAG2) 364 ERROR ("e_ident[%d] != '%c'\n", EI_MAG2, ELFMAG2); 365 if (ehdr->e_ident[EI_MAG3] != ELFMAG3) 366 ERROR ("e_ident[%d] != '%c'\n", EI_MAG3, ELFMAG3); 368 if (ehdr->e_ident[EI_CLASS] != ELFCLASS3 [all...] |
readelf.c | 704 printf (" %02hhx", ehdr->e_ident[cnt]); 707 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? "ELF32" 708 : ehdr->e_ident[EI_CLASS] == ELFCLASS64 ? "ELF64" 712 ehdr->e_ident[EI_DATA] == ELFDATA2LSB 714 : ehdr->e_ident[EI_DATA] == ELFDATA2MSB 718 ehdr->e_ident[EI_VERSION], 719 ehdr->e_ident[EI_VERSION] == EV_CURRENT ? gettext ("(current)") 724 ebl_osabi_name (ebl, ehdr->e_ident[EI_OSABI], buf, sizeof (buf))); 727 ehdr->e_ident[EI_ABIVERSION]); 838 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32 [all...] |
unstrip.c | 972 main_ehdr->e_ident[EI_DATA]) != NULL, 977 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) 1005 main_ehdr->e_ident[EI_DATA]) != NULL, 1012 if (ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32) [all...] |
/external/elfutils/libdw/ |
dwarf_begin_elf.c | 260 if ((BYTE_ORDER == LITTLE_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2MSB) 261 || (BYTE_ORDER == BIG_ENDIAN && ehdr->e_ident[EI_DATA] == ELFDATA2LSB))
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
elf-x86-x86.c | 208 while (bufp-buf < EI_NIDENT) /* e_ident padding */
|
elf-x86-amd64.c | 221 while (bufp-buf < EI_NIDENT) /* e_ident padding */
|
/external/elfutils/tests/ |
asm-tst1.c | 43 .e_ident = { [EI_MAG0] = ELFMAG0,
|
asm-tst2.c | 43 .e_ident = { [EI_MAG0] = ELFMAG0,
|
/external/valgrind/main/coregrind/m_coredump/ |
coredump-elf.c | 92 VG_(memcpy)(ehdr->e_ident, ELFMAG, SELFMAG); 93 ehdr->e_ident[EI_CLASS] = VG_ELF_CLASS; 94 ehdr->e_ident[EI_DATA] = VG_ELF_DATA2XXX; 95 ehdr->e_ident[EI_VERSION] = EV_CURRENT;
|
/external/valgrind/main/coregrind/m_ume/ |
elf.c | 108 if (VG_(memcmp)(&e->e.e_ident[0], ELFMAG, SELFMAG) != 0) { 112 if (e->e.e_ident[EI_CLASS] != VG_ELF_CLASS) { 117 if (e->e.e_ident[EI_DATA] != VG_ELF_DATA2XXX) { 252 return (len > sizeof(*e)) && VG_(memcmp)(&e->e_ident[0], ELFMAG, SELFMAG) == 0;
|
/external/valgrind/main/VEX/switchback/ |
linker.c | 936 if (ehdr->e_ident[EI_MAG0] != ELFMAG0 || 937 ehdr->e_ident[EI_MAG1] != ELFMAG1 || 938 ehdr->e_ident[EI_MAG2] != ELFMAG2 || 939 ehdr->e_ident[EI_MAG3] != ELFMAG3) { 944 if (ehdr->e_ident[EI_CLASS] != ELFCLASS) { 949 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) { 953 if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) { [all...] |
/external/valgrind/main/VEX/unused/ |
linker.c | 778 if (ehdr->e_ident[EI_MAG0] != ELFMAG0 || 779 ehdr->e_ident[EI_MAG1] != ELFMAG1 || 780 ehdr->e_ident[EI_MAG2] != ELFMAG2 || 781 ehdr->e_ident[EI_MAG3] != ELFMAG3) { 786 if (ehdr->e_ident[EI_CLASS] != ELFCLASS) { 791 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) { 795 if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) { [all...] |
/external/llvm/include/llvm/Support/ |
ELF.h | 47 // e_ident size and indices. 59 EI_NIDENT = 16 // Number of bytes in e_ident. 63 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes member in struct:llvm::ELF::Elf32_Ehdr 78 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; 80 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } 81 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } 87 unsigned char e_ident[EI_NIDENT]; member in struct:llvm::ELF::Elf64_Ehdr 102 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; 104 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } 105 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; [all...] |
/external/llvm/lib/MC/ |
ELFObjectWriter.cpp | 385 Write8(0x7f); // e_ident[EI_MAG0] 386 Write8('E'); // e_ident[EI_MAG1] 387 Write8('L'); // e_ident[EI_MAG2] 388 Write8('F'); // e_ident[EI_MAG3] 390 Write8(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS] 392 // e_ident[EI_DATA] 395 Write8(ELF::EV_CURRENT); // e_ident[EI_VERSION] 396 // e_ident[EI_OSABI] 398 Write8(0); // e_ident[EI_ABIVERSION] [all...] |