Home
last modified time | relevance | path

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

12

/external/libunwind/src/
Delfxx.c113 GET_EHDR_FIELD(ei, ehdr, e_shentsize, 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()
131 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
132 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
134 if (str_soff + ehdr->e_shentsize > size) { in elf_w()
136 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w()
165 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
242 shdr_offset += ehdr->e_shentsize; in elf_w()
277 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/src/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),
Dasm-tst9.c55 .e_shentsize = sizeof (Elf32_Shdr),
/external/kernel-headers/original/uapi/linux/
Delf.h215 Elf32_Half e_shentsize; member
232 Elf64_Half e_shentsize; member
/external/elfutils/src/libelf/
Dgelf_update_ehdr.c91 COPY (e_shentsize); in gelf_update_ehdr()
Dgelf_getehdr.c85 COPY (e_shentsize);
Delf32_updatefile.c212 char *const shdr_end = shdr_start + ehdr->e_shnum * ehdr->e_shentsize; in __elfw2()
440 + ehdr->e_shentsize * shnum); in __elfw2()
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c272 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shentsize); in parse_elf_header()
289 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shentsize); 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/elfutils/src/libdwfl/
Delf-from-memory.c136 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()
Ddwfl_segment_report_module.c365 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in dwfl_segment_report_module()
378 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.h651 const uint64_t SectionTableSize = getNumSections() * Header->e_shentsize; in ELFFile()
764 return Elf_Shdr_Iter(Header->e_shentsize, in begin_sections()
770 return Elf_Shdr_Iter(Header->e_shentsize, in end_sections()
772 (getNumSections() * Header->e_shentsize)); in end_sections()
862 + (index * Header->e_shentsize)); in getSection()
DELFObjectFile.h153 return Elf_Shdr_Iter(EF.getHeader()->e_shentsize, in toELFShdrIter()
510 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize; in section_rel_begin()
521 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize; in section_rel_end()
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h72 elf_half e_shentsize; ///< Size of a section header table entry. member
/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/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/llvm/tools/yaml2obj/
Dyaml2elf.cpp173 Header.e_shentsize = sizeof(Elf_Shdr); in initELFHeader()
473 Header.e_ehsize + Header.e_shentsize * Header.e_shnum; in writeELF()
/external/elfutils/src/src/
Dstrip.c1941 newehdr->e_shentsize = gelf_fsize (elf, ELF_T_SHDR, 1, EV_CURRENT); in handle_elf()
1996 assert (offsetof (Elf32_Ehdr, e_shentsize) + sizeof (Elf32_Half) in handle_elf()
2005 offsetof (Elf32_Ehdr, e_shentsize)) in handle_elf()
2016 assert (offsetof (Elf64_Ehdr, e_shentsize) + sizeof (Elf64_Half) in handle_elf()
2025 offsetof (Elf64_Ehdr, e_shentsize)) in handle_elf()
Delfcmp.c202 || ehdr1->e_shentsize != ehdr2->e_shentsize)) in main()

12