Home
last modified time | relevance | path

Searched refs:Dwfl (Results 1 – 25 of 74) sorted by relevance

123

/third_party/elfutils/libdwfl/
Dlibdwfl.h36 typedef struct Dwfl Dwfl; typedef
88 extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks)
93 extern void dwfl_end (Dwfl *);
96 extern const char *dwfl_version (Dwfl *);
113 extern void dwfl_report_begin (Dwfl *dwfl);
129 extern int dwfl_report_segment (Dwfl *dwfl, int ndx,
136 extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name,
151 extern Dwfl_Module *dwfl_report_elf (Dwfl *dwfl, const char *name,
159 extern Dwfl_Module *dwfl_report_offline (Dwfl *dwfl, const char *name,
163 extern Dwfl_Module *dwfl_report_offline_memory (Dwfl *dwfl, const char *name,
[all …]
Dargp-std.c95 Dwfl *dwfl;
103 failure (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in failure()
115 fail (Dwfl *dwfl, int errnum, const char *msg, struct argp_state *state) in fail()
143 Dwfl *dwfl = opt->dwfl; in parse_opt()
171 Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks); in parse_opt()
199 Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks); in parse_opt()
214 Dwfl *dwfl = opt->dwfl; in parse_opt()
229 Dwfl *dwfl = INTUSE(dwfl_begin) (&kernel_callbacks); in parse_opt()
249 Dwfl *dwfl = INTUSE(dwfl_begin) (&offline_callbacks); in parse_opt()
264 Dwfl *dwfl = opt->dwfl; in parse_opt()
[all …]
Doffline.c101 static Dwfl_Module *process_elf (Dwfl *dwfl, const char *name,
103 static Dwfl_Module *process_archive (Dwfl *dwfl, const char *name,
111 process_file (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_file()
132 process_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_elf()
168 process_archive_member (Dwfl *dwfl, const char *name, const char *file_name, in process_archive_member()
249 process_archive (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_archive()
280 __libdwfl_report_offline (Dwfl *dwfl, const char *name, in __libdwfl_report_offline()
303 dwfl_report_offline (Dwfl *dwfl, const char *name, in dwfl_report_offline()
326 dwfl_report_offline_memory (Dwfl *dwfl, const char *name, in INTDEF()
DlibdwflP.h117 struct Dwfl struct
165 Dwfl *dwfl;
231 struct Dwfl *dwfl;
443 extern struct __libdwfl_pid_arg *__libdwfl_get_pid_arg (Dwfl *dwfl)
570 extern Dwfl_Module *__libdwfl_report_elf (Dwfl *dwfl, const char *name,
577 extern Dwfl_Module *__libdwfl_report_offline (Dwfl *dwfl, const char *name,
598 extern GElf_Addr __libdwfl_segment_start (Dwfl *dwfl, GElf_Addr start)
600 extern GElf_Addr __libdwfl_segment_end (Dwfl *dwfl, GElf_Addr end)
651 __libdwfl_debuginfod_find_executable (Dwfl *dwfl,
655 __libdwfl_debuginfod_find_debuginfo (Dwfl *dwfl,
[all …]
Ddebuginfod-client.c53 dwfl_get_debuginfod_client (Dwfl *dwfl) in dwfl_get_debuginfod_client()
71 __libdwfl_debuginfod_find_executable (Dwfl *dwfl, in INTDEF()
88 __libdwfl_debuginfod_find_debuginfo (Dwfl *dwfl, in __libdwfl_debuginfod_find_debuginfo()
145 dwfl_get_debuginfod_client (Dwfl *dummy __attribute__ ((unused))) in dwfl_get_debuginfod_client()
Ddwfl_frame.c111 Dwfl *dwfl = process->dwfl; in __libdwfl_process_free()
124 process_alloc (Dwfl *dwfl) in process_alloc()
134 dwfl_attach_state (Dwfl *dwfl, Elf *elf, pid_t pid, in dwfl_attach_state()
213 dwfl_pid (Dwfl *dwfl) in INTDEF()
230 Dwfl * in INTDEF()
252 dwfl_getthreads (Dwfl *dwfl, int (*callback) (Dwfl_Thread *thread, void *arg), in INTDEF()
319 getthread (Dwfl *dwfl, pid_t tid, in getthread()
384 dwfl_getthread_frames (Dwfl *dwfl, pid_t tid, in dwfl_getthread_frames()
Dsegment.c37 __libdwfl_segment_start (Dwfl *dwfl, GElf_Addr start) in __libdwfl_segment_start()
46 __libdwfl_segment_end (Dwfl *dwfl, GElf_Addr end) in __libdwfl_segment_end()
54 insert (Dwfl *dwfl, size_t i, GElf_Addr start, GElf_Addr end, int segndx) in insert()
131 lookup (Dwfl *dwfl, GElf_Addr address, int hint) in lookup()
158 reify_segments (Dwfl *dwfl) in reify_segments()
245 dwfl_addrsegment (Dwfl *dwfl, Dwarf_Addr address, Dwfl_Module **mod) in dwfl_addrsegment()
287 dwfl_report_segment (Dwfl *dwfl, int ndx, const GElf_Phdr *phdr, GElf_Addr bias, in INTDEF()
Ddwfl_module.c127 dwfl_report_begin_add (Dwfl *dwfl __attribute__ ((unused))) in dwfl_report_begin_add()
135 dwfl_report_begin (Dwfl *dwfl) in INTDEF()
148 use (Dwfl_Module *mod, Dwfl_Module **tailp, Dwfl *dwfl) in INTDEF()
166 dwfl_report_module (Dwfl *dwfl, const char *name, in dwfl_report_module()
215 dwfl_report_end (Dwfl *dwfl, in INTDEF()
Dlinux-pid-attach.c193 pid_memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, void *arg) in pid_memory_read()
249 pid_next_thread (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg, in pid_next_thread()
293 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), pid_t tid, in pid_getthread()
340 pid_detach (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg) in pid_detach()
386 dwfl_linux_proc_attach (Dwfl *dwfl, pid_t pid, bool assume_ptrace_stopped) in dwfl_linux_proc_attach()
494 __libdwfl_get_pid_arg (Dwfl *dwfl) in INTDEF()
523 dwfl_linux_proc_attach (Dwfl *dwfl __attribute__ ((unused)), in dwfl_linux_proc_attach()
533 __libdwfl_get_pid_arg (Dwfl *dwfl __attribute__ ((unused))) in INTDEF()
Dlinux-proc-maps.c96 grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr) in grovel_auxv()
183 do_report (Dwfl *dwfl, char **plast_file, Dwarf_Addr low, Dwarf_Addr high) in do_report()
200 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) in proc_maps_report()
287 dwfl_linux_proc_maps_report (Dwfl *dwfl, FILE *f) in dwfl_linux_proc_maps_report()
294 dwfl_linux_proc_report (Dwfl *dwfl, pid_t pid) in INTDEF()
Ddwfl_begin.c35 Dwfl *
44 Dwfl *dwfl = calloc (1, sizeof *dwfl); in dwfl_begin()
Ddwfl_report_elf.c241 __libdwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, in __libdwfl_report_elf()
290 dwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in dwfl_report_elf()
328 _compat_without_add_p_vaddr_dwfl_report_elf (Dwfl *dwfl, const char *name,
334 _compat_without_add_p_vaddr_dwfl_report_elf (Dwfl *dwfl, const char *name, in _compat_without_add_p_vaddr_dwfl_report_elf()
Dlinux-kernel-modules.c92 try_kernel_name (Dwfl *dwfl, char **fname, bool try_debug) in try_kernel_name()
175 find_kernel_elf (Dwfl *dwfl, const char *release, char **fname) in find_kernel_elf()
219 get_release (Dwfl *dwfl, const char **release) in get_release()
238 report_kernel (Dwfl *dwfl, const char **release, in report_kernel()
296 report_kernel_archive (Dwfl *dwfl, const char **release, in report_kernel_archive()
376 dwfl_linux_kernel_report_offline (Dwfl *dwfl, const char *release, in dwfl_linux_kernel_report_offline()
714 dwfl_linux_kernel_report_kernel (Dwfl *dwfl) in dwfl_linux_kernel_report_kernel()
1000 dwfl_linux_kernel_report_modules (Dwfl *dwfl) in INTDEF()
Dcore-file.c126 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes) in dwfl_report_core_segments()
283 dwfl_elf_phdr_memory_callback (Dwfl *dwfl, int ndx, in dwfl_elf_phdr_memory_callback()
449 dwfl_core_file_report (Dwfl *dwfl, Elf *elf, const char *executable) 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()
Dlinux-core-attach.c54 core_memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, in core_memory_read()
99 core_next_thread (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg, in core_next_thread()
296 core_detach (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg) in core_detach()
314 dwfl_core_file_attach (Dwfl *dwfl, Elf *core) in dwfl_core_file_attach()
/third_party/elfutils/include/elfutils/
Dlibdwfl.h36 typedef struct Dwfl Dwfl; typedef
88 extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks)
93 extern void dwfl_end (Dwfl *);
96 extern const char *dwfl_version (Dwfl *);
113 extern void dwfl_report_begin (Dwfl *dwfl);
129 extern int dwfl_report_segment (Dwfl *dwfl, int ndx,
136 extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name,
151 extern Dwfl_Module *dwfl_report_elf (Dwfl *dwfl, const char *name,
159 extern Dwfl_Module *dwfl_report_offline (Dwfl *dwfl, const char *name,
163 extern Dwfl_Module *dwfl_report_offline_memory (Dwfl *dwfl, const char *name,
[all …]
/third_party/elfutils/tests/
Dbacktrace-dwarf.c48 report_pid (Dwfl *dwfl, pid_t pid) in report_pid()
66 static Dwfl *
77 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in pid_to_dwfl()
98 Dwfl *dwfl = dwfl_thread_dwfl (thread); in frame_callback()
171 Dwfl *dwfl = pid_to_dwfl (pid); in main()
Ddwfl-bug-fd-leak.c43 static Dwfl *
54 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in elfutils_open()
90 elfutils_close (Dwfl *dwfl) in elfutils_close()
117 Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) (uintptr_t) &main); in main()
Dbacktrace.c72 const char *symname, Dwfl *dwfl) in callback_verify()
228 Dwfl *dwfl = dwfl_thread_dwfl (thread); in frame_callback()
265 dump (Dwfl *dwfl) in dump()
348 report_pid (Dwfl *dwfl, pid_t pid) in report_pid()
366 static Dwfl *
377 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in pid_to_dwfl()
419 Dwfl *dwfl = pid_to_dwfl (pid); in exec_dump()
520 Dwfl *dwfl = NULL; in main()
Dbacktrace-data.c72 memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, in memory_read()
148 report_module (Dwfl *dwfl, pid_t child, Dwarf_Addr addr) in report_module()
163 next_thread (Dwfl *dwfl, void *dwfl_arg __attribute__ ((unused)), in next_thread()
236 Dwfl *dwfl = dwfl_thread_dwfl (dwfl_frame_thread (state)); in frame_callback()
307 Dwfl *dwfl = dwfl_begin (&offline_callbacks); in main()
Ddwfl-addr-sect.c33 handle_address (Dwfl *dwfl, Dwarf_Addr address) in handle_address()
62 Dwfl *dwfl = NULL; in main()
Daddrcfi.c105 handle_cfi (Dwfl *dwfl, const char *which, Dwarf_CFI *cfi, in handle_cfi()
158 handle_address (GElf_Addr pc, Dwfl *dwfl) in handle_address()
186 Dwfl *dwfl = NULL; in main()
Daddrscopes.c95 handle_address (GElf_Addr pc, Dwfl *dwfl) in handle_address()
149 Dwfl *dwfl = NULL; in main()
/third_party/libabigail/src/
Dabg-elf-helpers.h31 operator()(Dwfl* dwfl) in operator()
36 typedef shared_ptr<Dwfl> dwfl_sptr;
/third_party/elfutils/src/
Daddr2line.c108 static int handle_address (const char *addr, Dwfl *dwfl);
169 Dwfl *dwfl = NULL; in main()
519 adjust_to_section (const char *name, uintmax_t *addr, Dwfl *dwfl) in adjust_to_section()
628 handle_address (const char *string, Dwfl *dwfl) in handle_address()

123