/external/elfutils/libelf/ |
D | elf_begin.c | 117 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff; in get_shnum() 125 CONVERT (ehdr_mem.e32.e_shoff); in get_shnum() 133 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff; in get_shnum() 141 CONVERT (ehdr_mem.e64.e_shoff); in get_shnum() 151 if (unlikely (result == 0) && ehdr.e32->e_shoff != 0) in get_shnum() 153 if (unlikely (ehdr.e32->e_shoff >= maxsize) in get_shnum() 154 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr))) in get_shnum() 160 || (((size_t) ((char *) map_address + ehdr.e32->e_shoff)) in get_shnum() 163 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff in get_shnum() 174 + 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() 172 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 | 228 + ehdr->e_shoff); in __elfw2() 437 + ehdr->e_shoff)) in __elfw2() 439 (char *) elf->map_address + elf->start_offset + ehdr->e_shoff in __elfw2() 482 + elf->start_offset + ehdr->e_shoff in __elfw2() 667 int64_t shdr_offset = elf->start_offset + ehdr->e_shoff; in __elfw2()
|
D | elf32_updatenull.c | 438 (ehdr->e_shoff in __elfw2() 451 update_if_changed (ehdr->e_shoff, size, elf->flags); in __elfw2()
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | invalid-e_shoff.test | 1 ## If the e_shoff field is set to a value either past the end of the file, or 2 ## such that e_shoff + e_shnum * sizeof(Elf_Shdr) is past the end of the file, 16 # CASE1: error: '[[INPUT]]': section header table goes past the end of the file: e_shoff = 0x80 18 ## Set the e_shoff field to a value much larger than the object file size. 33 # CASE2: error: '[[INPUT]]': section header table goes past the end of the file: e_shoff = 0x400000…
|
/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 | 76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 114 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update2.c | 77 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 137 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update3.c | 86 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 192 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update4.c | 90 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 344 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | asm-tst1.c | 46 .e_shoff = 88,
|
/external/minijail/ |
D | elfparse.h | 34 Elf32_Off e_shoff; /* Section header table file offset */ member 52 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() 257 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff); in main()
|
/external/elfutils/libdwfl/ |
D | elf-from-memory.c | 147 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory() 160 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory() 323 ehdr.e32.e_shoff = 0; in elf_from_remote_memory() 329 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()
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 313 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) { in getNumSections() 344 if (Header->e_shoff == 0) in ELFFile() 347 const uint64_t SectionTableOffset = Header->e_shoff; in ELFFile() 392 auto *Begin = reinterpret_cast<const Elf_Shdr *>(base() + Header->e_shoff); in sections()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 212 Elf32_Off e_shoff; member 229 Elf64_Off e_shoff; /* Section header table file offset */ member
|
/external/llvm-project/llvm/test/Object/ |
D | archive-malformed-object.test | 19 # ERR2: error: bad.a: section header table goes past the end of the file: e_shoff = 0x9999
|
/external/linux-kselftest/tools/testing/selftests/proc/ |
D | proc-pid-vm.c | 85 uint64_t e_shoff; member 175 h.e_shoff = 0; in make_exe()
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.cpp | 90 result &= e_shoff != 0; in HasHeaderExtension() 100 lldb_private::DataExtractor sh_data(data, e_shoff, e_shentsize); in ParseHeaderExtension()
|
/external/perfetto/src/profiling/symbolizer/ |
D | local_symbolizer.cc | 151 Off e_shoff; member 205 Off e_shoff; member 246 static_cast<char*>(mem) + ehdr->e_shoff + i * sizeof(typename E::Shdr)); in GetShdr()
|