• Home
  • Raw
  • Download

Lines Matching refs:dwfl

135 integrated_memory_callback (Dwfl *dwfl, int ndx,  in integrated_memory_callback()  argument
153 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available, in integrated_memory_callback()
164 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available, in integrated_memory_callback()
168 if ((*info->memory_callback) (dwfl, ndx, &info->buffer, buffer_available, in integrated_memory_callback()
178 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod); in integrated_memory_callback()
191 (dwfl, 0, buffer, buffer_available, in integrated_memory_callback()
229 Dwfl *dwfl; member
239 (*closure->callback) (closure->dwfl, -1, buffer, buffer_available, 0, 0, in release_buffer()
253 Dwfl *dwfl = closure->dwfl; in read_addrs() local
264 int segndx = INTUSE(dwfl_addrsegment) (dwfl, vaddr, NULL); in read_addrs()
266 || unlikely (! (*closure->callback) (dwfl, segndx, in read_addrs()
310 Dwfl *dwfl, GElf_Addr r_debug_vaddr, in report_r_debug() argument
321 struct memory_closure memory_closure = { dwfl, memory_callback, in report_r_debug()
330 Dwfl_Module **lastmodp = &dwfl->modulelist; in report_r_debug()
338 while (next != 0 && ++iterations < dwfl->lookup_elts) in report_r_debug()
371 int segndx = INTUSE(dwfl_addrsegment) (dwfl, l_name, NULL); in report_r_debug()
373 && (*memory_callback) (dwfl, segndx, in report_r_debug()
383 && dwfl->user_core != NULL in report_r_debug()
384 && dwfl->user_core->executable_for_core != NULL) in report_r_debug()
385 name = dwfl->user_core->executable_for_core; in report_r_debug()
440 int segndx = INTUSE(dwfl_addrsegment) (dwfl, in report_r_debug()
443 if (! (*memory_callback) (dwfl, segndx, in report_r_debug()
472 mod = __libdwfl_report_elf (dwfl, basename (name), in report_r_debug()
511 lastmodp = &dwfl->modulelist; in report_r_debug()
561 GElf_Xword align = mod->dwfl->segment_align; in consider_executable()
617 free (mod->dwfl->lookup_module); in consider_executable()
618 mod->dwfl->lookup_module = NULL; in consider_executable()
653 int segndx = INTUSE(dwfl_addrsegment) (mod->dwfl, d_val_vaddr, NULL); in consider_executable()
655 if ((*memory_callback) (mod->dwfl, segndx, in consider_executable()
674 (*memory_callback) (mod->dwfl, -1, &buffer, &buffer_available, 0, 0, in consider_executable()
696 find_executable (Dwfl *dwfl, GElf_Addr at_phdr, GElf_Addr at_entry, in find_executable() argument
701 for (Dwfl_Module *mod = dwfl->modulelist; mod != NULL; mod = mod->next) in find_executable()
717 dwfl_link_map_report (Dwfl *dwfl, const void *auxv, size_t auxv_size, in dwfl_link_map_report() argument
758 && (dwfl->segment_align == 0 \ in dwfl_link_map_report()
759 || val < dwfl->segment_align)) \ in dwfl_link_map_report()
760 dwfl->segment_align = val; \ in dwfl_link_map_report()
791 int phdr_segndx = INTUSE(dwfl_addrsegment) (dwfl, phdr, &phdr_mod); in dwfl_link_map_report()
799 bool in_ok = (*memory_callback) (dwfl, phdr_segndx, &in.d_buf, in dwfl_link_map_report()
804 && dwfl->user_core != NULL in dwfl_link_map_report()
805 && dwfl->user_core->executable_for_core != NULL) in dwfl_link_map_report()
813 int fd = open (dwfl->user_core->executable_for_core, O_RDONLY); in dwfl_link_map_report()
953 && ((vaddr & (dwfl->segment_align - 1)) in dwfl_link_map_report()
954 == (phdr & (dwfl->segment_align - 1)))) in dwfl_link_map_report()
975 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0, in dwfl_link_map_report()
994 ? find_executable (dwfl, phdr, entry, in dwfl_link_map_report()
1017 int dyn_segndx = dwfl_addrsegment (dwfl, dyn_vaddr, NULL); in dwfl_link_map_report()
1018 if ((*memory_callback) (dwfl, dyn_segndx, &in.d_buf, &in.d_size, in dwfl_link_map_report()
1089 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0, in dwfl_link_map_report()
1098 r_debug_vaddr = find_executable (dwfl, 0, 0, &elfclass, &elfdata, in dwfl_link_map_report()
1116 return report_r_debug (elfclass, elfdata, dwfl, r_debug_vaddr, in dwfl_link_map_report()