Home
last modified time | relevance | path

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

12

/external/elfutils/tests/
Dnewfile.c44 ehdr->e_shnum, in print_ehdr()
123 ZERO_TEST (e_shnum); in main()
155 ZERO_TEST (e_shnum); in main()
Dupdate1.c72 ehdr->e_shnum, ehdr->e_shstrndx); in main()
110 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate2.c73 ehdr->e_shnum, ehdr->e_shstrndx); in main()
133 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate3.c82 ehdr->e_shnum, ehdr->e_shstrndx); in main()
188 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate4.c87 ehdr->e_shnum, ehdr->e_shstrndx); in main()
341 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dasm-tst1.c40 .e_shnum = 4,
Dasm-tst2.c40 .e_shnum = 3,
Dasm-tst9.c48 .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/llvm/test/Scripts/
Delf-dump189 e_shnum = f.read16()
190 print "('e_shnum', %s)" % common_dump.HexDump(e_shnum)
196 for index in range(e_shnum):
214 for index in range(e_shnum):
/external/libvpx/build/make/
Dobj_int_extract.c357 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum); in parse_elf_header()
376 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum); in parse_elf_header()
390 if (idx >= elf->hdr32.e_shnum) in parse_elf_section()
408 if (idx >= elf->hdr64.e_shnum) in parse_elf_section()
506 for (i = 0; i < elf.hdr32.e_shnum; i++) in parse_elf()
528 for (i = 0; i < elf.hdr64.e_shnum; i++) in parse_elf()
552 for (i = 0; i < elf.hdr32.e_shnum; i++) in parse_elf()
644 for (i = 0; i < elf.hdr64.e_shnum; i++) in parse_elf()
/external/llvm/lib/Object/
DELFObjectFile.cpp199 Elf_Half e_shnum; // Number of entries in the section header table member
524 uint32_t SectionTableSize = Header->e_shnum * Header->e_shentsize; in ELFObjectFile()
533 *e = i + Header->e_shnum * Header->e_shentsize; in ELFObjectFile()
553 *e = i + Header->e_shnum * Header->e_shentsize; in ELFObjectFile()
613 + (Header->e_shentsize * Header->e_shnum)); in end_sections()
687 if (!SectionHeaderTable || index >= Header->e_shnum) in getSection()
/external/kernel-headers/original/linux/
Delf.h186 Elf32_Half e_shnum; member
203 Elf64_Half e_shnum; member
/external/elfutils/libelf/
Dgelf_update_ehdr.c80 COPY (e_shnum); in gelf_update_ehdr()
Dgelf_getehdr.c70 COPY (e_shnum);
Delf_begin.c96 CONVERT (ehdr.e32->e_shnum); in get_shnum()
101 CONVERT (ehdr.e64->e_shnum); in get_shnum()
110 result = ehdr.e32->e_shnum; in get_shnum()
146 result = ehdr.e64->e_shnum; in get_shnum()
306 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf()
392 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
Delf32_updatenull.c84 update_if_changed (ehdr->e_shnum, 0, in ELFW()
88 update_if_changed (ehdr->e_shnum, shnum, in ELFW()
/external/qemu/elff/
Delff_elf.h182 Elf_Half e_shnum; member
Delf_file.cc337 sec_count_ = pull_val(header->e_shnum); in initialize()
/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/llvm/include/llvm/Support/
DELF.h77 Elf32_Half e_shnum; // Number of entries in the section header table member
101 Elf64_Quarter e_shnum; member
/external/valgrind/main/coregrind/m_debuginfo/
Dreadelf.c133 ok &= (ehdr->e_shoff != 0 && ehdr->e_shnum != 0); in ML_()
1303 shdr_nent = ehdr_img->e_shnum; in ML_()
1906 for (i = 0; i < ehdr_img->e_shnum; i++) { in ML_()
1995 UWord shdr_dnent = ehdr_dimg->e_shnum; in ML_()
2076 for (i = 0; i < ehdr_dimg->e_shnum; i++) { in ML_()
/external/elfutils/src/
Delflint.c427 shnum = ehdr->e_shnum; in check_elf_header()
431 if (ehdr->e_shnum != 0) in check_elf_header()
439 if (ehdr->e_shnum == 0) in check_elf_header()
499 else if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) in check_elf_header()
516 else if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) in check_elf_header()
1972 if (shdr->sh_size != 0 && ehdr->e_shnum != 0) in check_sections()

12