Lines Matching defs:phdrs
275 Elf64_Phdr *phdrs, *phdr;278 Elf32_Phdr *phdrs, *phdr;294 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum);295 if (!phdrs)296 error("Failed to allocate space for phdrs");298 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum);301 phdr = &phdrs[i];321 free(phdrs);