Lines Matching refs:dwfl
126 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes) in dwfl_report_core_segments() argument
128 if (unlikely (dwfl == NULL)) in dwfl_report_core_segments()
148 result = dwfl_report_segment (dwfl, ndx, phdr, 0, NULL); in dwfl_report_core_segments()
283 dwfl_elf_phdr_memory_callback (Dwfl *dwfl, int ndx, in dwfl_elf_phdr_memory_callback() argument
301 const GElf_Off align = dwfl->segment_align ?: 1; in dwfl_elf_phdr_memory_callback()
449 dwfl_core_file_report (Dwfl *dwfl, Elf *elf, const char *executable) in dwfl_core_file_report() argument
459 if (dwfl->user_core != NULL) in dwfl_core_file_report()
460 free (dwfl->user_core->executable_for_core); in dwfl_core_file_report()
463 if (dwfl->user_core != NULL) in dwfl_core_file_report()
464 dwfl->user_core->executable_for_core = NULL; in dwfl_core_file_report()
468 if (dwfl->user_core == NULL) in dwfl_core_file_report()
471 dwfl->user_core = calloc (1, sizeof (struct Dwfl_User_Core)); in dwfl_core_file_report()
472 if (dwfl->user_core == NULL) in dwfl_core_file_report()
477 dwfl->user_core->fd = -1; in dwfl_core_file_report()
479 dwfl->user_core->executable_for_core = strdup (executable); in dwfl_core_file_report()
480 if (dwfl->user_core->executable_for_core == NULL) in dwfl_core_file_report()
484 free (dwfl->user_core); in dwfl_core_file_report()
485 dwfl->user_core = NULL; in dwfl_core_file_report()
494 int ndx = dwfl_report_core_segments (dwfl, elf, phnum, ¬es_phdr); in dwfl_core_file_report()
499 free (dwfl->user_core->executable_for_core); in dwfl_core_file_report()
500 free (dwfl->user_core); in dwfl_core_file_report()
501 dwfl->user_core = NULL; in dwfl_core_file_report()
552 int retval = dwfl_link_map_report (dwfl, auxv, auxv_size, in dwfl_core_file_report()
563 int seg = dwfl_segment_report_module (dwfl, ndx, NULL, in dwfl_core_file_report()
587 Dwfl_Module **lastmodp = &dwfl->modulelist; in dwfl_core_file_report()
599 mod = __libdwfl_report_elf (dwfl, basename (module->name), module->name, in dwfl_core_file_report()
614 lastmodp = &dwfl->modulelist; in dwfl_core_file_report()
637 int _compat_without_executable_dwfl_core_file_report (Dwfl *dwfl, Elf *elf);
642 _compat_without_executable_dwfl_core_file_report (Dwfl *dwfl, Elf *elf) in _compat_without_executable_dwfl_core_file_report() argument
644 return dwfl_core_file_report (dwfl, elf, NULL); in _compat_without_executable_dwfl_core_file_report()