HomeSort by relevance Sort by last modified time
    Searched refs:dwfl (Results 1 - 25 of 37) sorted by null

1 2

  /external/elfutils/0.153/libdwfl/
dwfl_version.c 53 dwfl_version (dwfl)
54 Dwfl *dwfl __attribute__ ((unused));
dwfl_end.c 53 dwfl_end (Dwfl *dwfl)
55 if (dwfl == NULL)
58 free (dwfl->lookup_addr);
59 free (dwfl->lookup_module);
60 free (dwfl->lookup_segndx);
62 Dwfl_Module *next = dwfl->modulelist;
70 free (dwfl);
dwfl_begin.c 52 Dwfl *
61 Dwfl *dwfl = calloc (1, sizeof *dwfl); local
62 if (dwfl == NULL)
66 dwfl->callbacks = callbacks;
67 dwfl->offline_next_address = OFFLINE_REDZONE;
70 return dwfl;
segment.c 53 segment_start (Dwfl *dwfl, GElf_Addr start)
55 if (dwfl->segment_align > 1)
56 start &= -dwfl->segment_align;
61 segment_end (Dwfl *dwfl, GElf_Addr end)
63 if (dwfl->segment_align > 1)
64 end = (end + dwfl->segment_align - 1) & -dwfl->segment_align;
69 insert (Dwfl *dwfl, size_t i, GElf_Addr start, GElf_Addr end, int segndx
    [all...]
dwfl_getsrc.c 53 dwfl_getsrc (Dwfl *dwfl, Dwarf_Addr addr)
55 return INTUSE(dwfl_module_getsrc) (INTUSE(dwfl_addrmodule) (dwfl, addr),
dwfl_getmodules.c 53 dwfl_getmodules (Dwfl *dwfl,
59 if (dwfl == NULL)
64 DWFL->lookup_module is populated, we can instead keep our
70 Dwfl_Module *m = dwfl->modulelist;
81 else if (((offset & 3) == 2) && likely (dwfl->lookup_module != NULL))
85 if ((size_t) offset - 1 == dwfl->lookup_elts)
88 if (unlikely ((size_t) offset - 1 > dwfl->lookup_elts))
91 m = dwfl->lookup_module[offset - 1];
107 return ((dwfl->lookup_module == NULL) ? ((offset << 2) | 1
    [all...]
dwfl_addrdie.c 53 dwfl_addrdie (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Addr *bias)
55 return INTUSE(dwfl_module_addrdie) (INTUSE(dwfl_addrmodule) (dwfl, addr),
dwfl_addrdwarf.c 53 dwfl_addrdwarf (Dwfl *dwfl, Dwarf_Addr address, Dwarf_Addr *bias)
55 return INTUSE(dwfl_module_getdwarf) (INTUSE(dwfl_addrmodule) (dwfl, address),
dwfl_addrmodule.c 53 dwfl_addrmodule (Dwfl *dwfl, Dwarf_Addr address)
56 (void) INTUSE(dwfl_addrsegment) (dwfl, address, &mod);
argp-std.c 117 inline void failure (Dwfl *dwfl, int errnum, const char *msg)
119 if (dwfl != NULL)
120 dwfl_end (dwfl);
127 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg)
129 failure (dwfl, errnum, msg);
141 Dwfl *dwfl = state->hook; local
142 if (dwfl == NULL
172 Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks); local
194 Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks); local
207 Dwfl *dwfl = state->hook; local
250 Dwfl *dwfl = INTUSE(dwfl_begin) (&kernel_callbacks); local
267 Dwfl *dwfl = INTUSE(dwfl_begin) (&offline_callbacks); local
280 Dwfl *dwfl = state->hook; local
    [all...]
dwfl_module.c 112 dwfl_report_begin_add (Dwfl *dwfl __attribute__ ((unused)))
120 dwfl_report_begin (Dwfl *dwfl)
123 dwfl->lookup_elts = 0;
125 for (Dwfl_Module *m = dwfl->modulelist; m != NULL; m = m->next)
128 dwfl->offline_next_address = OFFLINE_REDZONE;
136 dwfl_report_module (Dwfl *dwfl, const char *name,
139 Dwfl_Module **tailp = &dwfl->modulelist, **prevp = tailp
    [all...]
libdwfl.h 57 typedef struct Dwfl Dwfl;
98 extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks)
103 extern void dwfl_end (Dwfl *);
106 extern const char *dwfl_version (Dwfl *);
123 extern void dwfl_report_begin (Dwfl *dwfl);
130 effective page size for the address space DWFL describes.
146 The only information that can be extracted from DWFL later is the
151 extern int dwfl_report_segment (Dwfl *dwfl, int ndx
    [all...]
offline.c 116 static Dwfl_Module *process_elf (Dwfl *dwfl, const char *name,
118 static Dwfl_Module *process_archive (Dwfl *dwfl, const char *name,
126 process_file (Dwfl *dwfl, const char *name, const char *file_name, int fd,
138 return process_elf (dwfl, name, file_name, fd, elf);
141 return process_archive (dwfl, name, file_name, fd, elf, predicate);
147 process_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd
    [all...]
dwfl_nextcu.c 53 dwfl_nextcu (Dwfl *dwfl, Dwarf_Die *lastcu, Dwarf_Addr *bias)
55 if (dwfl == NULL)
63 mod = dwfl->modulelist;
dwfl_validate_address.c 53 dwfl_validate_address (Dwfl *dwfl, Dwarf_Addr address, Dwarf_Sword offset)
55 Dwfl_Module *mod = INTUSE(dwfl_addrmodule) (dwfl, address);
linux-proc-maps.c 73 grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr)
103 if (dwfl->segment_align > 1)
110 && dwfl->segment_align <= 1)
111 dwfl->segment_align = d.a32[i].a_un.a_val;
118 if (dwfl->segment_align > 1)
125 && dwfl->segment_align <= 1)
126 dwfl->segment_align = d.a64[i].a_un.a_val;
142 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid
    [all...]
dwfl_getdwarf.c 71 dwfl_getdwarf (Dwfl *dwfl,
79 return INTUSE(dwfl_getmodules) (dwfl, &module_callback, &info, offset);
linux-kernel-modules.c 101 try_kernel_name (Dwfl *dwfl, char **fname, bool try_debug)
108 int fd = ((((dwfl->callbacks->debuginfo_path
109 ? *dwfl->callbacks->debuginfo_path : NULL)
116 Dwfl_Module fakemod = { .dwfl = dwfl };
176 find_kernel_elf (Dwfl *dwfl, const char *release, char **fname)
183 int fd = try_kernel_name (dwfl, fname, true);
189 fd = try_kernel_name (dwfl, fname, true)
    [all...]
link_map.c 157 integrated_memory_callback (Dwfl *dwfl, int ndx,
175 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available,
186 return (*info->memory_callback) (dwfl, ndx, buffer, buffer_available,
190 if ((*info->memory_callback) (dwfl, ndx, &info->buffer, buffer_available,
200 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod);
213 (dwfl, 0, buffer, buffer_available,
261 Dwfl *dwfl, GElf_Addr r_debug_vaddr,
273 (void) (*memory_callback) (dwfl, -1, &buffer, &buffer_available, 0, 0
    [all...]
dwfl_segment_report_module.c 79 addr_segndx (Dwfl *dwfl, size_t segment, GElf_Addr addr, bool next)
84 if (dwfl->lookup_segndx[segment] >= 0)
85 ndx = dwfl->lookup_segndx[segment];
86 if (++segment >= dwfl->lookup_elts - 1)
89 while (dwfl->lookup_addr[segment] < addr);
93 while (dwfl->lookup_segndx[segment] < 0)
94 if (++segment >= dwfl->lookup_elts - 1)
96 ndx = dwfl->lookup_segndx[segment];
103 dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name
    [all...]
core-file.c 144 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes)
146 if (unlikely (dwfl == NULL))
166 result = dwfl_report_segment (dwfl, ndx, phdr, 0, NULL);
251 dwfl_elf_phdr_memory_callback (Dwfl *dwfl, int ndx,
269 const GElf_Off align = dwfl->segment_align ?: 1;
406 dwfl_core_file_report (Dwfl *dwfl, Elf *elf)
417 int ndx = dwfl_report_core_segments (dwfl, elf, phnum, &notes_phdr)
    [all...]
dwfl_report_elf.c 64 __libdwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name,
234 Dwfl_Module *m = INTUSE(dwfl_report_module) (dwfl, name, start, end);
272 dwfl_report_elf (Dwfl *dwfl, const char *name,
295 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name,
  /external/elfutils/elfutils/
libdwfl.h 57 typedef struct Dwfl Dwfl;
98 extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks)
103 extern void dwfl_end (Dwfl *);
106 extern const char *dwfl_version (Dwfl *);
123 extern void dwfl_report_begin (Dwfl *dwfl);
130 effective page size for the address space DWFL describes.
146 The only information that can be extracted from DWFL later is the
151 extern int dwfl_report_segment (Dwfl *dwfl, int ndx
    [all...]
  /external/elfutils/0.153/src/
addr2line.c 104 static int handle_address (const char *addr, Dwfl *dwfl);
150 Dwfl *dwfl = NULL; local
151 (void) argp_parse (&argp, argc, argv, 0, &remaining, &dwfl);
152 assert (dwfl != NULL);
168 result = handle_address (buf, dwfl);
176 result = handle_address (argv[remaining], dwfl);
406 adjust_to_section (const char *name, uintmax_t *addr, Dwfl *dwfl)
    [all...]
  /external/ltrace/
proc.c 111 if (proc->dwfl != NULL)
112 dwfl_end(proc->dwfl);
176 proc->dwfl = NULL; /* Initialize for leader only on first library. */
898 Dwfl *dwfl = leader->dwfl; local
899 if (dwfl == NULL) {
904 dwfl = dwfl_begin(&proc_callbacks);
905 if (dwfl == NULL)
912 if (dwfl != NULL)
    [all...]

Completed in 168 milliseconds

1 2