Searched defs:libsym (Results 1 - 11 of 11) sorted by relevance

/external/ltrace/
H A Dbreakpoint.h64 struct library_symbol *libsym; member in struct:breakpoint
104 arch_addr_t addr, struct library_symbol *libsym);
135 struct library_symbol *libsym);
H A Dsummary.c155 summary_account_call(struct library_symbol *libsym, struct timedelta spent) argument
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,
H A Dbreakpoints.c166 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);
165 breakpoint_init_base(struct breakpoint *bp, arch_addr_t addr, struct library_symbol *libsym) argument
180 breakpoint_init(struct breakpoint *bp, struct process *proc, arch_addr_t addr, struct library_symbol *libsym) argument
269 insert_breakpoint_at(struct process *proc, arch_addr_t addr, struct library_symbol *libsym) argument
[all...]
H A Dhandle_event.c423 init_syscall_symbol(struct library_symbol *libsym, const char *name) argument
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) argument
699 struct library_symbol *libsym local
[all...]
H A Dlibrary.c74 os_library_symbol_init(struct library_symbol *libsym) argument
80 os_library_symbol_destroy(struct library_symbol *libsym) argument
86 struct library_symbol *libsym)
94 arch_library_symbol_init(struct library_symbol *libsym) argument
100 arch_library_symbol_destroy(struct library_symbol *libsym) argument
106 struct library_symbol *libsym)
148 private_library_symbol_init(struct library_symbol *libsym, argument
154 libsym->next = NULL;
155 libsym->lib = NULL;
156 libsym
85 os_library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) argument
105 arch_library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) argument
166 private_library_symbol_destroy(struct library_symbol *libsym) argument
172 library_symbol_init(struct library_symbol *libsym, arch_addr_t addr, const char *name, int own_name, enum toplt type_of_plt) argument
195 library_symbol_destroy(struct library_symbol *libsym) argument
205 library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) argument
249 library_symbol_set_name(struct library_symbol *libsym, const char *name, int own_name) argument
259 library_symbol_equal_cb(struct library_symbol *libsym, void *u) argument
266 library_symbol_named_cb(struct library_symbol *libsym, void *name) argument
272 library_symbol_delayed_cb(struct library_symbol *libsym, void *unused) argument
[all...]
H A Doutput.c235 lookup_symbol_prototype(struct process *proc, struct library_symbol *libsym) argument
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
495 output_left(enum tof type, struct process *proc, struct library_symbol *libsym) argument
639 output_right(enum tof type, struct process *proc, struct library_symbol *libsym, struct timedelta *spent) argument
[all...]
H A Dproc.c773 breakpoint_for_symbol(struct library_symbol *libsym, struct process *proc) argument
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
843 cb_breakpoint_for_symbol(struct library_symbol *libsym, void *data) argument
849 proc_activate_latent_symbol(struct process *proc, struct library_symbol *libsym) argument
859 proc_activate_delayed_symbol(struct process *proc, struct library_symbol *libsym) argument
873 struct library_symbol *libsym = NULL; local
948 struct library_symbol *libsym = NULL; local
[all...]
H A Dltrace-elf.c739 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) argument
786 for (; libsym != NULL; libsym
839 struct library_symbol *libsym = NULL; local
863 delete_symbol_chain(struct library_symbol *libsym) argument
882 struct library_symbol *libsym; member in struct:unique_symbol
1006 struct library_symbol *libsym = NULL; local
[all...]
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dplt.c254 void arch_symbol_ret(struct process *proc, struct library_symbol *libsym) argument
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) <
303 cb_enable_breakpoint_sym(struct library_symbol *libsym, void *data) argument
351 struct library_symbol *libsym = malloc(sizeof(*libsym)); local
401 arch_library_symbol_init(struct library_symbol *libsym) argument
413 arch_library_symbol_destroy(struct library_symbol *libsym) argument
418 arch_library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/ppc/
H A Dplt.c152 mark_as_resolved(struct library_symbol *libsym, GElf_Addr value) argument
154 libsym->arch.type = PPC_PLT_RESOLVED;
155 libsym->arch.resolved_value = value;
159 ppc32_delayed_symbol(struct library_symbol *libsym) argument
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
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
1121 arch_library_symbol_init(struct library_symbol *libsym) argument
1131 arch_library_symbol_destroy(struct library_symbol *libsym) argument
1141 arch_library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) argument
[all...]
/external/ltrace/sysdeps/linux-gnu/
H A Dtrace.c1307 os_library_symbol_init(struct library_symbol *libsym) argument
1309 libsym->os = (struct os_library_symbol_data){};
1314 os_library_symbol_destroy(struct library_symbol *libsym) argument
1320 struct library_symbol *libsym)
1322 retp->os = libsym->os;
1377 libsym_at_address(struct library_symbol *libsym, void *addrp) argument
1380 return CBS_STOP_IF(addr == libsym->enter_addr);
1393 struct library_symbol *libsym = NULL; local
1434 libsym = library_each_symbol(lib, NULL, libsym_at_address, &u.a);
1435 if (libsym
1319 os_library_symbol_clone(struct library_symbol *retp, struct library_symbol *libsym) argument
[all...]

Completed in 1096 milliseconds