Home
last modified time | relevance | path

Searched refs:e_shnum (Results 1 – 25 of 68) sorted by relevance

123

/external/elfutils/tests/
Dnewfile.c48 ehdr->e_shnum, in print_ehdr()
127 ZERO_TEST (e_shnum); in main()
159 ZERO_TEST (e_shnum); in main()
Delfshphehdr.c70 check ("e_shnum == 0", ehdr.e_shnum == 0); in test()
97 check ("e_shnum == 0", ehdr.e_shnum == 0); in test()
137 check ("e_shnum == 2", ehdr.e_shnum == 2); in test()
Dupdate1.c77 ehdr->e_shnum, ehdr->e_shstrndx); in main()
115 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate2.c78 ehdr->e_shnum, ehdr->e_shstrndx); in main()
138 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate3.c87 ehdr->e_shnum, ehdr->e_shstrndx); in main()
193 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate4.c91 ehdr->e_shnum, ehdr->e_shstrndx); in main()
345 ehdr->e_shnum, ehdr->e_shstrndx); in main()
/external/google-breakpad/src/common/linux/
Ddump_symbols.cc245 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()
/external/libunwind/src/ia64/
DGfind_unwind_table.c67 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/
Delfxx.c116 GET_EHDR_FIELD(ei, ehdr, e_shnum, 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()
166 GET_EHDR_FIELD(ei, ehdr, e_shnum, true); in elf_w()
169 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w()
279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W()
281 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W()
322 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w()
539 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w()
/external/minijail/
Delfparse.h40 Elf32_Half e_shnum; /* Section header table entry count */ member
58 Elf64_Half e_shnum; /* Section header table entry count */ member
/external/elfutils/libdwfl/
Delf-from-memory.c147 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()
337 ehdr.e32.e_shnum = 0; in elf_from_remote_memory()
364 ehdr.e64.e_shnum = 0; in elf_from_remote_memory()
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump181 e_shnum = f.read16()
182 print "('e_shnum', %s)" % common_dump.HexDump(e_shnum)
188 for index in range(e_shnum[0]):
206 for index in range(e_shnum[0]):
/external/elfutils/libelf/
Delf_begin.c109 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum; in get_shnum()
117 CONVERT (ehdr_mem.e32.e_shnum); in get_shnum()
125 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum; in get_shnum()
133 CONVERT (ehdr_mem.e64.e_shnum); in get_shnum()
142 result = ehdr.e32->e_shnum; in get_shnum()
200 result = ehdr.e64->e_shnum; in get_shnum()
361 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf()
463 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
Dgelf_update_ehdr.c92 COPY (e_shnum); in gelf_update_ehdr()
Dgelf_getehdr.c85 COPY (e_shnum); in __gelf_getehdr_rdlock()
Delf32_updatenull.c100 update_if_changed (ehdr->e_shnum, 0, in ELFW()
104 update_if_changed (ehdr->e_shnum, shnum, in ELFW()
/external/u-boot/tools/
Dimg2srec.c264 getPtr = ExtractWord(&elfHeader.e_shnum, getPtr); in ConvertELF()
280 for (i = 0; i < elfHeader.e_shnum; i++) { in ConvertELF()
311 for (i = 0; i < elfHeader.e_shnum; i++) { in ConvertELF()
Dmips-relocs.c295 for (i = 0; i < ehdr_field(e_shnum); i++) { in main()
321 for (i = 0; i < ehdr_field(e_shnum); i++) { in main()
340 for (j = 0; j < ehdr_field(e_shnum); j++) { in main()
Dzynqmpbif.c550 for (i = 0; i < le64_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat64()
571 for (i = 0; i < le64_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat64()
598 for (i = 0; i < le32_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat32()
619 for (i = 0; i < le32_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat32()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dmany-sections.s3 ## has SHN_LORESERVE (0xff00) or more sections, its e_shnum field
11 ## space, but its e_shnum, e_shstrndx, sh_size and sh_link fields are set
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c127 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr))); in load_debug_frame()
128 if (sec_hdrs == NULL || fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum in load_debug_frame()
129 || shstrndx >= ehdr.e_shnum) in load_debug_frame()
140 for (i = 1; i < ehdr.e_shnum && *buf == NULL; i++) in load_debug_frame()
214 for (j = 1; j < ehdr.e_shnum; j++) { in load_debug_frame()
/external/kernel-headers/original/uapi/linux/
Delf.h217 Elf32_Half e_shnum; member
234 Elf64_Half e_shnum; member
/external/vixl/examples/aarch32/
Ddisasm-a32.cc105 nsections_ = ehdr->e_shnum; in SectionLocator()
138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) && in LocateSymbols()
/external/u-boot/include/
Delf.h104 Elf32_Half e_shnum; /* number of section header entries */ member
122 Elf64_Half e_shnum; /* number of section header entries */ member
/external/llvm/include/llvm/Object/
DELF.h317 if (Header->e_shnum == ELF::SHN_UNDEF && Header->e_shoff > 0) { in getNumSections()
321 return Header->e_shnum; in getNumSections()
326 if (Header->e_shnum == ELF::SHN_UNDEF) { in getStringTableIndex()

123