HomeSort by relevance Sort by last modified time
    Searched defs:dwfl (Results 1 - 19 of 19) sorted by null

  /external/elfutils/libdwfl/
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;
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
252 Dwfl *dwfl = INTUSE(dwfl_begin) (&kernel_callbacks); local
269 Dwfl *dwfl = INTUSE(dwfl_begin) (&offline_callbacks); local
282 Dwfl *dwfl = state->hook; local
    [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...]
  /external/elfutils/tests/
dwfl-bug-report.c 27 #include ELFUTILS_HEADER(dwfl)
44 Dwfl *dwfl = dwfl_begin (&callbacks); local
48 dwfl_report_begin (dwfl);
49 dwfl_report_module (dwfl, "module1", 0, 10);
50 dwfl_report_end (dwfl, NULL, NULL);
53 dwfl_end (dwfl);
dwfl-bug-getmodules.c 27 #include ELFUTILS_HEADER(dwfl)
55 Dwfl *dwfl = dwfl_begin (&callbacks); local
57 dwfl_report_module (dwfl, "m1", 0, 0x1000);
58 dwfl_report_module (dwfl, "m2", 0x2000, 0x3000);
59 dwfl_report_module (dwfl, "m3", 0x4000, 0x5000);
61 dwfl_report_end (dwfl, NULL, NULL);
63 ptrdiff_t offset = dwfl_getmodules (dwfl, &iterate, dwfl, 0);
67 offset = dwfl_getmodules (dwfl, &iterate, NULL, offset)
    [all...]
dwfl-bug-addr-overflow.c 33 #include ELFUTILS_HEADER(dwfl)
52 Dwfl *dwfl = dwfl_begin (&offline_callbacks); local
53 assert (dwfl != NULL);
55 Dwfl_Module *high = dwfl_report_module (dwfl, "high",
59 Dwfl_Module *low = dwfl_report_module (dwfl, "low",
63 Dwfl_Module *middle = dwfl_report_module (dwfl, "middle",
68 int ret = dwfl_report_end (dwfl, NULL, NULL);
71 Dwfl_Module *mod = dwfl_addrmodule (dwfl, UINT64_C (0xffffffff00010123));
73 mod = dwfl_addrmodule (dwfl, UINT64_C (0x00010123))
    [all...]
dwfl-addr-sect.c 37 #include ELFUTILS_HEADER(dwfl)
41 handle_address (Dwfl *dwfl, Dwarf_Addr address)
43 Dwfl_Module *mod = dwfl_addrmodule (dwfl, address);
70 Dwfl *dwfl = NULL; local
71 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local
72 assert (dwfl != NULL);
80 result |= handle_address (dwfl, addr);
85 dwfl_end (dwfl);
    [all...]
dwfl-bug-fd-leak.c 39 #include ELFUTILS_HEADER(dwfl)
42 static Dwfl *
53 Dwfl *dwfl = dwfl_begin (&proc_callbacks); local
54 if (dwfl == NULL)
57 int result = dwfl_linux_proc_report (dwfl, pid);
63 if (dwfl_report_end (dwfl, NULL, NULL) != 0)
67 Dwarf *dbg = dwfl_addrdwarf (dwfl, address, &bias);
76 Elf *elf = dwfl_module_getelf (dwfl_addrmodule (dwfl, address), &bias);
81 return dwfl;
105 Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) (uintptr_t) &main); local
    [all...]
find-prologues.c 29 #include ELFUTILS_HEADER(dwfl)
43 Dwfl *dwfl; member in struct:args
101 struct args a = { .dwfl = NULL, .cu = NULL };
104 &a.dwfl);
105 assert (a.dwfl != NULL);
110 while ((a.cu = dwfl_nextcu (a.dwfl, a.cu, &a.dwbias)) != NULL)
113 dwfl_end (a.dwfl);
funcretval.c 29 #include ELFUTILS_HEADER(dwfl)
43 Dwfl *dwfl; member in struct:args
99 struct args a = { .dwfl = NULL, .cu = NULL };
102 &a.dwfl);
103 assert (a.dwfl != NULL);
108 while ((a.cu = dwfl_nextcu (a.dwfl, a.cu, &a.dwbias)) != NULL)
111 dwfl_end (a.dwfl);
line2addr.c 31 #include ELFUTILS_HEADER(dwfl)
127 Dwfl *dwfl = NULL; local
128 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &cnt, &dwfl); local
129 assert (dwfl != NULL);
148 (void) dwfl_getdwarf (dwfl, &handle_module, &a, 0);
153 dwfl_end (dwfl);
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);
addrscopes.c 29 #include ELFUTILS_HEADER(dwfl)
103 handle_address (GElf_Addr pc, Dwfl *dwfl)
106 Dwarf_Die *cudie = dwfl_addrdie (dwfl, pc, &cubias);
135 Dwfl_Line *loline = dwfl_getsrc (dwfl, lowpc);
136 Dwfl_Line *hiline = dwfl_getsrc (dwfl, highpc);
156 Dwfl *dwfl = NULL; local
157 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local
158 assert (dwfl != NULL)
    [all...]
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);
funcscopes.c 29 #include ELFUTILS_HEADER(dwfl)
106 Dwfl *dwfl; member in struct:args
163 Dwfl_Line *loline = dwfl_getsrc (a->dwfl, lowpc);
164 Dwfl_Line *hiline = dwfl_getsrc (a->dwfl, highpc);
187 struct args a = { .dwfl = NULL, .cu = NULL };
190 &a.dwfl);
191 assert (a.dwfl != NULL);
196 while ((a.cu = dwfl_nextcu (a.dwfl, a.cu, &a.dwbias)) != NULL)
199 dwfl_end (a.dwfl);
    [all...]
  /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...]

Completed in 172 milliseconds