Lines Matching +full:main +full:- +full:storage
40 * "The first object visited by callback is the main program."
42 start_offset = info->dlpi_addr;
59 os_snprintf(exe, sizeof(exe) - 1, "/proc/%u/exe", getpid());
60 len = readlink(exe, fname, sizeof(fname) - 1);
100 long storage, symcount;
111 storage = bfd_get_symtab_upper_bound(abfd);
112 if (storage == 0) {
113 storage = bfd_get_dynamic_symtab_upper_bound(abfd);
116 if (storage < 0) {
121 syms = malloc(storage);
124 "(%ld bytes)", storage);
152 * Cf. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=fd3619828e94a24a92cddec42cbc0ab33352eeb4;hp=5dfda3562a69686c43aad4fb0269cc9d5ec010d5
167 if (data->found)
174 if (data->pc < vma)
178 if (data->pc >= vma + size)
181 data->found = bfd_find_nearest_line(abfd, section, syms,
182 data->pc - vma,
183 &data->filename,
184 &data->function,
185 &data->line);
200 data.pc = (uintptr_t) ((u8 *) pc - start_offset);
241 data.pc = (uintptr_t) ((u8 *) pc - start_offset);
313 data.pc = (uintptr_t) ((u8 *) btrace_res[i] - start_offset);
350 wpa_printf(MSG_INFO, "WPA_TRACE: %s - START", title);
371 os_strcmp(func, "main") == 0)
375 wpa_printf(MSG_INFO, "WPA_TRACE: %s - END", title);
393 ref->addr = addr;
395 dl_list_add(&active_references, &ref->list);
403 if (addr != ref->addr)