/external/elfutils/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() 154 || (((size_t) ((char *) map_address + ehdr.e32->e_shoff)) 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() [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() 124 + elf->start_offset + ehdr->e_shoff); in ElfW2() 134 + elf->start_offset + ehdr->e_shoff), in ElfW2() 176 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 | 107 offset = elf->state.elf32.ehdr->e_shoff; in elf_getshdrstrndx() 168 size_t offset = elf->state.elf64.ehdr->e_shoff; in elf_getshdrstrndx()
|
D | gelf_getehdr.c | 79 COPY (e_shoff); in __gelf_getehdr_rdlock()
|
D | elf32_updatefile.c | 239 + ehdr->e_shoff); in __elfw2() 413 + ehdr->e_shoff)) in __elfw2() 415 (char *) elf->map_address + elf->start_offset + ehdr->e_shoff in __elfw2() 458 + elf->start_offset + ehdr->e_shoff in __elfw2() 653 off_t shdr_offset = elf->start_offset + ehdr->e_shoff; in __elfw2()
|
/external/elfutils/tests/ |
D | elfshphehdr.c | 72 check ("e_shoff == 0", ehdr.e_shoff == 0); in test() 99 check ("e_shoff == 0", ehdr.e_shoff == 0); in test() 120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in test() 139 check ("e_shoff != 0", ehdr.e_shoff != 0); in test()
|
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()
|
/external/minijail/ |
D | elfparse.h | 40 Elf32_Off e_shoff; /* Section header table file offset */ member 58 Elf64_Off e_shoff; /* Section header table file offset */ member
|
/external/vixl/examples/aarch32/ |
D | disasm-a32.cc | 101 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff); in SectionLocator() 128 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff); in LocateSymbols() 172 reinterpret_cast<const char*>(ehdr) + ehdr->e_shoff)), in StaticSymbolVisitor() 256 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff); in main()
|
/external/elfutils/libdwfl/ |
D | elf-from-memory.c | 142 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory() 154 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory() 330 ehdr.e32.e_shoff = 0; in elf_from_remote_memory() 357 ehdr.e64.e_shoff = 0; in elf_from_remote_memory()
|
/external/libunwind/src/ |
D | elfxx.c | 114 GET_EHDR_FIELD(ei, ehdr, e_shoff, true); in elf_w() 119 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) { in elf_w() 121 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize), in elf_w() 126 *offset = ehdr->e_shoff; in elf_w() 132 GET_EHDR_FIELD(ei, ehdr, e_shoff, true); in elf_w() 134 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w() 278 Elf_W(Off) soff = ehdr->e_shoff; in Elf_W() 291 Elf_W(Off) str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
|
/external/syslinux/gpxe/src/include/ |
D | elf.h | 178 Elf32_Off e_shoff; /* Section header file offset. */ member 195 Elf64_Off e_shoff; /* Section header file offset. */ member
|
/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()
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
D | elf-dump | 173 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/llvm/include/llvm/Object/ |
D | ELF.h | 317 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) { in getNumSections() 348 if (Header->e_shoff == 0) in ELFFile() 351 const uint64_t SectionTableOffset = Header->e_shoff; in ELFFile() 396 return reinterpret_cast<const Elf_Shdr *>(base() + Header->e_shoff); in section_begin()
|
/external/syslinux/com32/tools/ |
D | relocs.c | 276 ehdr.e_shoff = elf32_to_cpu(ehdr.e_shoff); in read_ehdr() 318 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs() 320 ehdr.e_shoff, strerror(errno)); in read_shdrs()
|
/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/syslinux/com32/mboot/ |
D | map.c | 228 if (eh->e_shoff) { in map_image() 231 sh = (Elf32_Shdr *) ((char *)eh + eh->e_shoff); in map_image()
|
/external/syslinux/com32/include/sys/ |
D | elf64.h | 68 Elf64_Off e_shoff; member
|
D | elf32.h | 68 Elf32_Off e_shoff; member
|