Lines Matching refs:sh_entsize
632 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT)) in check_symtab()
670 for (cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_symtab()
968 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt) in is_rel_dyn()
979 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize) in is_rel_dyn()
1056 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT)) in check_rela()
1066 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_rela()
1191 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT)) in check_rel()
1201 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_rel()
1349 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT)) in check_dynamic()
1359 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_dynamic()
1504 if (shdr->sh_entsize != sizeof (Elf32_Word)) in check_symtab_shndx()
1510 && (shdr->sh_size / shdr->sh_entsize in check_symtab_shndx()
1511 < symshdr->sh_size / symshdr->sh_entsize)) in check_symtab_shndx()
1595 if (shdr->sh_entsize != sizeof (Elf32_Word)) in check_hash()
1604 if (shdr->sh_size < 2 * shdr->sh_entsize) in check_hash()
1615 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize) in check_hash()
1619 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize)); in check_hash()
1623 size_t symsize = symshdr->sh_size / symshdr->sh_entsize; in check_hash()
1626 if (nchain < symshdr->sh_size / symshdr->sh_entsize) in check_hash()
1701 && shdr->sh_entsize != elf32_fsize (ELF_T_WORD, 1, EV_CURRENT)) in check_group()
1918 if (shdr->sh_size / shdr->sh_entsize in check_versym()
1919 != symshdr->sh_size / symshdr->sh_entsize) in check_versym()
1969 if (shdr->sh_entsize != 0) in check_sections()
2115 if (shdr->sh_entsize != 0 && shdr->sh_size % shdr->sh_entsize) in check_sections()
2166 if ((shdr->sh_flags & SHF_MERGE) != 0 && shdr->sh_entsize == 0) in check_sections()