Lines Matching refs:sh_size

429 	  /* Get the header of the zeroth section.  The sh_size field
436 if (shdr->sh_size == 0)
440 shnum = shdr->sh_size;
446 /* Get the header of the zeroth section. The sh_size field
660 else if (shdr->sh_info > shdr->sh_size / sh_entsize)
698 for (size_t cnt = 1; cnt < shdr->sh_size / sh_entsize; ++cnt)
711 else if (sym->st_name >= strshdr->sh_size)
805 if (st_value - sh_addr > destshdr->sh_size)
836 + sym->st_size) > destshdr->sh_size)
855 if (st_value > destshdr->sh_size)
861 > destshdr->sh_size)
903 + destshdr->sh_size))
910 + destshdr->sh_size))
1017 if (!gnuld && sym->st_size != destshdr->sh_size)
1022 sname, (uint64_t) destshdr->sh_size);
1108 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt)
1129 && dyn->d_un.d_val > (shdr->sh_size
1142 inner < shdr->sh_size / shdr->sh_entsize;
1183 && dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize)
1195 inner < shdr->sh_size / shdr->sh_entsize;
1328 for (size_t j = 0; j < dynshdr->sh_size / dynshdr->sh_entsize; ++j)
1395 > symshdr->sh_size))
1430 : destshdr->sh_addr)) >= destshdr->sh_size)
1516 for (size_t cnt = 0; cnt < shdr->sh_size / sh_entsize; ++cnt)
1567 for (size_t cnt = 0; cnt < shdr->sh_size / sh_entsize; ++cnt)
1684 for (cnt = 0; cnt < shdr->sh_size / sh_entsize; ++cnt)
1812 if (dyn->d_un.d_ptr >= strshdr->sh_size)
1962 && (shdr->sh_size / shdr->sh_entsize
1963 < symshdr->sh_size / symshdr->sh_entsize))
2029 if (shdr->sh_size < (2ULL + nbucket + nchain) * sizeof (Elf32_Word))
2033 idx, section_name (ebl, idx), (long int) shdr->sh_size,
2042 size_t symsize = symshdr->sh_size / symshdr->sh_entsize;
2044 if (nchain > symshdr->sh_size / symshdr->sh_entsize)
2052 Elf32_Word *end = (Elf32_Word *) ((char *) data->d_buf + shdr->sh_size);
2083 uint64_t maxwords = shdr->sh_size / sizeof (Elf64_Xword);
2090 idx, section_name (ebl, idx), (long int) shdr->sh_size,
2099 size_t symsize = symshdr->sh_size / symshdr->sh_entsize;
2101 if (nchain > symshdr->sh_size / symshdr->sh_entsize)
2109 Elf64_Xword *end = (Elf64_Xword *) ((char *) data->d_buf + shdr->sh_size);
2169 idx, section_name (ebl, idx), (long int) shdr->sh_size,
2182 size_t maxidx = shdr->sh_size / sizeof (Elf32_Word) - (4 + bitmask_words
2186 maxidx = MIN (maxidx, symshdr->sh_size / symshdr->sh_entsize);
2287 && symidx > symshdr->sh_size / symshdr->sh_entsize)
2347 if (shdr->sh_size < (tag == SHT_GNU_HASH ? 4 : 2) * (expect_entsize ?: 4))
2428 uint32_t nentries = sym_shdr->sh_size / sym_shdr->sh_entsize;
2645 if (shdr->sh_info >= symshdr->sh_size / gelf_fsize (ebl->elf, ELF_T_SYM,
2855 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize; ++i)
2867 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize; ++i)
2966 && (shdr->sh_size / shdr->sh_entsize
2967 != symshdr->sh_size / symshdr->sh_entsize))
2978 for (int cnt = 1; (size_t) cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
3067 for (size_t j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
3445 if (shdr->sh_size == 0)
3711 sh_size and sh_link fields. */
3733 if (shdr->sh_size != 0 && ehdr->e_shnum != 0)
3909 if (shdr->sh_entsize != 0 && shdr->sh_size % shdr->sh_entsize)
4066 || shdr->sh_size == 0))
4072 < shdr->sh_offset + shdr->sh_size)
4099 shdr->sh_size,
4102 || databits->d_size != shdr->sh_size);
4119 (shdr->sh_offset == end && shdr->sh_size != 0))
4458 if (shdr->sh_size == 0)
4480 else if (notes_size != shdr->sh_size)
4483 idx, section_name (ebl, idx), shdr->sh_size - notes_size);
4566 if (phdr->p_memsz != shdr->sh_size)
4683 if (phdr->p_memsz != shdr->sh_size)