Home
last modified time | relevance | path

Searched refs:inelf (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/src/tests/
Decp.c37 Elf *inelf = elf_begin (infd, ELF_C_READ, NULL); in main() local
38 if (inelf == NULL) in main()
51 gelf_newehdr (outelf, gelf_getclass (inelf)); in main()
55 gelf_update_ehdr (outelf, (ehdr = gelf_getehdr (inelf, &ehdr_mem))); in main()
69 gelf_update_phdr (outelf, cnt, gelf_getphdr (inelf, cnt, &phdr_mem)); in main()
74 while ((scn = elf_nextscn (inelf, scn)) != NULL) in main()
92 elf_end (inelf); in main()
/external/elfutils/src/src/
Dunstrip.c250 copy_elf (Elf *outelf, Elf *inelf) in copy_elf() argument
252 ELF_CHECK (gelf_newehdr (outelf, gelf_getclass (inelf)), in copy_elf()
256 GElf_Ehdr *ehdr = gelf_getehdr (inelf, &ehdr_mem); in copy_elf()
261 ELF_CHECK (elf_getphdrnum (inelf, &phnum) == 0, in copy_elf()
272 gelf_getphdr (inelf, i, &phdr_mem)), in copy_elf()
277 while ((scn = elf_nextscn (inelf, scn)) != NULL) in copy_elf()