Searched refs:elfa (Results 1 – 1 of 1) sorted by relevance
87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf() local88 if (elfa == NULL) in copy_elf()114 GElf_Ehdr *ehdra = gelf_getehdr (elfa, &ehdr_mema); in copy_elf()121 int class = gelf_getclass (elfa); in copy_elf()142 if (elf_getshdrstrndx (elfa, &shstrndx) < 0) in copy_elf()155 if (elf_getphdrnum (elfa, &phnum) != 0) in copy_elf()172 GElf_Phdr *phdr = gelf_getphdr (elfa, cnt, &phdr_mem); in copy_elf()191 if (elf_getshdrnum (elfa, &shnum) < 0) in copy_elf()209 while ((scn = elf_nextscn (elfa, scn)) != NULL) in copy_elf()312 if (elf_end (elfa) != 0) in copy_elf()