/external/elfutils/src/libelf/ |
D | elf_begin.c | 111 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff; in get_shnum() 119 CONVERT (ehdr_mem.e32.e_shoff); in get_shnum() 127 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff; in get_shnum() 135 CONVERT (ehdr_mem.e64.e_shoff); in get_shnum() 145 if (unlikely (result == 0) && ehdr.e32->e_shoff != 0) in get_shnum() 147 if (unlikely (ehdr.e32->e_shoff >= maxsize) in get_shnum() 148 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr))) in get_shnum() 157 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff in get_shnum() 167 + ehdr.e32->e_shoff in get_shnum() 172 offset + ehdr.e32->e_shoff in get_shnum() [all …]
|
D | elf32_getshdr.c | 83 if (unlikely (ehdr->e_shoff >= elf->maximum_size) in ElfW2() 84 || unlikely (elf->maximum_size - ehdr->e_shoff < size)) in ElfW2() 98 + elf->start_offset + ehdr->e_shoff); in ElfW2() 119 + elf->start_offset + ehdr->e_shoff); in ElfW2() 124 + elf->start_offset + ehdr->e_shoff), in ElfW2() 163 elf->start_offset + ehdr->e_shoff); in ElfW2()
|
D | gelf_update_ehdr.c | 71 || unlikely (src->e_shoff > 0xffffffffull)) in gelf_update_ehdr() 86 COPY (e_shoff); in gelf_update_ehdr()
|
D | elf_getshdrstrndx.c | 109 offset = elf->state.elf32.ehdr->e_shoff; 170 size_t offset = elf->state.elf64.ehdr->e_shoff;
|
D | elf32_updatefile.c | 211 + ehdr->e_shoff); in __elfw2() 399 + ehdr->e_shoff)) in __elfw2() 401 (char *) elf->map_address + elf->start_offset + ehdr->e_shoff in __elfw2() 439 + elf->start_offset + ehdr->e_shoff in __elfw2() 634 off_t shdr_offset = elf->start_offset + ehdr->e_shoff; in __elfw2()
|
D | gelf_getehdr.c | 80 COPY (e_shoff);
|
D | elf32_updatenull.c | 391 (ehdr->e_shoff in __elfw2() 404 update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags); in __elfw2()
|
/external/elfutils/src/tests/ |
D | newfile.c | 42 ehdr->e_shoff, in print_ehdr() 121 ZERO_TEST (e_shoff); in main() 153 ZERO_TEST (e_shoff); in main()
|
D | update1.c | 75 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 113 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update2.c | 76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 136 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update3.c | 85 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 191 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update4.c | 89 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 343 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | asm-tst1.c | 45 .e_shoff = 88,
|
D | asm-tst2.c | 45 .e_shoff = 96,
|
/external/libunwind/src/ |
D | elfxx.c | 112 GET_EHDR_FIELD(ei, ehdr, e_shoff, true); in elf_w() 117 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) { in elf_w() 119 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize), in elf_w() 124 *offset = ehdr->e_shoff; in elf_w() 130 GET_EHDR_FIELD(ei, ehdr, e_shoff, true); in elf_w() 132 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w() 276 Elf_W(Off) soff = ehdr->e_shoff; in Elf_W() 289 Elf_W(Off) str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
|
/external/elfutils/src/libdwfl/ |
D | elf-from-memory.c | 136 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory() 148 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory() 309 ehdr.e32.e_shoff = 0; in elf_from_remote_memory() 336 ehdr.e64.e_shoff = 0; in elf_from_remote_memory()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 231 header->e_shoff); in TYPED_TEST() 241 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff); in TYPED_TEST() 306 kStringTableAlign, header->e_shoff); in TYPED_TEST() 316 reinterpret_cast<const Shdr*>(contents.data() + header->e_shoff); in TYPED_TEST()
|
D | elfutils.cc | 61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in FindElfClassSection()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 210 Elf32_Off e_shoff; member 227 Elf64_Off e_shoff; /* Section header table file offset */ member
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 267 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shoff); in parse_elf_header() 284 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shoff); in parse_elf_header() 305 COPY_STRUCT(hdr32, elf->buf, elf->hdr32.e_shoff + idx * elf->hdr32.e_shentsize, in parse_elf_section() 321 COPY_STRUCT(hdr64, elf->buf, elf->hdr64.e_shoff + idx * elf->hdr64.e_shentsize, in parse_elf_section()
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 606 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) { in getNumSections() 639 if (Header->e_shoff == 0) in ELFFile() 642 const uint64_t SectionTableOffset = Header->e_shoff; in ELFFile() 765 (const char *)base() + Header->e_shoff); in begin_sections() 771 (const char *)base() + Header->e_shoff + in end_sections()
|
/external/valgrind/VEX/unused/ |
D | linker.c | 331 Elf_Shdr* shdr = (Elf_Shdr*)(ehdrC + ehdr->e_shoff); in findElfSection() 715 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocResolve_ELF() 826 ehdr->e_shoff, ehdr->e_shnum, ehdr->e_shentsize ); in ocVerifyImage_ELF() 830 shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocVerifyImage_ELF() 959 Elf_Shdr* shdr = (Elf_Shdr*) (ehdrC + ehdr->e_shoff); in ocGetNames_ELF()
|
/external/valgrind/VEX/switchback/ |
D | linker.c | 399 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);
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 64 soff = ehdr->e_shoff; in find_gp()
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.h | 64 elf_off e_shoff; ///< File offset of section header table. member
|