Searched refs:inelf (Results 1 – 2 of 2) sorted by relevance
/external/elfutils/tests/ |
D | ecp.c | 41 Elf *inelf = elf_begin (infd, ELF_C_READ, NULL); in main() local 42 if (inelf == NULL) in main() 55 gelf_newehdr (outelf, gelf_getclass (inelf)); in main() 59 gelf_update_ehdr (outelf, (ehdr = gelf_getehdr (inelf, &ehdr_mem))); in main() 73 gelf_update_phdr (outelf, cnt, gelf_getphdr (inelf, cnt, &phdr_mem)); in main() 78 while ((scn = elf_nextscn (inelf, scn)) != NULL) in main() 96 elf_end (inelf); in main()
|
/external/elfutils/src/ |
D | unstrip.c | 233 copy_elf (Elf *outelf, Elf *inelf) in copy_elf() argument 235 ELF_CHECK (gelf_newehdr (outelf, gelf_getclass (inelf)), in copy_elf() 239 ELF_CHECK (elf_getshdrstrndx (inelf, &shstrndx) == 0, in copy_elf() 243 GElf_Ehdr *ehdr = gelf_getehdr (inelf, &ehdr_mem); in copy_elf() 264 ELF_CHECK (elf_getphdrnum (inelf, &phnum) == 0, in copy_elf() 275 gelf_getphdr (inelf, i, &phdr_mem)), in copy_elf() 280 while ((scn = elf_nextscn (inelf, scn)) != NULL) in copy_elf()
|