/* find program header table */
for (i = 0; i < hdr->e_phnum; i++) {
phdr = (Elf64_Phdr *)((char *)elf + hdr->e_phoff + i * hdr->e_phentsize);
/* find program header table */
for (i = 0; i < hdr->e_phnum; i++) {
phdr = (Elf64_Phdr *)((char *)elf + hdr->e_phoff + i * hdr->e_phentsize);