Home | History | Annotate | Download | only in libexecinfo

Lines Matching defs:elf

94 	Elf *elf;
100 warnx("Elf Library is out of date.");
104 elf = elf_begin(fd, ELF_C_READ, NULL);
105 if (elf == NULL) {
106 warnx("Error opening elf file: %s", elf_errmsg(elf_errno()));
112 elf_end(elf);
115 if (gelf_getehdr(elf, &ehdr) == NULL) {
116 warnx("Error getting ELF Ehdr");
117 elf_end(elf);
123 while ((scn = elf_nextscn(elf, scn)) != NULL) {
147 elf_strptr(elf, shdr.sh_link, sym.st_name),
162 elf_strptr(elf, shdr.sh_link, sym.st_name));
176 elf_end(elf);
181 elf_end(elf);