/external/elfutils/src/tests/ |
D | newfile.c | 48 ehdr->e_shnum, in print_ehdr() 127 ZERO_TEST (e_shnum); in main() 159 ZERO_TEST (e_shnum); in main()
|
D | update1.c | 77 ehdr->e_shnum, ehdr->e_shstrndx); in main() 115 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
D | update2.c | 78 ehdr->e_shnum, ehdr->e_shstrndx); in main() 138 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
D | update3.c | 87 ehdr->e_shnum, ehdr->e_shstrndx); in main() 193 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
D | update4.c | 91 ehdr->e_shnum, ehdr->e_shstrndx); in main() 345 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
D | asm-tst1.c | 48 .e_shnum = 4,
|
D | asm-tst2.c | 48 .e_shnum = 3,
|
/external/google-breakpad/src/common/linux/ |
D | dump_symbols.cc | 245 int num_sections = elf_header->e_shnum; in LoadDwarf() 620 elf_header->e_shnum); in LoadSymbols() 640 elf_header->e_shnum); in LoadSymbols() 656 elf_header->e_shnum); in LoadSymbols() 660 elf_header->e_shnum); in LoadSymbols() 688 elf_header->e_shnum); in LoadSymbols() 706 elf_header->e_shnum); in LoadSymbols() 713 elf_header->e_shnum); in LoadSymbols() 717 elf_header->e_shnum); in LoadSymbols() 738 names_end, elf_header->e_shnum); in LoadSymbols()
|
D | elfutils.cc | 70 elf_header->e_shnum); in FindElfClassSection()
|
D | synth_elf_unittest.cc | 237 EXPECT_EQ(2, header->e_shnum); in TYPED_TEST() 312 EXPECT_EQ(4, header->e_shnum); in TYPED_TEST()
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 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() 78 for (i = 0; i < ehdr->e_shnum; ++i) in find_gp()
|
/external/libunwind/src/ |
D | elfxx.c | 114 GET_EHDR_FIELD(ei, ehdr, e_shnum, 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() 164 GET_EHDR_FIELD(ei, ehdr, e_shnum, true); in elf_w() 167 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w() 277 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W() 279 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W() 320 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w() 494 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w()
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 273 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum); in parse_elf_header() 290 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum); in parse_elf_header() 302 if (idx >= elf->hdr32.e_shnum) in parse_elf_section() 318 if (idx >= elf->hdr64.e_shnum) in parse_elf_section() 404 for (i = 0; i < elf.hdr32.e_shnum; i++) { in parse_elf() 421 for (i = 0; i < elf.hdr64.e_shnum; i++) { in parse_elf() 441 for (i = 0; i < elf.hdr32.e_shnum; i++) { in parse_elf() 530 for (i = 0; i < elf.hdr64.e_shnum; i++) { in parse_elf()
|
/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() 310 ehdr.e32.e_shnum = 0; in elf_from_remote_memory() 337 ehdr.e64.e_shnum = 0; in elf_from_remote_memory()
|
/external/elfutils/src/libelf/ |
D | elf_begin.c | 110 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum; in get_shnum() 118 CONVERT (ehdr_mem.e32.e_shnum); in get_shnum() 126 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum; in get_shnum() 134 CONVERT (ehdr_mem.e64.e_shnum); in get_shnum() 143 result = ehdr.e32->e_shnum; in get_shnum() 192 result = ehdr.e64->e_shnum; in get_shnum() 381 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf() 472 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
|
D | gelf_update_ehdr.c | 92 COPY (e_shnum); in gelf_update_ehdr()
|
D | gelf_getehdr.c | 86 COPY (e_shnum);
|
D | elf32_updatenull.c | 96 update_if_changed (ehdr->e_shnum, 0, in ELFW() 100 update_if_changed (ehdr->e_shnum, shnum, in ELFW()
|
/external/valgrind/VEX/unused/ |
D | linker.c | 336 for (i = 0; i < ehdr->e_shnum; i++) { in findElfSection() 730 for (shnum = 0; shnum < ehdr->e_shnum; shnum++) { in ocResolve_ELF() 826 ehdr->e_shoff, ehdr->e_shnum, ehdr->e_shentsize ); in ocVerifyImage_ELF() 842 for (i = 0; i < ehdr->e_shnum; i++) { in ocVerifyImage_ELF() 867 for (i = 0; i < ehdr->e_shnum; i++) { in ocVerifyImage_ELF() 888 for (i = 0; i < ehdr->e_shnum; i++) { in ocVerifyImage_ELF() 972 for (i = 0; i < ehdr->e_shnum; i++) { in ocGetNames_ELF() 1083 assert(secno > 0 && secno < ehdr->e_shnum); in ocGetNames_ELF()
|
/external/valgrind/VEX/switchback/ |
D | linker.c | 404 for (i = 0; i < ehdr->e_shnum; i++) { 890 for (shnum = 0; shnum < ehdr->e_shnum; shnum++) { 989 ehdr->e_shnum, ehdr->e_shentsize ); 1005 for (i = 0; i < ehdr->e_shnum; i++) { 1030 for (i = 0; i < ehdr->e_shnum; i++) { 1051 for (i = 0; i < ehdr->e_shnum; i++) { 1135 for (i = 0; i < ehdr->e_shnum; i++) { 1250 assert(secno > 0 && secno < ehdr->e_shnum);
|
/external/ltrace/ |
D | ltrace-elf.c | 131 for (i = 1; i < lte->ehdr.e_shnum; ++i) { in elf_get_section_if() 500 if (vect_reserve_additional(rela_vec, lte->ehdr.e_shnum) < 0) in elf_read_relocs() 580 for (i = 1; i < lte->ehdr.e_shnum; ++i) { in ltelf_read_elf() 672 for (i = 1; i < lte->ehdr.e_shnum; ++i) { in ltelf_read_elf() 696 if (i == lte->ehdr.e_shnum) { in ltelf_read_elf() 922 GElf_Word secflags[lte->ehdr.e_shnum]; in populate_this_symtab() 924 for (i = 1; i < lte->ehdr.e_shnum; ++i) { in populate_this_symtab() 945 || sym.st_shndx >= lte->ehdr.e_shnum) in populate_this_symtab()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 216 Elf32_Half e_shnum; member 233 Elf64_Half e_shnum; member
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ObjectFileELF.cpp | 338 … size_t section_header_end = header.e_shoff + header.e_shnum * header.e_shentsize; in GetModuleSpecifications() 731 if (header.e_shnum == 0) in GetSectionHeaderInfo() 734 section_headers.resize(header.e_shnum); in GetSectionHeaderInfo() 735 if (section_headers.size() != header.e_shnum) in GetSectionHeaderInfo() 738 const size_t sh_size = header.e_shnum * header.e_shentsize; in GetSectionHeaderInfo() 746 for (idx = 0, offset = 0; idx < header.e_shnum; ++idx) in GetSectionHeaderInfo() 1569 s->Printf("e_shnum = 0x%4.4x\n", header.e_shnum); in DumpELFHeader()
|
D | ELFHeader.h | 73 elf_half e_shnum; ///< Number of section header entries. member
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 122 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr))); in load_debug_frame() 123 if (fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum) in load_debug_frame() 133 for (i = 1; i < ehdr.e_shnum && *buf == NULL; i++) in load_debug_frame()
|