Home
last modified time | relevance | path

Searched refs:e_shentsize (Results 1 – 25 of 45) sorted by relevance

12

/external/libunwind/src/
Delfxx.c115 GET_EHDR_FIELD(ei, ehdr, e_shentsize, 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()
133 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
134 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
136 if (str_soff + ehdr->e_shentsize > size) { in elf_w()
138 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w()
167 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
244 shdr_offset += ehdr->e_shentsize; in elf_w()
279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W()
[all …]
/external/libunwind/src/ia64/
DGfind_unwind_table.c65 str_soff = soff + (ehdr->e_shstrndx * ehdr->e_shentsize); in find_gp()
67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size) in find_gp()
70 soff + ehdr->e_shnum * ehdr->e_shentsize, in find_gp()
86 shdr = (Elf64_Shdr *) (((char *) shdr) + ehdr->e_shentsize); in find_gp()
/external/elfutils/tests/
Dnewfile.c47 ehdr->e_shentsize, in print_ehdr()
126 ZERO_TEST (e_shentsize); in main()
158 ZERO_TEST (e_shentsize); in main()
Dupdate1.c76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Dupdate2.c77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
137 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Dupdate3.c86 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
192 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Dupdate4.c90 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
344 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Dasm-tst1.c47 .e_shentsize = sizeof (Elf32_Shdr),
Dasm-tst2.c47 .e_shentsize = sizeof (Elf32_Shdr),
Delfshphehdr.c144 check ("e_shentsize", ehdr.e_shentsize == shentsize); in test()
Dasm-tst9.c55 .e_shentsize = sizeof (Elf32_Shdr),
/external/minijail/
Delfparse.h45 Elf32_Half e_shentsize; /* Section header table entry size */ member
63 Elf64_Half e_shentsize; /* Section header table entry size */ member
/external/kernel-headers/original/uapi/linux/
Delf.h215 Elf32_Half e_shentsize; member
232 Elf64_Half e_shentsize; member
/external/elfutils/libelf/
Dgelf_update_ehdr.c91 COPY (e_shentsize); in gelf_update_ehdr()
Dgelf_getehdr.c84 COPY (e_shentsize); in __gelf_getehdr_rdlock()
/external/elfutils/libdwfl/
Delf-from-memory.c142 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()
Ddwfl_segment_report_module.c373 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in dwfl_segment_report_module()
386 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in dwfl_segment_report_module()
/external/llvm/include/llvm/Object/
DELF.h364 const uint64_t SectionTableSize = getNumSections() * Header->e_shentsize; in ELFFile()
395 if (Header->e_shentsize != sizeof(Elf_Shdr)) in section_begin()
460 (Index * Header->e_shentsize)); in getSection()
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc236 EXPECT_EQ(sizeof(Shdr), header->e_shentsize); in TYPED_TEST()
311 EXPECT_EQ(sizeof(Shdr), header->e_shentsize); in TYPED_TEST()
/external/llvm/test/Object/
Dinvalid.test46 INVALID-SECTION-SIZE: Invalid section header entry size (e_shentsize) in ELF header
/external/llvm/include/llvm/Support/
DELF.h75 Elf32_Half e_shentsize; // Size of an entry in the section header table member
99 Elf64_Half e_shentsize; member
/external/elfutils/src/
Dstrip.c2050 newehdr->e_shentsize = gelf_fsize (elf, ELF_T_SHDR, 1, EV_CURRENT); in handle_elf()
2107 assert (offsetof (Elf32_Ehdr, e_shentsize) + sizeof (Elf32_Half) in handle_elf()
2116 offsetof (Elf32_Ehdr, e_shentsize)) in handle_elf()
2127 assert (offsetof (Elf64_Ehdr, e_shentsize) + sizeof (Elf64_Half) in handle_elf()
2136 offsetof (Elf64_Ehdr, e_shentsize)) in handle_elf()
Delfcmp.c202 || ehdr1->e_shentsize != ehdr2->e_shentsize)) in main()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp178 Header.e_shentsize = sizeof(Elf_Shdr); in initELFHeader()
517 Header.e_ehsize + Header.e_shentsize * Header.e_shnum; in writeELF()
/external/valgrind/coregrind/m_coredump/
Dcoredump-solaris.c404 ehdr->e_shentsize = sizeof(VKI_ESZ(Shdr)); in fill_ehdr()
409 ehdr->e_shentsize = 0; in fill_ehdr()
1040 (ehdr.e_shnum * ehdr.e_shentsize); in VG_()

12