Home | History | Annotate | Download | only in common

Lines Matching defs:phdr

117 	Elf32_Phdr phdr;
156 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
158 if (read(fd, &phdr, sizeof(phdr)) != sizeof(phdr))
160 if (phdr.p_type != PT_LOAD)
162 if (lseek(fd, (off_t)phdr.p_offset, 0) < 0)
164 if (read(fd, (char *)phdr.p_paddr, phdr.p_filesz) != phdr.p_filesz)