elf_read_phdrs
error = elf_read_phdrs(efile, &nphdr, &ef->ef_ph);
int elf_read_phdrs(struct elf_file *efile, size_t *nphdrp,