Lines Matching refs:debugelf
416 Elf *debugelf = NULL; in handle_elf() local
563 debugelf = elf_begin (debug_fd, ELF_C_WRITE_MMAP, NULL); in handle_elf()
564 if (unlikely (gelf_newehdr (debugelf, gelf_getclass (elf)) == 0) in handle_elf()
566 && unlikely (gelf_newphdr (debugelf, phnum) == 0))) in handle_elf()
580 || unlikely (gelf_update_phdr (debugelf, cnt, phdr) == 0)) in handle_elf()
963 scn = elf_newscn (debugelf); in handle_elf()
1019 debugehdr = gelf_getehdr (debugelf, &debugehdr_mem); in handle_elf()
1031 if (unlikely (gelf_update_ehdr (debugelf, debugehdr) == 0)) in handle_elf()
1447 if (debugelf != NULL) in handle_elf()
1450 Elf_Data *debugdata = elf_getdata (elf_getscn (debugelf, in handle_elf()
1488 ? elf_getscn (debugelf, cnt) in handle_elf()
1755 while ((scn = elf_nextscn (debugelf, scn)) != NULL) in handle_elf()
1768 Elf_Scn *tscn = elf_getscn (debugelf, shdr->sh_info); in handle_elf()
1776 const char *tname = elf_strptr (debugelf, shstrndx, in handle_elf()
1901 Elf_Data *d = gelf_xlatetom (debugelf, &tmpdata, in handle_elf()
1922 Elf_Data *s = gelf_xlatetof (debugelf, &rdata, in handle_elf()
1980 if (unlikely (elf_update (debugelf, ELF_C_WRITE) == -1)) in handle_elf()
2182 if (debugelf != NULL && elf_end (debugelf) != 0) in handle_elf()