Lines Matching refs:elf
335 sort_iidescs(Elf *elf, const char *file, tdata_t *td, int fuzzymatch,
349 if ((stidx = findelfsecidx(elf, file,
352 scn = elf_getscn(elf, stidx);
357 scn = elf_getscn(elf, shdr.sh_link);
713 make_ctf_data(tdata_t *td, Elf *elf, const char *file, size_t *lenp, int flags)
718 iiburst = sort_iidescs(elf, file, td, flags & CTF_FUZZY_MATCH,
731 Elf *elf = NULL;
743 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
751 if (gelf_getehdr(elf, &ehdr)) {
767 data = make_ctf_data(td, elf, curname, &len, flags);
768 write_file(elf, curname, telf, newname, data, len, flags);
772 elf_end(elf);