Home
last modified time | relevance | path

Searched refs:Dwfl_Module (Results 1 – 25 of 69) sorted by relevance

123

/external/elfutils/include/elfutils/
Dlibdwfl.h39 typedef struct Dwfl_Module Dwfl_Module; typedef
55 int (*find_elf) (Dwfl_Module *mod, void **userdata,
59 int (*find_debuginfo) (Dwfl_Module *mod, void **userdata,
70 int (*section_address) (Dwfl_Module *mod, void **userdata,
145 extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name,
160 extern Dwfl_Module *dwfl_report_elf (Dwfl *dwfl, const char *name,
168 extern Dwfl_Module *dwfl_report_offline (Dwfl *dwfl, const char *name,
180 int (*removed) (Dwfl_Module *, void *,
201 extern const char *dwfl_module_info (Dwfl_Module *mod, void ***userdata,
213 int (*callback) (Dwfl_Module *, void **,
[all …]
/external/elfutils/libdwfl/
Dlibdwfl.h39 typedef struct Dwfl_Module Dwfl_Module; typedef
55 int (*find_elf) (Dwfl_Module *mod, void **userdata,
59 int (*find_debuginfo) (Dwfl_Module *mod, void **userdata,
70 int (*section_address) (Dwfl_Module *mod, void **userdata,
145 extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name,
160 extern Dwfl_Module *dwfl_report_elf (Dwfl *dwfl, const char *name,
168 extern Dwfl_Module *dwfl_report_offline (Dwfl *dwfl, const char *name,
180 int (*removed) (Dwfl_Module *, void *,
201 extern const char *dwfl_module_info (Dwfl_Module *mod, void ***userdata,
213 int (*callback) (Dwfl_Module *, void **,
[all …]
DlibdwflP.h121 Dwfl_Module *modulelist; /* List in order used by full traversals. */
134 Dwfl_Module **lookup_module; /* Module associated with segment, or null. */
166 struct Dwfl_Module struct
169 struct Dwfl_Module *next; /* Link on Dwfl.modulelist. */ argument
302 Dwfl_Module *mod; /* Pointer back to containing module. */
336 dwfl_adjusted_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_adjusted_address()
342 dwfl_deadjust_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_deadjust_address()
348 dwfl_adjusted_dwarf_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_adjusted_dwarf_addr()
356 dwfl_deadjust_dwarf_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_deadjust_dwarf_addr()
364 dwfl_adjusted_aux_sym_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_adjusted_aux_sym_addr()
[all …]
Ddwfl_module.c59 __libdwfl_module_free (Dwfl_Module *mod) in __libdwfl_module_free()
136 for (Dwfl_Module *m = dwfl->modulelist; m != NULL; m = m->next) in INTDEF()
143 static inline Dwfl_Module * in INTDEF()
144 use (Dwfl_Module *mod, Dwfl_Module **tailp, Dwfl *dwfl) in INTDEF()
161 Dwfl_Module *
165 Dwfl_Module **tailp = &dwfl->modulelist, **prevp = tailp; in dwfl_report_module()
167 for (Dwfl_Module *m = *prevp; m != NULL; m = *(prevp = &m->next)) in dwfl_report_module()
183 Dwfl_Module *mod = calloc (1, sizeof *mod); in dwfl_report_module()
212 int (*removed) (Dwfl_Module *, void *, in INTDEF()
217 Dwfl_Module **tailp = &dwfl->modulelist; in INTDEF()
[all …]
Doffline.c39 dwfl_offline_section_address (Dwfl_Module *mod, in dwfl_offline_section_address()
96 static Dwfl_Module *process_elf (Dwfl *dwfl, const char *name,
98 static Dwfl_Module *process_archive (Dwfl *dwfl, const char *name,
105 static Dwfl_Module *
126 static Dwfl_Module *
130 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, fd, elf, in process_elf()
162 int fd, Elf *member, Dwfl_Module **mod) in process_archive_member()
237 static Dwfl_Module *
243 Dwfl_Module *mod = NULL; in process_archive()
266 Dwfl_Module *
[all …]
Ddwfl_module_build_id.c32 found_build_id (Dwfl_Module *mod, bool set, in found_build_id()
57 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) in __libdwfl_find_build_id()
77 dwfl_module_build_id (Dwfl_Module *mod, in dwfl_module_build_id()
108 _compat_vaddr_at_end_dwfl_module_build_id (Dwfl_Module *mod, in _compat_vaddr_at_end_dwfl_module_build_id()
Ddwfl_getdwarf.c33 int (*callback) (Dwfl_Module *, void **,
40 module_callback (Dwfl_Module *mod, void **userdata, in module_callback()
51 int (*callback) (Dwfl_Module *, void **, in dwfl_getdwarf()
Dcu.c36 dwar (Dwfl_Module *mod, unsigned int idx) in dwar()
43 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) in addrarange()
141 less_lazy (Dwfl_Module *mod) in less_lazy()
172 intern_cu (Dwfl_Module *mod, Dwarf_Off cuoff, struct dwfl_cu **result) in intern_cu()
246 __libdwfl_nextcu (Dwfl_Module *mod, struct dwfl_cu *lastcu, in __libdwfl_nextcu()
296 arangecu (Dwfl_Module *mod, struct dwfl_arange *arange, struct dwfl_cu **cu) in arangecu()
314 __libdwfl_addrcu (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_cu **cu) in __libdwfl_addrcu()
Dderelocate.c70 cache_sections (Dwfl_Module *mod) in cache_sections()
227 dwfl_module_relocations (Dwfl_Module *mod) in dwfl_module_relocations()
249 dwfl_module_relocation_info (Dwfl_Module *mod, unsigned int idx, in dwfl_module_relocation_info()
287 check_module (Dwfl_Module *mod) in check_module()
321 find_section (Dwfl_Module *mod, Dwarf_Addr *addr) in find_section()
358 __libdwfl_find_section_ndx (Dwfl_Module *mod, Dwarf_Addr *addr) in __libdwfl_find_section_ndx()
368 dwfl_module_relocate_address (Dwfl_Module *mod, Dwarf_Addr *addr) in dwfl_module_relocate_address()
394 dwfl_module_address_section (Dwfl_Module *mod, Dwarf_Addr *address, in INTDEF()
Dlinux-kernel-modules.c95 Dwfl_Module fakemod = { .dwfl = dwfl }; in try_kernel_name()
226 Dwfl_Module *mod = INTUSE(dwfl_report_elf) (dwfl, KERNEL_MODNAME, in report_kernel()
267 Dwfl_Module *last = __libdwfl_report_offline (dwfl, NULL, archive, fd, in report_kernel_archive()
274 Dwfl_Module **tailp = &dwfl->modulelist, **prevp = tailp; in report_kernel_archive()
275 for (Dwfl_Module *m = *prevp; m != NULL; m = *(prevp = &m->next)) in report_kernel_archive()
514 check_notes (Dwfl_Module *mod, const char *notesfile, in check_notes()
571 check_kernel_notes (Dwfl_Module *kernelmod, GElf_Addr vaddr) in check_kernel_notes()
578 check_module_notes (Dwfl_Module *mod) in check_module_notes()
639 for (Dwfl_Module *m = dwfl->modulelist; m != NULL; m = m->next) in dwfl_linux_kernel_report_kernel()
656 Dwfl_Module *mod = report (); in dwfl_linux_kernel_report_kernel()
[all …]
Ddwfl_report_elf.c237 Dwfl_Module *
249 Dwfl_Module *m = INTUSE(dwfl_report_module) (dwfl, name, start, end); in __libdwfl_report_elf()
286 Dwfl_Module *
310 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, in dwfl_report_elf()
325 Dwfl_Module *
331 Dwfl_Module *
Ddwfl_addrmodule.c31 Dwfl_Module *
34 Dwfl_Module *mod; in dwfl_addrmodule()
Ddwfl_end.c45 Dwfl_Module *next = dwfl->modulelist; in dwfl_end()
48 Dwfl_Module *dead = next; in dwfl_end()
Ddwfl_module_dwarf_cfi.c34 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) in __libdwfl_set_cfi()
54 dwfl_module_dwarf_cfi (Dwfl_Module *mod, Dwarf_Addr *bias) in dwfl_module_dwarf_cfi()
Ddwfl_module_getdwarf.c72 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf()
168 mod_verify_build_id (Dwfl_Module *mod) in mod_verify_build_id()
206 __libdwfl_getelf (Dwfl_Module *mod) in __libdwfl_getelf()
269 find_prelink_address_sync (Dwfl_Module *mod, struct dwfl_file *file) in find_prelink_address_sync()
522 find_debuginfo (Dwfl_Module *mod) in find_debuginfo()
548 find_debug_altlink (Dwfl_Module *mod, const char *filename) in find_debug_altlink()
697 Dwfl_Module *mod, size_t phnum, in translate_offs()
818 find_dynsym (Dwfl_Module *mod) in find_dynsym()
900 find_aux_address_sync (Dwfl_Module *mod) in find_aux_address_sync()
927 find_aux_sym (Dwfl_Module *mod __attribute__ ((unused)), in find_aux_sym()
[all …]
Ddwfl_getmodules.c33 int (*callback) (Dwfl_Module *, void **, in dwfl_getmodules()
49 Dwfl_Module *m = dwfl->modulelist; in dwfl_getmodules()
Ddwfl_build_id_find_elf.c37 __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug, char **file_name, in __libdwfl_open_by_build_id()
121 __libdwfl_open_mod_by_build_id (Dwfl_Module *mod, bool debug, char **file_name) in __libdwfl_open_mod_by_build_id()
136 dwfl_build_id_find_elf (Dwfl_Module *mod, in dwfl_build_id_find_elf()
Drelocate.c38 __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf, size_t *shstrndx, in __libdwfl_relocate_value()
108 relocate_getsym (Dwfl_Module *mod, in relocate_getsym()
204 resolve_symbol (Dwfl_Module *referer, struct reloc_symtab_cache *symtab, in resolve_symbol()
253 for (Dwfl_Module *m = referer->dwfl->modulelist; m != NULL; m = m->next) in resolve_symbol()
316 relocate (Dwfl_Module * const mod, in relocate()
464 Dwfl_Module *mod, in check_badreltype()
478 relocate_section (Dwfl_Module *mod, Elf *relocated, const GElf_Ehdr *ehdr, in relocate_section()
702 __libdwfl_relocate (Dwfl_Module *mod, Elf *debugfile, bool debug) in __libdwfl_relocate()
747 __libdwfl_relocate_section (Dwfl_Module *mod, Elf *relocated, in __libdwfl_relocate_section()
Ddwfl_module_addrsym.c33 Dwfl_Module *mod;
237 __libdwfl_addrsym (Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, in __libdwfl_addrsym()
311 dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr addr, in dwfl_module_addrsym()
321 *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address, in INTDEF()
/external/elfutils/tests/
Ddwfl-bug-addr-overflow.c47 Dwfl_Module *high = dwfl_report_module (dwfl, "high", in main()
51 Dwfl_Module *low = dwfl_report_module (dwfl, "low", in main()
55 Dwfl_Module *middle = dwfl_report_module (dwfl, "middle", in main()
63 Dwfl_Module *mod = dwfl_addrmodule (dwfl, UINT64_C (0xffffffff00010123)); in main()
Ddwfl-report-elf-align.c56 Dwfl_Module *mod = dwfl_report_elf (dwfl, argv[1], argv[1], -1, base, false); in main()
62 Dwfl_Module *mod_found = dwfl_addrmodule (dwfl, funcaddr); in main()
Dbacktrace-data.c60 find_elf (Dwfl_Module *mod __attribute__ ((unused)), in find_elf()
143 static Dwfl_Module *
148 Dwfl_Module *mod = dwfl_report_elf (dwfl, long_name, long_name, -1, in report_module()
232 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); in frame_callback()
Dbacktrace.c56 dump_modules (Dwfl_Module *mod, void **userdata __attribute__ ((unused)), in dump_modules()
92 Dwfl_Module *mod; in callback_verify()
170 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); in frame_callback()
232 Dwfl_Module *mod;
237 see_exec_module (Dwfl_Module *mod, void **userdata __attribute__ ((unused)), in see_exec_module()
Dallregs.c51 first_module (Dwfl_Module *mod, in first_module()
61 *(Dwfl_Module **) arg = mod; in first_module()
158 Dwfl_Module *mod = NULL; in main()
/external/elfutils/src/
Daddr2line.c323 print_dwarf_function (Dwfl_Module *mod, Dwarf_Addr addr) in print_dwarf_function()
426 print_addrsym (Dwfl_Module *mod, GElf_Addr addr) in print_addrsym()
475 see_one_module (Dwfl_Module *mod, in see_one_module()
481 Dwfl_Module **result = arg; in see_one_module()
489 find_symbol (Dwfl_Module *mod, in find_symbol()
530 Dwfl_Module *mod = NULL; in adjust_to_section()
593 get_addr_width (Dwfl_Module *mod) in get_addr_width()
667 Dwfl_Module *mod = dwfl_addrmodule (dwfl, addr); in handle_address()

123