Lines Matching refs:sh_offset
564 shstr = alloc_pread(ef->fd, shdr[ehdr->e_shstrndx].sh_offset, in __elfN()
594 if (shdr[i].sh_offset >= phdr[j].p_offset && in __elfN()
595 (shdr[i].sh_offset + shdr[i].sh_size <= in __elfN()
597 shdr[i].sh_offset = 0; in __elfN()
602 if (shdr[i].sh_offset == 0 || shdr[i].sh_size == 0) in __elfN()
639 (uintmax_t)shdr[i].sh_size, (uintmax_t)shdr[i].sh_offset, in __elfN()
648 if (lseek(ef->fd, (off_t)shdr[i].sh_offset, SEEK_SET) == -1) { in __elfN()
861 shstrtab = alloc_pread(ef.fd, shdr[ef.ehdr->e_shstrndx].sh_offset, in __elfN()
890 err = kern_pread(ef.fd, dest, sh_meta->sh_size, sh_meta->sh_offset); in __elfN()
902 sh_data[0]->sh_offset); in __elfN()
917 sh_data[1]->sh_offset); in __elfN()