Lines Matching defs:elf
329 sort_iidescs(Elf *elf, const char *file, tdata_t *td, int fuzzymatch,
343 if ((stidx = findelfsecidx(elf, file,
346 scn = elf_getscn(elf, stidx);
351 scn = elf_getscn(elf, shdr.sh_link);
669 make_ctf_data(tdata_t *td, Elf *elf, const char *file, size_t *lenp, int flags)
674 iiburst = sort_iidescs(elf, file, td, flags & CTF_FUZZY_MATCH,
687 Elf *elf = NULL;
697 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL)
705 data = make_ctf_data(td, elf, curname, &len, flags);
706 write_file(elf, curname, telf, newname, data, len, flags);
710 elf_end(elf);