Home | History | Annotate | Download | only in common

Lines Matching defs:phdr

139 	Elf32_Phdr phdr;
178 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
180 if (read(fd, &phdr, sizeof(phdr)) != sizeof(phdr))
182 if (phdr.p_type != PT_LOAD)
184 if (lseek(fd, (off_t)phdr.p_offset, 0) < 0)
186 if (read(fd, (char *)phdr.p_paddr, phdr.p_filesz) != phdr.p_filesz)