Lines Matching refs:shp
2116 GElf_Shdr *shp, *shdrs = NULL;
2173 shp = &shdrs[efp->e_hdr.e_shstrndx];
2174 shstrtabsz = shp->sh_size;
2183 shp->sh_offset) != shstrtabsz) {
2185 shstrtabsz, (longlong_t)shp->sh_offset, strerror(errno));
2196 shp = &shdrs[i];
2197 name = shstrtab + shp->sh_name;
2199 if (shp->sh_name >= shstrtabsz) {
2204 if (shp->sh_link >= efp->e_hdr.e_shnum) {
2210 name, (u_longlong_t)shp->sh_addr);
2213 if ((mp = Paddr2mptr(P, shp->sh_addr)) == NULL) {
2215 (u_longlong_t)shp->sh_addr, name, i);
2226 if ((buf = malloc(shp->sh_size)) == NULL ||
2227 pread64(efp->e_fd, buf, shp->sh_size,
2228 shp->sh_offset) != shp->sh_size) {
2235 mp->map_file->file_ctf_size = shp->sh_size;
2238 if (shdrs[shp->sh_link].sh_type == SHT_DYNSYM)
2243 shp, &shdrs[shp->sh_link]);