Lines Matching refs:shp
1554 GElf_Shdr *shp, *shdrs = NULL;
1611 shp = &shdrs[efp->e_hdr.e_shstrndx];
1612 shstrtabsz = shp->sh_size;
1621 shp->sh_offset) != shstrtabsz) {
1623 shstrtabsz, (longlong_t)shp->sh_offset, strerror(errno));
1634 shp = &shdrs[i];
1635 name = shstrtab + shp->sh_name;
1637 if (shp->sh_name >= shstrtabsz) {
1642 if (shp->sh_link >= efp->e_hdr.e_shnum) {
1648 name, (u_longlong_t)shp->sh_addr);
1651 if ((mp = Paddr2mptr(P, shp->sh_addr)) == NULL) {
1653 (u_longlong_t)shp->sh_addr, name, i);
1664 if ((buf = malloc(shp->sh_size)) == NULL ||
1665 pread64(efp->e_fd, buf, shp->sh_size,
1666 shp->sh_offset) != shp->sh_size) {
1673 mp->map_file->file_ctf_size = shp->sh_size;
1676 if (shdrs[shp->sh_link].sh_type == SHT_DYNSYM)
1681 shp, &shdrs[shp->sh_link]);