Home | History | Annotate | Download | only in libdwfl

Lines Matching defs:elf

1 /* Report a module to libdwfl based on ELF program headers.
65 int fd, Elf *elf, GElf_Addr base, bool sanity)
67 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (elf, &ehdr_mem);
89 while ((scn = elf_nextscn (elf, scn)) != NULL)
123 prev_scn = elf_nextscn (elf, prev_scn);
194 if (unlikely (elf_getphdrnum (elf, &phnum) != 0))
198 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem);
215 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem);
251 /* Preinstall the open ELF handle for the module. */
252 if (m->main.elf == NULL)
254 m->main.elf = elf;
262 elf_end (elf);
287 Elf *elf;
288 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, false);
296 fd, elf, base, true);
299 elf_end (elf);