Lines Matching refs:dwfl
157 integrated_memory_callback (Dwfl *dwfl, int ndx,
175 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available,
186 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available,
190 if ((*info->memory_callback) (dwfl, ndx, &info->buffer, buffer_available,
200 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod);
213 (dwfl, 0, buffer, buffer_available,
261 Dwfl *dwfl, GElf_Addr r_debug_vaddr,
273 (void) (*memory_callback) (dwfl, -1, &buffer, &buffer_available, 0, 0,
291 int segndx = INTUSE(dwfl_addrsegment) (dwfl, vaddr, NULL);
293 || unlikely (! (*memory_callback) (dwfl, segndx,
332 Dwfl_Module **lastmodp = &dwfl->modulelist;
336 segments. DWFL->lookup_elts is probably twice that number, so it
340 while (next != 0 && ++iterations < dwfl->lookup_elts)
367 int segndx = INTUSE(dwfl_addrsegment) (dwfl, l_name, NULL);
369 && (*memory_callback) (dwfl, segndx,
382 Dwfl_Module *mod = INTUSE(dwfl_addrmodule) (dwfl, l_ld);
412 mod = INTUSE(dwfl_report_elf) (dwfl, basename (name),
426 lastmodp = &dwfl->modulelist;
477 GElf_Xword align = mod->dwfl->segment_align;
529 free (mod->dwfl->lookup_module);
530 mod->dwfl->lookup_module = NULL;
565 int segndx = INTUSE(dwfl_addrsegment) (mod->dwfl, d_val_vaddr, NULL);
567 if ((*memory_callback) (mod->dwfl, segndx,
586 (*memory_callback) (mod->dwfl, -1, &buffer, &buffer_available, 0, 0,
608 find_executable (Dwfl *dwfl, GElf_Addr at_phdr, GElf_Addr at_entry,
613 for (Dwfl_Module *mod = dwfl->modulelist; mod != NULL; mod = mod->next)
630 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size,
663 && (dwfl->segment_align == 0 \
664 || val < dwfl->segment_align)) \
665 dwfl->segment_align = val; \
699 && ((vaddr & (dwfl->segment_align - 1))
700 == (phdr & (dwfl->segment_align - 1))))
719 int phdr_segndx = INTUSE(dwfl_addrsegment) (dwfl, phdr, &phdr_mod);
727 if ((*memory_callback) (dwfl, phdr_segndx, &in.d_buf, &in.d_size,
772 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0,
790 ? find_executable (dwfl, phdr, entry,
813 int dyn_segndx = dwfl_addrsegment (dwfl, dyn_vaddr, NULL);
814 if ((*memory_callback) (dwfl, dyn_segndx, &in.d_buf, &in.d_size,
863 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0,
871 r_debug_vaddr = find_executable (dwfl, 0, 0, &elfclass, &elfdata,
889 return report_r_debug (elfclass, elfdata, dwfl, r_debug_vaddr,