Lines Matching refs:shdrs
72 Elf64_Shdr *shdrs; in one_section64() local
75 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section64()
76 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section64()
78 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section64()
80 *size = shdrs[i].sh_size; in one_section64()
81 return (void *)e->hdr + shdrs[i].sh_offset; in one_section64()
140 Elf32_Shdr *shdrs; in one_section32() local
143 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section32()
144 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section32()
146 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section32()
148 *size = shdrs[i].sh_size; in one_section32()
149 return (void *)e->hdr + shdrs[i].sh_offset; in one_section32()