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.h118 Dwfl_Module *modulelist; /* List in order used by full traversals. */
131 Dwfl_Module **lookup_module; /* Module associated with segment, or null. */
163 struct Dwfl_Module struct
166 struct Dwfl_Module *next; /* Link on Dwfl.modulelist. */ argument
301 Dwfl_Module *mod; /* Pointer back to containing module. */
335 dwfl_adjusted_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_adjusted_address()
341 dwfl_deadjust_address (Dwfl_Module *mod, GElf_Addr addr) in dwfl_deadjust_address()
347 dwfl_adjusted_dwarf_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_adjusted_dwarf_addr()
355 dwfl_deadjust_dwarf_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_deadjust_dwarf_addr()
363 dwfl_adjusted_aux_sym_addr (Dwfl_Module *mod, Dwarf_Addr addr) in dwfl_adjusted_aux_sym_addr()
[all …]
Ddwfl_module.c63 __libdwfl_module_free (Dwfl_Module *mod) in __libdwfl_module_free()
141 for (Dwfl_Module *m = dwfl->modulelist; m != NULL; m = m->next) in INTDEF()
148 static inline Dwfl_Module * in INTDEF()
149 use (Dwfl_Module *mod, Dwfl_Module **tailp, Dwfl *dwfl) in INTDEF()
166 Dwfl_Module *
170 Dwfl_Module **tailp = &dwfl->modulelist, **prevp = tailp; in dwfl_report_module()
172 for (Dwfl_Module *m = *prevp; m != NULL; m = *(prevp = &m->next)) in dwfl_report_module()
188 Dwfl_Module *mod = calloc (1, sizeof *mod); in dwfl_report_module()
217 int (*removed) (Dwfl_Module *, void *, in INTDEF()
222 Dwfl_Module **tailp = &dwfl->modulelist; in INTDEF()
[all …]
Doffline.c43 dwfl_offline_section_address (Dwfl_Module *mod, in dwfl_offline_section_address()
100 static Dwfl_Module *process_elf (Dwfl *dwfl, const char *name,
102 static Dwfl_Module *process_archive (Dwfl *dwfl, const char *name,
109 static Dwfl_Module *
130 static Dwfl_Module *
134 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, fd, elf, in process_elf()
169 int fd, Elf *member, Dwfl_Module **mod) in process_archive_member()
244 static Dwfl_Module *
250 Dwfl_Module *mod = NULL; in process_archive()
273 Dwfl_Module *
[all …]
Ddwfl_module_build_id.c36 found_build_id (Dwfl_Module *mod, bool set, in found_build_id()
61 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf) in __libdwfl_find_build_id()
81 dwfl_module_build_id (Dwfl_Module *mod, in dwfl_module_build_id()
112 _compat_vaddr_at_end_dwfl_module_build_id (Dwfl_Module *mod, in _compat_vaddr_at_end_dwfl_module_build_id()
Dcu.c40 dwar (Dwfl_Module *mod, unsigned int idx) in dwar()
47 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) in addrarange()
145 less_lazy (Dwfl_Module *mod) in less_lazy()
171 intern_cu (Dwfl_Module *mod, Dwarf_Off cuoff, struct dwfl_cu **result) in intern_cu()
242 __libdwfl_nextcu (Dwfl_Module *mod, struct dwfl_cu *lastcu, in __libdwfl_nextcu()
292 arangecu (Dwfl_Module *mod, struct dwfl_arange *arange, struct dwfl_cu **cu) in arangecu()
310 __libdwfl_addrcu (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_cu **cu) in __libdwfl_addrcu()
Dderelocate.c80 cache_sections (Dwfl_Module *mod) in cache_sections()
237 dwfl_module_relocations (Dwfl_Module *mod) in dwfl_module_relocations()
259 dwfl_module_relocation_info (Dwfl_Module *mod, unsigned int idx, in dwfl_module_relocation_info()
297 check_module (Dwfl_Module *mod) in check_module()
331 find_section (Dwfl_Module *mod, Dwarf_Addr *addr) in find_section()
368 __libdwfl_find_section_ndx (Dwfl_Module *mod, Dwarf_Addr *addr) in __libdwfl_find_section_ndx()
378 dwfl_module_relocate_address (Dwfl_Module *mod, Dwarf_Addr *addr) in dwfl_module_relocate_address()
404 dwfl_module_address_section (Dwfl_Module *mod, Dwarf_Addr *address, in INTDEF()
Ddwfl_getdwarf.c37 int (*callback) (Dwfl_Module *, void **,
44 module_callback (Dwfl_Module *mod, void **userdata, in module_callback()
55 int (*callback) (Dwfl_Module *, void **, in dwfl_getdwarf()
Dlinux-kernel-modules.c106 Dwfl_Module fakemod = { .dwfl = dwfl }; in try_kernel_name()
248 Dwfl_Module *mod = INTUSE(dwfl_report_elf) (dwfl, KERNEL_MODNAME, in report_kernel()
289 Dwfl_Module *last = __libdwfl_report_offline (dwfl, NULL, archive, fd, in report_kernel_archive()
296 Dwfl_Module **tailp = &dwfl->modulelist, **prevp = tailp; in report_kernel_archive()
297 for (Dwfl_Module *m = *prevp; m != NULL; m = *(prevp = &m->next)) in report_kernel_archive()
536 check_notes (Dwfl_Module *mod, const char *notesfile, in check_notes()
619 check_kernel_notes (Dwfl_Module *kernelmod, GElf_Addr vaddr) in check_kernel_notes()
626 check_module_notes (Dwfl_Module *mod) in check_module_notes()
687 for (Dwfl_Module *m = dwfl->modulelist; m != NULL; m = m->next) in dwfl_linux_kernel_report_kernel()
701 Dwfl_Module *mod = report (); in dwfl_linux_kernel_report_kernel()
[all …]
Ddwfl_report_elf.c241 Dwfl_Module *
253 Dwfl_Module *m = INTUSE(dwfl_report_module) (dwfl, name, start, end); in __libdwfl_report_elf()
290 Dwfl_Module *
314 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, in dwfl_report_elf()
329 Dwfl_Module *
335 Dwfl_Module *
Ddwfl_addrmodule.c35 Dwfl_Module *
38 Dwfl_Module *mod; in dwfl_addrmodule()
Ddwfl_module_getdwarf.c77 open_elf (Dwfl_Module *mod, struct dwfl_file *file) in open_elf()
173 mod_verify_build_id (Dwfl_Module *mod) in mod_verify_build_id()
211 __libdwfl_getelf (Dwfl_Module *mod) in __libdwfl_getelf()
274 find_prelink_address_sync (Dwfl_Module *mod, struct dwfl_file *file) in find_prelink_address_sync()
529 find_debuginfo (Dwfl_Module *mod) in find_debuginfo()
555 find_debug_altlink (Dwfl_Module *mod, const char *filename) in find_debug_altlink()
704 Dwfl_Module *mod, size_t phnum, in translate_offs()
825 find_dynsym (Dwfl_Module *mod) in find_dynsym()
907 find_aux_address_sync (Dwfl_Module *mod) in find_aux_address_sync()
934 find_aux_sym (Dwfl_Module *mod __attribute__ ((unused)), in find_aux_sym()
[all …]
Ddwfl_end.c49 Dwfl_Module *next = dwfl->modulelist; in dwfl_end()
52 Dwfl_Module *dead = next; in dwfl_end()
Ddwfl_build_id_find_elf.c42 __libdwfl_open_by_build_id (Dwfl_Module *mod, bool debug, char **file_name, in __libdwfl_open_by_build_id()
126 __libdwfl_open_mod_by_build_id (Dwfl_Module *mod, bool debug, char **file_name) in __libdwfl_open_mod_by_build_id()
141 dwfl_build_id_find_elf (Dwfl_Module *mod, in dwfl_build_id_find_elf()
Ddwfl_module_dwarf_cfi.c38 __libdwfl_set_cfi (Dwfl_Module *mod, Dwarf_CFI **slot, Dwarf_CFI *cfi) in __libdwfl_set_cfi()
58 dwfl_module_dwarf_cfi (Dwfl_Module *mod, Dwarf_Addr *bias) in dwfl_module_dwarf_cfi()
Drelocate.c43 __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf, size_t *shstrndx, in __libdwfl_relocate_value()
113 relocate_getsym (Dwfl_Module *mod, in relocate_getsym()
209 resolve_symbol (Dwfl_Module *referer, struct reloc_symtab_cache *symtab, in resolve_symbol()
258 for (Dwfl_Module *m = referer->dwfl->modulelist; m != NULL; m = m->next) in resolve_symbol()
321 relocate (Dwfl_Module * const mod, in relocate()
486 Dwfl_Module *mod, in check_badreltype()
500 relocate_section (Dwfl_Module *mod, Elf *relocated, const GElf_Ehdr *ehdr, in relocate_section()
749 __libdwfl_relocate (Dwfl_Module *mod, Elf *debugfile, bool debug) in __libdwfl_relocate()
796 __libdwfl_relocate_section (Dwfl_Module *mod, Elf *relocated, in __libdwfl_relocate_section()
Ddwfl_getmodules.c37 int (*callback) (Dwfl_Module *, void **, in dwfl_getmodules()
53 Dwfl_Module *m = dwfl->modulelist; in dwfl_getmodules()
Ddwfl_module_addrsym.c37 Dwfl_Module *mod;
244 __libdwfl_addrsym (Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, in __libdwfl_addrsym()
318 dwfl_module_addrsym (Dwfl_Module *mod, GElf_Addr addr, in dwfl_module_addrsym()
328 *dwfl_module_addrinfo (Dwfl_Module *mod, GElf_Addr address, in INTDEF()
/external/elfutils/tests/
Ddwfl-bug-addr-overflow.c46 Dwfl_Module *high = dwfl_report_module (dwfl, "high", in main()
50 Dwfl_Module *low = dwfl_report_module (dwfl, "low", in main()
54 Dwfl_Module *middle = dwfl_report_module (dwfl, "middle", in main()
62 Dwfl_Module *mod = dwfl_addrmodule (dwfl, UINT64_C (0xffffffff00010123)); in main()
Dbacktrace.c56 dump_modules (Dwfl_Module *mod, void **userdata __attribute__ ((unused)), in dump_modules()
92 Dwfl_Module *mod; in callback_verify()
182 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); in frame_callback()
244 Dwfl_Module *mod;
249 see_exec_module (Dwfl_Module *mod, void **userdata __attribute__ ((unused)), in see_exec_module()
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()
147 static Dwfl_Module *
154 Dwfl_Module *mod = dwfl_report_elf (dwfl, long_name, long_name, -1, in report_module()
237 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); in frame_callback()
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.c309 print_dwarf_function (Dwfl_Module *mod, Dwarf_Addr addr) in print_dwarf_function()
412 print_addrsym (Dwfl_Module *mod, GElf_Addr addr) in print_addrsym()
461 see_one_module (Dwfl_Module *mod, in see_one_module()
467 Dwfl_Module **result = arg; in see_one_module()
475 find_symbol (Dwfl_Module *mod, in find_symbol()
516 Dwfl_Module *mod = NULL; in adjust_to_section()
579 get_addr_width (Dwfl_Module *mod) in get_addr_width()
654 Dwfl_Module *mod = dwfl_addrmodule (dwfl, addr); in handle_address()

123