Home
last modified time | relevance | path

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

12

/external/elfutils/tests/
Dnewfile.c56 ehdr->e_shnum, in print_ehdr()
135 ZERO_TEST (e_shnum); in main()
167 ZERO_TEST (e_shnum); in main()
Dupdate1.c84 ehdr->e_shnum, ehdr->e_shstrndx); in main()
122 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate2.c85 ehdr->e_shnum, ehdr->e_shstrndx); in main()
145 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate3.c94 ehdr->e_shnum, ehdr->e_shstrndx); in main()
200 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate4.c99 ehdr->e_shnum, ehdr->e_shstrndx); in main()
353 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dasm-tst1.c56 .e_shnum = 4,
Dasm-tst2.c56 .e_shnum = 3,
Dasm-tst9.c64 .e_shnum = 3,
/external/qemu/
Delf_ops.h14 bswap16s(&ehdr->e_shnum); /* Section header table entry count */ in glue()
110 sizeof(struct elf_shdr) * ehdr->e_shnum); in glue()
115 for (i = 0; i < ehdr->e_shnum; i++) { in glue()
120 symtab = glue(find_section, SZ)(shdr_table, ehdr->e_shnum, SHT_SYMTAB); in glue()
155 if (symtab->sh_link >= ehdr->e_shnum) in glue()
Delf.h1014 Elf32_Half e_shnum; member
1031 Elf64_Half e_shnum; member
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c277 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum); in parse_elf_header()
296 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum); in parse_elf_header()
310 if (idx >= elf->hdr32.e_shnum) in parse_elf_section()
328 if (idx >= elf->hdr64.e_shnum) in parse_elf_section()
426 for (i = 0; i < elf.hdr32.e_shnum; i++) in parse_elf()
448 for (i = 0; i < elf.hdr64.e_shnum; i++) in parse_elf()
472 for (i = 0; i < elf.hdr32.e_shnum; i++) in parse_elf()
564 for (i = 0; i < elf.hdr64.e_shnum; i++) in parse_elf()
/external/elfutils/libdwfl/
Delf-from-memory.c152 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory()
164 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory()
308 ehdr.e32.e_shnum = 0; in elf_from_remote_memory()
335 ehdr.e64.e_shnum = 0; in elf_from_remote_memory()
Ddwfl_segment_report_module.c209 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in dwfl_segment_report_module()
222 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in dwfl_segment_report_module()
/external/elfutils/libelf/
Delf_begin.c130 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum; in get_shnum()
138 CONVERT (ehdr_mem.e32.e_shnum); in get_shnum()
146 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum; in get_shnum()
154 CONVERT (ehdr_mem.e64.e_shnum); in get_shnum()
163 result = ehdr.e32->e_shnum; in get_shnum()
211 result = ehdr.e64->e_shnum; in get_shnum()
373 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf()
461 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
Dgelf_update_ehdr.c113 COPY (e_shnum); in gelf_update_ehdr()
Dgelf_getehdr.c107 COPY (e_shnum);
Delf32_updatenull.c117 update_if_changed (ehdr->e_shnum, 0, in ELFW()
121 update_if_changed (ehdr->e_shnum, shnum, in ELFW()
/external/llvm/test/Scripts/
Delf-dump229 e_shnum = f.read16()
230 print "('e_shnum', %s)" % common_dump.HexDump(e_shnum)
237 for index in range(e_shnum[0]):
255 for index in range(e_shnum[0]):
/external/valgrind/main/VEX/unused/
Dlinker.c336 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/main/VEX/switchback/
Dlinker.c402 for (i = 0; i < ehdr->e_shnum; i++) {
888 for (shnum = 0; shnum < ehdr->e_shnum; shnum++) {
987 ehdr->e_shnum, ehdr->e_shentsize );
1003 for (i = 0; i < ehdr->e_shnum; i++) {
1028 for (i = 0; i < ehdr->e_shnum; i++) {
1049 for (i = 0; i < ehdr->e_shnum; i++) {
1133 for (i = 0; i < ehdr->e_shnum; i++) {
1248 assert(secno > 0 && secno < ehdr->e_shnum);
/external/qemu/elff/
Delff_elf.h182 Elf_Half e_shnum; member
/external/grub/stage2/
Di386-elf.h81 Elf32_Half e_shnum; /* number of entries in section header */ member
Dboot.c661 mbi.syms.e.num = pu.elf->e_shnum; in load_image()
669 tab_size = pu.elf->e_shentsize * pu.elf->e_shnum; in load_image()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadelf.c134 ok &= (ehdr->e_shoff != 0 && ehdr->e_shnum != 0); in ML_()
950 for (i = 0; i < ehdr->e_shnum; i++) { in find_buildid()
1500 shdr_nent = ehdr_img->e_shnum; in ML_()
2215 for (i = 0; i < ehdr_img->e_shnum; i++) { in ML_()
2350 UWord shdr_dnent = ehdr_dimg->e_shnum; in ML_()
2432 for (i = 0; i < ehdr_dimg->e_shnum; i++) { in ML_()
2561 UWord shdr_dnent = ehdr_aimg->e_shnum; in ML_()
2593 for (i = 0; i < ehdr_aimg->e_shnum; i++) { in ML_()
/external/llvm/include/llvm/Support/
DELF.h75 Elf32_Half e_shnum; // Number of entries in the section header table member
99 Elf64_Half e_shnum; member

12