Searched defs:e_ident (Results 1 - 18 of 18) sorted by path

/external/elfutils/libdw/
H A Dcfi.h83 const unsigned char *e_ident; /* For EI_DATA and EI_CLASS. */ member in struct:Dwarf_CFI_s
224 #define BYTE_ORDER_DUMMY(var, e_ident) \
226 { ((BYTE_ORDER == LITTLE_ENDIAN && e_ident[EI_DATA] == ELFDATA2MSB) \
227 || (BYTE_ORDER == BIG_ENDIAN && e_ident[EI_DATA] == ELFDATA2LSB)) }
H A Ddwarf_next_cfi.c40 dwarf_next_cfi (const unsigned char e_ident[], argument
48 BYTE_ORDER_DUMMY (dw, e_ident);
137 uint_fast8_t address_size = e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
215 += encoded_value_size (data, e_ident, encoding, NULL);
219 bytes += encoded_value_size (data, e_ident, encoding, bytes);
H A Dencoded-value.h41 encoded_value_size (const Elf_Data *data, const unsigned char e_ident[], argument
57 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
79 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
89 Dwarf eh_dbg = { .other_byte_order = MY_ELFDATA != cache->e_ident[EI_DATA] };
138 cache->e_ident,
217 size_t ptrsize = encoded_value_size (NULL, cache->e_ident,
/external/elfutils/libdwfl/
H A Ddwfl_segment_report_module.c332 const unsigned char *e_ident; local
358 e_ident = ((const unsigned char *) buffer);
359 ei_class = e_ident[EI_CLASS];
360 ei_data = e_ident[EI_DATA];
475 ehdr.e32.e_ident[EI_DATA]) == NULL)
/external/elfutils/libelf/
H A Delf.h69 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon6103
87 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon6104
103 /* Fields in the e_ident array. The EI_* macros are indices into the
H A Delf_begin.c75 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset, argument
90 bool is32 = e_ident[EI_CLASS] == ELFCLASS32;
93 if (e_ident[EI_DATA] == MY_ELFDATA
95 || (((size_t) e_ident
98 ehdr.p = e_ident;
110 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
111 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
114 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr));
116 if (e_ident[EI_DATA] != MY_ELFDATA)
126 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)
248 file_read_elf(int fildes, void *map_address, unsigned char *e_ident, off_t offset, size_t maxsize, Elf_Cmd cmd, Elf *parent) argument
513 unsigned char *e_ident = (unsigned char *) map_address + offset; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Delf.h204 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr
221 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ member in struct:elf64_hdr
328 #define EI_MAG0 0 /* e_ident[] indexes */
350 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
/external/kmod/port-gnu/
H A Delf.h68 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon9319
86 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon9320
102 /* Fields in the e_ident array. The EI_* macros are indices into the
/external/libunwind/src/
H A Delfxx.h97 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image; local
99 && e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE
100 && e_ident[EI_VERSION] <= EV_CURRENT);
104 uint8_t e_ident[EI_NIDENT]; local
106 if (SELFMAG != elf_w (memory_read) (ei, start, e_ident, SELFMAG, false)) {
109 if (memcmp (e_ident, ELFMAG, SELFMAG) != 0) {
114 ei, start + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG, false)) {
117 return e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSIO
[all...]
/external/llvm/include/llvm/Support/
H A DELF.h48 // e_ident size and indices.
60 EI_NIDENT = 16 // Number of bytes in e_ident.
64 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes member in struct:llvm::ELF::Elf32_Ehdr
79 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0;
81 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
82 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; }
88 unsigned char e_ident[EI_NIDENT]; member in struct:llvm::ELF::Elf64_Ehdr
103 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0;
105 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
106 unsigned char getDataEncoding() const { return e_ident[EI_DAT
[all...]
/external/minijail/
H A Delfparse.h34 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon15340
52 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon15341
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DELF.h47 // 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_DAT
[all...]
/external/swiftshader/third_party/LLVM/lib/Object/
H A DELFObjectFile.cpp267 unsigned char e_ident[ELF::EI_NIDENT]; // ELF Identification bytes member in struct:__anon18672::ELFObjectFile::Elf_Ehdr
283 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
285 unsigned char getFileClass() const { return e_ident[ELF::EI_CLASS]; }
286 unsigned char getDataEncoding() const { return e_ident[ELF::EI_DATA]; }
1227 switch(Header->e_ident[ELF::EI_CLASS]) {
/external/syslinux/com32/include/sys/
H A Delf32.h62 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr
H A Delf64.h62 unsigned char e_ident[EI_NIDENT]; member in struct:elf64_hdr
/external/syslinux/gpxe/src/arch/i386/image/
H A Delfboot.c76 static const uint8_t e_ident[] = { local
89 if ( memcmp ( ehdr.e_ident, e_ident, sizeof ( e_ident ) ) != 0 ) {
/external/syslinux/gpxe/src/include/
H A Delf.h6 #define EI_NIDENT 16 /* Size of e_ident array. */
172 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon20504
189 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon20505
/external/valgrind/perf/
H A Dtinycc.c152 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon23827
170 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon23828
186 /* Fields in the e_ident array. The EI_* macros are indices into the
19755 ehdr.e_ident[0] = ELFMAG0;
19756 ehdr.e_ident[1] = ELFMAG1;
19757 ehdr.e_ident[2] = ELFMAG2;
19758 ehdr.e_ident[3] = ELFMAG3;
19759 ehdr.e_ident[4] = ELFCLASS32;
19760 ehdr.e_ident[5] = ELFDATA2LSB;
19761 ehdr.e_ident[
[all...]

Completed in 1620 milliseconds