Searched refs:e_shoff (Results 1 - 25 of 65) sorted by relevance

123

/external/elfutils/libelf/
H A Delf_begin.c111 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
119 CONVERT (ehdr_mem.e32.e_shoff);
127 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff;
135 CONVERT (ehdr_mem.e64.e_shoff);
145 if (unlikely (result == 0) && ehdr.e32->e_shoff != 0)
147 if (unlikely (ehdr.e32->e_shoff >= maxsize)
148 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr)))
154 || (((size_t) ((char *) map_address + ehdr.e32->e_shoff))
341 Elf32_Off e_shoff = elf->state.elf32.ehdr->e_shoff; local
443 Elf64_Off e_shoff = elf->state.elf64.ehdr->e_shoff; local
[all...]
H A Dgelf_update_ehdr.c71 || unlikely (src->e_shoff > 0xffffffffull))
86 COPY (e_shoff);
H A Delf32_getshdr.c83 if (unlikely (ehdr->e_shoff >= elf->maximum_size)
84 || unlikely (elf->maximum_size - ehdr->e_shoff < size))
98 + elf->start_offset + ehdr->e_shoff);
124 + elf->start_offset + ehdr->e_shoff);
134 + elf->start_offset + ehdr->e_shoff),
176 elf->start_offset + ehdr->e_shoff);
H A Delf_getshdrstrndx.c107 offset = elf->state.elf32.ehdr->e_shoff;
168 size_t offset = elf->state.elf64.ehdr->e_shoff;
H A Dgelf_getehdr.c79 COPY (e_shoff);
/external/minijail/
H A Delfparse.h40 Elf32_Off e_shoff; /* Section header table file offset */ member in struct:__anon16092
58 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:__anon16093
/external/elfutils/tests/
H A Dnewfile.c42 ehdr->e_shoff,
121 ZERO_TEST (e_shoff);
153 ZERO_TEST (e_shoff);
H A Delfshphehdr.c72 check ("e_shoff == 0", ehdr.e_shoff == 0);
99 check ("e_shoff == 0", ehdr.e_shoff == 0);
120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize;
139 check ("e_shoff != 0", ehdr.e_shoff != 0);
H A Dupdate1.c75 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
113 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
H A Dupdate2.c76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
136 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
H A Dupdate3.c85 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
191 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
H A Dasm-tst1.c45 .e_shoff = 88,
H A Dasm-tst2.c45 .e_shoff = 96,
/external/syslinux/gpxe/src/include/
H A Delf.h178 Elf32_Off e_shoff; /* Section header file offset. */ member in struct:__anon22076
195 Elf64_Off e_shoff; /* Section header file offset. */ member in struct:__anon22077
/external/elfutils/libdwfl/
H A Delf-from-memory.c142 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
154 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
330 ehdr.e32.e_shoff = 0;
357 ehdr.e64.e_shoff = 0;
/external/syslinux/com32/include/sys/
H A Delf32.h68 Elf32_Off e_shoff; member in struct:elf32_hdr
H A Delf64.h68 Elf64_Off e_shoff; member in struct:elf64_hdr
/external/vixl/examples/aarch32/
H A Ddisasm-a32.cc101 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff);
128 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff);
172 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff)),
256 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff);
/external/swiftshader/third_party/LLVM/test/Scripts/
H A Delf-dump173 e_shoff = f.readWord()
174 print "('e_shoff', %s)" % common_dump.HexDump(e_shoff)
189 f.seek(e_shoff[0] + index * e_shentsize[0])
/external/syslinux/gpxe/src/util/
H A Diccfix.c36 ELF_SHDR *shdr = ( elf + ehdr->e_shoff );
/external/libunwind/src/
H A Delfxx.c114 GET_EHDR_FIELD(ei, ehdr, e_shoff, true);
119 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) {
121 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize),
126 *offset = ehdr->e_shoff;
132 GET_EHDR_FIELD(ei, ehdr, e_shoff, true);
134 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize);
278 Elf_W(Off) soff = ehdr->e_shoff;
291 Elf_W(Off) str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize);
/external/google-breakpad/src/common/linux/
H A Delfutils.cc61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff);
H A Dsynth_elf_unittest.cc231 header->e_shoff);
241 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff);
306 kStringTableAlign, header->e_shoff);
316 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff);
/external/libunwind/src/ia64/
H A DGfind_unwind_table.c64 soff = ehdr->e_shoff;
/external/llvm/include/llvm/Object/
H A DELF.h317 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) {
348 if (Header->e_shoff == 0)
351 const uint64_t SectionTableOffset = Header->e_shoff;
396 return reinterpret_cast<const Elf_Shdr *>(base() + Header->e_shoff);

Completed in 860 milliseconds

123