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

1 2 3 4 5 6 7 8 91011>>

  /system/core/debuggerd/libdebuggerd/
elf_utils.cpp 36 Backtrace* backtrace, uintptr_t base_addr, uint8_t* e_ident, std::string* build_id) {
39 memcpy(&hdr.e_ident[0], e_ident, EI_NIDENT);
100 uint8_t e_ident[EI_NIDENT]; local
101 if (backtrace->Read(addr, e_ident, SELFMAG) != SELFMAG) {
105 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) {
110 if (backtrace->Read(addr + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG) != EI_NIDENT - SELFMAG) {
114 if (e_ident[EI_CLASS] == ELFCLASS32) {
115 return get_build_id<Elf32_Ehdr, Elf32_Phdr, Elf32_Nhdr>(backtrace, addr, e_ident, build_id);
116 } else if (e_ident[EI_CLASS] == ELFCLASS64)
    [all...]
  /external/valgrind/coregrind/
launcher-linux.c 208 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
209 ehdr->e_ident[EI_OSABI] == ELFOSABI_SOLARIS)) {
215 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
216 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
221 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
222 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
227 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
228 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX)) {
234 (ehdr->e_ident[EI_OSABI] == ELFOSABI_SYSV ||
235 ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX))
    [all...]
  /external/elfutils/libelf/
elf_getident.c 59 ? elf->state.elf32.ehdr->e_ident
60 : elf->state.elf64.ehdr->e_ident);
elf_begin.c 75 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset,
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)->e_shnum
513 unsigned char *e_ident = (unsigned char *) map_address + offset; local
    [all...]
gelf_update_ehdr.c 78 memcpy (ehdr->e_ident, src->e_ident, EI_NIDENT);
elf-knowledge.h 102 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
  /external/syslinux/gpxe/src/arch/i386/image/
elfboot.c 76 static const uint8_t e_ident[] = { local
89 if ( memcmp ( ehdr.e_ident, e_ident, sizeof ( e_ident ) ) != 0 ) {
  /external/elfutils/tests/
update1.c 69 printf (" %02x", ehdr->e_ident[i]);
80 ehdr->e_ident[0] = 42;
81 ehdr->e_ident[4] = 1;
82 ehdr->e_ident[5] = 1;
83 ehdr->e_ident[6] = 2;
84 ehdr->e_ident[9] = 2;
107 printf (" %02x", ehdr->e_ident[i]);
update2.c 70 printf (" %02x", ehdr->e_ident[i]);
81 ehdr->e_ident[0] = 42;
82 ehdr->e_ident[4] = 1;
83 ehdr->e_ident[5] = 1;
84 ehdr->e_ident[6] = 2;
130 printf (" %02x", ehdr->e_ident[i]);
update3.c 79 printf (" %02x", ehdr->e_ident[i]);
90 ehdr->e_ident[0] = 42;
91 ehdr->e_ident[4] = 1;
92 ehdr->e_ident[5] = 1;
93 ehdr->e_ident[6] = 2;
185 printf (" %02x", ehdr->e_ident[i]);
  /system/core/libunwindstack/
Elf.cpp 58 uint8_t e_ident[SELFMAG + 1]; local
59 if (!memory->Read(0, e_ident, SELFMAG)) {
63 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) {
  /bionic/tools/relocation_packer/src/
main.cc 108 uint8_t e_ident[EI_NIDENT]; local
109 if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT) != EI_NIDENT)) {
121 if (e_ident[EI_CLASS] == ELFCLASS32) {
130 } else if (e_ident[EI_CLASS] == ELFCLASS64) {
140 LOG(ERROR) << file << ": unknown ELFCLASS: " << e_ident[EI_CLASS]; local
  /external/libunwind/src/
elfxx.h 97 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_VERSION] != EV_NON
    [all...]
  /external/elfutils/libdw/
encoded-value.h 41 encoded_value_size (const Elf_Data *data, const unsigned char e_ident[],
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,
cfi.h 83 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)) }
dwarf_frame_cfa.c 62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
dwarf_next_cfi.c 40 dwarf_next_cfi (const unsigned char e_ident[],
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);
cie.c 94 += encoded_value_size (&cache->data->d, cache->e_ident,
104 data += encoded_value_size (&cache->data->d, cache->e_ident,
125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
170 int result = INTUSE(dwarf_next_cfi) (cache->e_ident,
dwarf_getcfi.c 59 cfi->e_ident = (unsigned char *) elf_getident (dbg->elf, NULL);
  /external/syslinux/com32/mboot/
solaris.c 42 return eh->e_ident[EI_OSABI] == 6; /* ABI == Solaris */
  /toolchain/binutils/binutils-2.25/gold/
binary.cc 270 unsigned char e_ident[elfcpp::EI_NIDENT]; local
271 memset(e_ident, 0, elfcpp::EI_NIDENT);
272 e_ident[elfcpp::EI_MAG0] = elfcpp::ELFMAG0;
273 e_ident[elfcpp::EI_MAG1] = elfcpp::ELFMAG1;
274 e_ident[elfcpp::EI_MAG2] = elfcpp::ELFMAG2;
275 e_ident[elfcpp::EI_MAG3] = elfcpp::ELFMAG3;
277 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS32;
279 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS64;
282 e_ident[elfcpp::EI_DATA] = (big_endian
285 e_ident[elfcpp::EI_VERSION] = elfcpp::EV_CURRENT
    [all...]
  /external/minijail/
elfparse.h 34 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon27963
52 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon27964
  /toolchain/binutils/binutils-2.25/binutils/
elfedit.c 65 if (elf_header.e_ident[EI_MAG0] != ELFMAG0
66 || elf_header.e_ident[EI_MAG1] != ELFMAG1
67 || elf_header.e_ident[EI_MAG2] != ELFMAG2
68 || elf_header.e_ident[EI_MAG3] != ELFMAG3)
76 if (elf_header.e_ident[EI_VERSION] != EV_CURRENT)
80 file_name, elf_header.e_ident[EI_VERSION],
89 class = elf_header.e_ident[EI_CLASS];
122 osabi = elf_header.e_ident[EI_OSABI];
146 ehdr32.e_ident[EI_OSABI] = output_elf_osabi;
155 ehdr64.e_ident[EI_OSABI] = output_elf_osabi
    [all...]
  /external/google-breakpad/src/common/linux/
elf_core_dump.cc 111 header->e_ident[0] == ELFMAG0 &&
112 header->e_ident[1] == ELFMAG1 &&
113 header->e_ident[2] == ELFMAG2 &&
114 header->e_ident[3] == ELFMAG3 &&
115 header->e_ident[4] == kClass &&
  /external/elfutils/backends/
ppc64_resolve_sym.c 58 ehdr->e_ident[EI_DATA]) != NULL)

Completed in 301 milliseconds

1 2 3 4 5 6 7 8 91011>>