Lines Matching refs:debugelf
401 Elf *debugelf = NULL; in handle_elf() local
542 debugelf = elf_begin (debug_fd, ELF_C_WRITE_MMAP, NULL); in handle_elf()
543 if (unlikely (gelf_newehdr (debugelf, gelf_getclass (elf)) == 0) in handle_elf()
545 && unlikely (gelf_newphdr (debugelf, phnum) == 0))) in handle_elf()
559 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0)) in handle_elf()
932 scn = elf_newscn (debugelf); in handle_elf()
983 debugehdr = gelf_getehdr (debugelf, &debugehdr_mem); in handle_elf()
995 if (unlikely (gelf_update_ehdr (debugelf, debugehdr) == 0)) in handle_elf()
1383 if (debugelf != NULL) in handle_elf()
1386 Elf_Data *debugdata = elf_getdata (elf_getscn (debugelf, in handle_elf()
1421 ? elf_getscn (debugelf, cnt) in handle_elf()
1661 while ((scn = elf_nextscn (debugelf, scn)) != NULL) in handle_elf()
1674 Elf_Scn *tscn = elf_getscn (debugelf, shdr->sh_info); in handle_elf()
1682 const char *tname = elf_strptr (debugelf, shstrndx, in handle_elf()
1796 Elf_Data *d = gelf_xlatetom (debugelf, &tmpdata, in handle_elf()
1817 Elf_Data *s = gelf_xlatetof (debugelf, &rdata, in handle_elf()
1872 if (unlikely (elf_update (debugelf, ELF_C_WRITE) == -1)) in handle_elf()
2071 if (debugelf != NULL && elf_end (debugelf) != 0) in handle_elf()