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

12

/external/elfutils/src/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)))
157 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff
[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);
119 + elf->start_offset + ehdr->e_shoff);
124 + elf->start_offset + ehdr->e_shoff),
163 elf->start_offset + ehdr->e_shoff);
H A Delf_getshdrstrndx.c109 offset = elf->state.elf32.ehdr->e_shoff;
170 size_t offset = elf->state.elf64.ehdr->e_shoff;
H A Dgelf_getehdr.c80 COPY (e_shoff);
H A Delf32_updatenull.c387 /* The user is supposed to fill out e_shoff. Use it and
391 (ehdr->e_shoff
404 update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags);
H A Delf32_updatefile.c211 + ehdr->e_shoff);
399 + ehdr->e_shoff))
401 (char *) elf->map_address + elf->start_offset + ehdr->e_shoff
439 + elf->start_offset + ehdr->e_shoff
634 off_t shdr_offset = elf->start_offset + ehdr->e_shoff;
/external/elfutils/src/tests/
H A Dnewfile.c42 ehdr->e_shoff,
121 ZERO_TEST (e_shoff);
153 ZERO_TEST (e_shoff);
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,
H A Dupdate4.c89 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
343 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
H A Dasm-tst9.c53 .e_shoff = 180,
/external/elfutils/src/libdwfl/
H A Delf-from-memory.c136 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
148 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
309 ehdr.e32.e_shoff = 0;
336 ehdr.e64.e_shoff = 0;
/external/libunwind/src/
H A Delfxx.c112 GET_EHDR_FIELD(ei, ehdr, e_shoff, true);
117 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) {
119 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize),
124 *offset = ehdr->e_shoff;
130 GET_EHDR_FIELD(ei, ehdr, e_shoff, true);
132 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize);
276 Elf_W(Off) soff = ehdr->e_shoff;
289 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/libvpx/libvpx/build/make/
H A Dobj_int_extract.c267 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shoff);
284 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shoff);
305 COPY_STRUCT(hdr32, elf->buf, elf->hdr32.e_shoff + idx * elf->hdr32.e_shentsize,
321 COPY_STRUCT(hdr64, elf->buf, elf->hdr64.e_shoff + idx * elf->hdr64.e_shentsize,
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h64 elf_off e_shoff; ///< File offset of section header table. member in struct:elf::ELFHeader
/external/kernel-headers/original/uapi/linux/
H A Delf.h210 Elf32_Off e_shoff; member in struct:elf32_hdr
227 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:elf64_hdr
/external/llvm/include/llvm/Object/
H A DELF.h606 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) {
639 if (Header->e_shoff == 0)
642 const uint64_t SectionTableOffset = Header->e_shoff;
765 (const char *)base() + Header->e_shoff);
771 (const char *)base() + Header->e_shoff +
/external/valgrind/VEX/switchback/
H A Dlinker.c399 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff);
875 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
988 (Long)ehdr->e_shoff,
993 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);
1122 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff);

Completed in 7667 milliseconds

12