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

1 2 3 4 5 6 7

  /frameworks/compile/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/tests/
update1.c 64 printf (" %02x", ehdr->e_ident[i]);
75 ehdr->e_ident[0] = 42;
76 ehdr->e_ident[4] = 1;
77 ehdr->e_ident[5] = 1;
78 ehdr->e_ident[6] = 2;
79 ehdr->e_ident[9] = 2;
102 printf (" %02x", ehdr->e_ident[i]);
update2.c 65 printf (" %02x", ehdr->e_ident[i]);
76 ehdr->e_ident[0] = 42;
77 ehdr->e_ident[4] = 1;
78 ehdr->e_ident[5] = 1;
79 ehdr->e_ident[6] = 2;
125 printf (" %02x", ehdr->e_ident[i]);
update3.c 74 printf (" %02x", ehdr->e_ident[i]);
85 ehdr->e_ident[0] = 42;
86 ehdr->e_ident[4] = 1;
87 ehdr->e_ident[5] = 1;
88 ehdr->e_ident[6] = 2;
180 printf (" %02x", ehdr->e_ident[i]);
newfile.c 27 printf (" %02x", ehdr->e_ident[n]);
98 if (ehdr->e_ident[i] != 0)
100 printf ("ehdr->e_ident[%d] != 0\n", i);
  /external/grub/stage2/
i386-elf.h 65 unsigned char e_ident[EI_NIDENT]; /* basic identification block */ member in struct:__anon5696
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') {
  /bionic/libc/arch-x86/bionic/
dl_iterate_phdr_static.c 63 if (ehdr->e_ident[EI_MAG0] != ELFMAG0) return -1;
64 if (ehdr->e_ident[EI_MAG1] != ELFMAG1) return -1;
65 if (ehdr->e_ident[EI_MAG2] != ELFMAG2) return -1;
66 if (ehdr->e_ident[EI_MAG3] != ELFMAG3) return -1;
  /external/elfutils/libelf/
elf_getident.c 49 ? elf->state.elf32.ehdr->e_ident
50 : elf->state.elf64.ehdr->e_ident);
gelf_getehdr.c 56 memcpy (dest->e_ident, ehdr->e_ident, EI_NIDENT);
elf32_updatenull.c 43 if (memcmp (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0)
45 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
50 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
54 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE))
56 ehdr->e_ident[EI_DATA] =
60 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM))
67 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB)
69 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB));
72 update_if_changed (ehdr->e_ident[EI_VERSION], EV_CURRENT,
gelf_update_ehdr.c 66 memcpy (ehdr->e_ident, src->e_ident, EI_NIDENT);
elf_begin.c 62 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset,
72 bool is32 = e_ident[EI_CLASS] == ELFCLASS32;
75 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA
92 if (e_ident[EI_DATA] != MY_ELFDATA)
118 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA
136 if (e_ident[EI_DATA] != MY_ELFDATA)
154 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA
172 if (e_ident[EI_DATA] != MY_ELFDATA)
190 unsigned char *e_ident; local
197 e_ident = (unsigned char *) map_address + offset
    [all...]
  /external/elfutils/libasm/
asm_begin.c 71 ehdr->e_ident[EI_CLASS] = klass;
72 ehdr->e_ident[EI_DATA] = data;
74 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
  /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...]
  /bionic/libc/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon44
    [all...]
  /development/ndk/platforms/android-3/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon1137
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon21683
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon22037
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon22391
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon22816
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon23175
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon23605
    [all...]
  /prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon23959
    [all...]
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/sys/
exec_elf.h 66 * e_ident[] identification indexes
79 #define EI_NIDENT 16 /* Size of e_ident[] */
81 /* e_ident[] magic number */
82 #define ELFMAG0 0x7f /* e_ident[EI_MAG0] */
83 #define ELFMAG1 'E' /* e_ident[EI_MAG1] */
84 #define ELFMAG2 'L' /* e_ident[EI_MAG2] */
85 #define ELFMAG3 'F' /* e_ident[EI_MAG3] */
89 /* e_ident[] file class */
95 /* e_ident[] data encoding */
101 /* e_ident[] Operating System/ABI *
126 unsigned char e_ident[EI_NIDENT]; \/* ELF Identification *\/ member in struct:elfhdr
144 unsigned char e_ident[EI_NIDENT]; \/* Id bytes *\/ member in struct:__anon24578
    [all...]

Completed in 948 milliseconds

1 2 3 4 5 6 7