Home | History | Annotate | Download | only in common

Lines Matching defs:phdr

121 	Elf32_Phdr phdr;
146 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
148 if (read(fd, &phdr, sizeof(phdr)) != sizeof(phdr))
150 if (phdr.p_type != PT_LOAD)
152 if (lseek(fd, (off_t)phdr.p_offset, 0) < 0)
154 if (read(fd, (char *)phdr.p_paddr, phdr.p_filesz) != phdr.p_filesz)