Searched refs:elfa (Results 1 – 1 of 1) sorted by relevance
85 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf() local86 if (elfa == NULL) in copy_elf()112 GElf_Ehdr *ehdra = gelf_getehdr (elfa, &ehdr_mema); in copy_elf()119 int class = gelf_getclass (elfa); in copy_elf()140 if (elf_getshdrstrndx (elfa, &shstrndx) < 0) in copy_elf()153 if (elf_getphdrnum (elfa, &phnum) != 0) in copy_elf()170 GElf_Phdr *phdr = gelf_getphdr (elfa, cnt, &phdr_mem); in copy_elf()187 while ((scn = elf_nextscn (elfa, scn)) != NULL) in copy_elf()236 if (elf_end (elfa) != 0) in copy_elf()