/external/ltrace/sysdeps/linux-gnu/mips/ |
plt.c | 254 void arch_symbol_ret(struct process *proc, struct library_symbol *libsym) 261 if (libsym->arch.type != MIPS_PLT_UNRESOLVED) 265 if (libsym->arch.pltalways) 268 resolved_addr = sym2addr(proc, libsym); 269 libsym->arch.resolved_addr = (uintptr_t) resolved_addr; 270 libsym->arch.type = MIPS_PLT_RESOLVED; 272 if (libsym->arch.stub_addr == libsym->arch.resolved_addr) { 280 libsym->name); 284 if (breakpoint_init(bp, leader, resolved_addr, libsym) < 0 351 struct library_symbol *libsym = malloc(sizeof(*libsym)); local [all...] |
/external/ltrace/ |
library.c | 74 os_library_symbol_init(struct library_symbol *libsym) 80 os_library_symbol_destroy(struct library_symbol *libsym) 86 struct library_symbol *libsym) 94 arch_library_symbol_init(struct library_symbol *libsym) 100 arch_library_symbol_destroy(struct library_symbol *libsym) 106 struct library_symbol *libsym) 148 private_library_symbol_init(struct library_symbol *libsym, 154 libsym->next = NULL; 155 libsym->lib = NULL; 156 libsym->plt_type = type_of_plt [all...] |
summary.h | 31 void summary_account_call(struct library_symbol *libsym,
|
output.h | 29 struct library_symbol *libsym); 31 struct library_symbol *libsym,
|
library.h | 77 /* Init LIBSYM. NAME will be freed when LIBSYM is destroyed if 79 int library_symbol_init(struct library_symbol *libsym, 102 void library_symbol_set_name(struct library_symbol *libsym, 108 enum callback_status library_symbol_equal_cb(struct library_symbol *libsym, 113 enum callback_status library_symbol_named_cb(struct library_symbol *libsym, 118 enum callback_status library_symbol_delayed_cb(struct library_symbol *libsym,
|
breakpoints.c | 166 arch_addr_t addr, struct library_symbol *libsym) 172 bp->libsym = libsym; 181 arch_addr_t addr, struct library_symbol *libsym) 183 breakpoint_init_base(bp, addr, libsym); 214 struct library_symbol *libsym = NULL; local 215 if (bp->libsym != NULL) { 216 int rc = proc_find_symbol(new_proc, bp->libsym, NULL, &libsym); 220 breakpoint_init_base(retp, bp->addr, libsym); [all...] |
breakpoint.h | 64 struct library_symbol *libsym; member in struct:breakpoint 104 arch_addr_t addr, struct library_symbol *libsym); 135 struct library_symbol *libsym);
|
ltrace-elf.c | 739 struct library_symbol *libsym = malloc(sizeof(*libsym)); local 740 if (libsym == NULL) 748 if (library_symbol_init(libsym, taddr, name, 1, LS_TOPLT_EXEC) < 0) { 749 free(libsym); 753 libsym->next = *ret; 754 *ret = libsym; 784 mark_chain_latent(struct library_symbol *libsym) 786 for (; libsym != NULL; libsym = libsym->next) 839 struct library_symbol *libsym = NULL; local 882 struct library_symbol *libsym; member in struct:unique_symbol 1006 struct library_symbol *libsym = NULL; local [all...] |
proc.c | 773 breakpoint_for_symbol(struct library_symbol *libsym, struct process *proc) 779 if (libsym->latent || libsym->delayed) { 782 proc->pid, libsym->name, libsym->enter_addr); 786 bp_addr = sym2addr(proc, libsym); 789 * its libsym will be NULL, and we can smuggle our libsym 815 assert(bp->libsym == NULL); 816 bp->libsym = libsym 873 struct library_symbol *libsym = NULL; local 948 struct library_symbol *libsym = NULL; local [all...] |
backend.h | 268 * destroy and clone LIBSYM->os. os_library_symbol_init and 271 int os_library_symbol_init(struct library_symbol *libsym); 272 void os_library_symbol_destroy(struct library_symbol *libsym); 274 struct library_symbol *libsym); 278 * destroy and clone LIBSYM->arch. arch_library_symbol_init and 281 int arch_library_symbol_init(struct library_symbol *libsym); 282 void arch_library_symbol_destroy(struct library_symbol *libsym); 284 struct library_symbol *libsym); 379 void arch_symbol_ret(struct process *proc, struct library_symbol *libsym);
|
summary.c | 155 summary_account_call(struct library_symbol *libsym, struct timedelta spent) 174 struct opt_c_struct *st = DICT_FIND_REF(dict_opt_c, &libsym->name, 177 const char *na = strdup(libsym->name); 187 st = DICT_FIND_REF(dict_opt_c, &libsym->name,
|
output.c | 235 lookup_symbol_prototype(struct process *proc, struct library_symbol *libsym) 237 if (libsym->proto != NULL) 238 return libsym->proto; 240 struct library *lib = libsym->lib; 242 struct find_proto_data data = { libsym->name }; 243 data.ret = library_get_prototype(lib, libsym->name); 245 && libsym->plt_type == LS_TOPLT_EXEC) 496 struct library_symbol *libsym) 507 if (!options.hide_caller && libsym->lib != NULL 508 && libsym->plt_type != LS_TOPLT_NONE [all...] |
handle_event.c | 423 init_syscall_symbol(struct library_symbol *libsym, const char *name) 457 if (library_symbol_init(libsym, 0, name, 0, LS_TOPLT_NONE) < 0) 460 libsym->lib = &syscall_lib; 481 struct library_symbol syscall, *libsym = NULL; local 485 libsym = &syscall; 488 libsym = elem->c_un.libfunc; 491 if (libsym != NULL) { 492 summary_account_call(libsym, spent[i]); 671 void arch_symbol_ret(struct process *proc, struct library_symbol *libsym) 699 struct library_symbol *libsym local [all...] |
proc.h | 218 struct library_symbol *libsym); 251 /* Finds a symbol corresponding to LIBSYM in a process PROC. Returns
|
/external/ltrace/sysdeps/linux-gnu/ppc/ |
plt.c | 152 mark_as_resolved(struct library_symbol *libsym, GElf_Addr value) 154 libsym->arch.type = PPC_PLT_RESOLVED; 155 libsym->arch.resolved_value = value; 159 ppc32_delayed_symbol(struct library_symbol *libsym) 184 uint32_t insn1 = libsym->arch.resolved_value >> 32; 185 uint32_t insn2 = (uint32_t) libsym->arch.resolved_value; 189 && (ppc_branch_dest(libsym->enter_addr + 4, insn2) 190 == (arch_addr_t) (long) libsym->lib->arch.pltgot_addr))) 192 mark_as_resolved(libsym, libsym->arch.resolved_value) 200 struct library_symbol *libsym = NULL; local 568 struct library_symbol *libsym = malloc(sizeof(*libsym)); local 649 struct library_symbol *libsym = malloc(sizeof *libsym); local 768 struct library_symbol *libsym = malloc(sizeof(*libsym)); local 832 struct library_symbol *libsym = self->breakpoint_being_enabled->libsym; local 866 struct library_symbol *libsym = self->breakpoint_being_enabled->libsym; local 1061 struct library_symbol *libsym = bp->libsym; local [all...] |
/external/ltrace/sysdeps/linux-gnu/ |
trace.c | 1393 struct library_symbol *libsym = NULL; local [all...] |