Lines Matching defs:phdrs
237 Elf64_Phdr *phdrs, *phdr;240 Elf32_Phdr *phdrs, *phdr;258 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum);259 if (!phdrs)260 error("Failed to allocate space for phdrs");262 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum);265 phdr = &phdrs[i];278 free(phdrs);