/external/elfutils/libdwfl/ |
dwfl_getdwarf.c | 71 dwfl_getdwarf (Dwfl *dwfl, 79 return INTUSE(dwfl_getmodules) (dwfl, &module_callback, &info, offset);
|
linux-kernel-modules.c | 83 try_kernel_name (Dwfl *dwfl, char **fname, bool try_debug) 90 int fd = ((((dwfl->callbacks->debuginfo_path 91 ? *dwfl->callbacks->debuginfo_path : NULL) 97 Dwfl_Module fakemod = { .dwfl = dwfl }; 127 find_kernel_elf (Dwfl *dwfl, const char *release, char **fname) 134 int fd = try_kernel_name (dwfl, fname, true); 140 fd = try_kernel_name (dwfl, fname, true) [all...] |
dwfl_segment_report_module.c | 78 addr_segndx (Dwfl *dwfl, size_t segment, GElf_Addr addr) 80 int ndx = dwfl->lookup_segndx[segment]; 83 if (dwfl->lookup_segndx[segment] >= 0) 84 ndx = dwfl->lookup_segndx[segment]; 87 while (segment < dwfl->lookup_elts - 1 88 && dwfl->lookup_addr[segment] < addr); 90 while (dwfl->lookup_segndx[segment] < 0 91 && segment < dwfl->lookup_elts - 1) 94 if (dwfl->lookup_segndx[segment] >= 0 [all...] |
link_map.c | 164 integrated_memory_callback (Dwfl *dwfl, int ndx, 182 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available, 193 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available, 197 if ((*info->memory_callback) (dwfl, ndx, &info->buffer, buffer_available, 207 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod); 220 (dwfl, 0, buffer, buffer_available, 268 Dwfl *dwfl, GElf_Addr r_debug_vaddr, 280 (void) (*memory_callback) (dwfl, -1, &buffer, &buffer_available, 0, 0 [all...] |
libdwflP.h | 105 struct Dwfl 144 Dwfl *dwfl; member in struct:Dwfl_Module 145 struct Dwfl_Module *next; /* Link on Dwfl.modulelist. */ 261 MOD->dwfl->callbacks->section_address is called to determine the actual 305 extern Dwfl_Module *__libdwfl_report_elf (Dwfl *dwfl, const char *name, 311 extern Dwfl_Module *__libdwfl_report_offline (Dwfl *dwfl, const char *name, 324 typedef bool Dwfl_Memory_Callback (Dwfl *dwfl, int segndx [all...] |
linux-proc-maps.c | 130 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) 141 Dwfl_Module *mod = INTUSE(dwfl_report_module) (dwfl, last_file, 227 dwfl_linux_proc_maps_report (Dwfl *dwfl, FILE *f) 229 return proc_maps_report (dwfl, f, 0, 0); 234 dwfl_linux_proc_report (Dwfl *dwfl, pid_t pid) 236 if (dwfl == NULL) 256 result = proc_maps_report (dwfl, f, sysinfo_ehdr, pid) [all...] |
core-file.c | 144 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, const GElf_Ehdr *ehdr, 147 if (unlikely (dwfl == NULL)) 173 result = dwfl_report_segment (dwfl, ndx, phdr, 0, NULL); 258 dwfl_elf_phdr_memory_callback (Dwfl *dwfl, int ndx, 276 const GElf_Off align = dwfl->segment_align ?: 1; 397 dwfl_core_file_report (Dwfl *dwfl, Elf *elf, const GElf_Ehdr *ehdr) 402 int ndx = dwfl_report_core_segments (dwfl, elf, ehdr, ¬es_phdr) [all...] |
dwfl_report_elf.c | 64 __libdwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, 226 Dwfl_Module *m = INTUSE(dwfl_report_module) (dwfl, name, start, end); 262 dwfl_report_elf (Dwfl *dwfl, const char *name, 278 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name,
|
dwfl_build_id_find_elf.c | 85 const Dwfl_Callbacks *const cb = mod->dwfl->callbacks;
|
dwfl_module_getdwarf.c | 128 mod->main.fd = (*mod->dwfl->callbacks->find_elf) (MODCB_ARGS (mod), 215 mod->debug.fd = (*mod->dwfl->callbacks->find_debuginfo) (MODCB_ARGS (mod), 610 const Dwfl_Callbacks *const cb = mod->dwfl->callbacks;
|
find-debuginfo.c | 146 const Dwfl_Callbacks *const cb = mod->dwfl->callbacks;
|
relocate.c | 80 if ((*mod->dwfl->callbacks->section_address) (MODCB_ARGS (mod), 228 for (Dwfl_Module *m = referer->dwfl->modulelist; m != NULL; m = m->next)
|
derelocate.c | 146 && mod->dwfl->callbacks->section_address != NULL)
|
/external/elfutils/tests/ |
run-dwfl-addr-sect.sh | 30 testrun_compare ./dwfl-addr-sect -e testfile43 0x64 0x8 0x98 <<\EOF
|
dwflmodtest.c | 37 #include ELFUTILS_HEADER(dwfl) 259 Dwfl *dwfl = NULL; local 269 (void) argp_parse (&argp, argc, argv, 0, NULL, &dwfl); 270 assert (dwfl != NULL); 274 p = dwfl_getmodules (dwfl, &list_module, NULL, p); 280 p = dwfl_getdwarf (dwfl, &print_module, &show_functions, p); 287 p = dwfl_getmodules (dwfl, &list_module, NULL, p); 292 dwfl_end (dwfl);
|
Makefile.am | 61 dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \ 62 dwfl-addr-sect dwfl-bug-report early-offscn \ 63 dwfl-bug-getmodules 85 dwfl-bug-addr-overflow run-addrname-test.sh \ 86 dwfl-bug-fd-leak dwfl-bug-report \ 87 run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh [all...] |
allregs.c | 36 #include ELFUTILS_HEADER(dwfl) 180 Dwfl *dwfl = NULL; local 181 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local 182 assert (dwfl != NULL); 185 if (dwfl_getmodules (dwfl, &first_module, &mod, 0) < 0) 226 dwfl_end (dwfl);
|
/external/elfutils/src/ |
addr2line.c | 99 static int handle_address (const char *addr, Dwfl *dwfl); 139 Dwfl *dwfl = NULL; local 140 (void) argp_parse (&argp, argc, argv, 0, &remaining, &dwfl); 141 assert (dwfl != NULL); 157 result = handle_address (buf, dwfl); 165 result = handle_address (argv[remaining], dwfl); 368 handle_address (const char *string, Dwfl *dwfl) [all...] |
unstrip.c | 100 Dwfl *dwfl; member in struct:arg_info 119 state->child_inputs[0] = &info->dwfl; 170 if (info->list && (info->dwfl == NULL 195 if (info->dwfl == NULL) [all...] |
readelf.c | 533 Dwfl *dwfl = dwfl_begin (&callbacks); local 534 if (likely (dwfl != NULL)) 536 dwfl->offline_next_address = 0; 537 if (dwfl_report_offline (dwfl, fname, fname, dwfl_fd) == NULL) 550 dwfl_report_end (dwfl, NULL, NULL); 556 only_one = dwfl_getmodules (dwfl, &count_dwflmod, &seen, 0) == 0; 561 dwfl_getmodules (dwfl, &process_dwflmod, &a, 0); 563 dwfl_end (dwfl); [all...] |
/external/linux-tools-perf/util/ |
probe-finder.c | 141 static Dwarf *dwfl_init_offline_dwarf(int fd, Dwfl **dwflp, Dwarf_Addr *bias) 199 static Dwarf *dwfl_init_live_kernel_dwarf(Dwarf_Addr addr, Dwfl **dwflp, 227 static Dwarf *dwfl_init_live_kernel_dwarf(Dwarf_Addr addr __used, Dwfl **dwflp, 1521 Dwfl *dwfl; local 1788 Dwfl *dwfl = NULL; local 2000 Dwfl *dwfl; local [all...] |