/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ |
H A D | ctf_lookup.c | 195 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx; local 196 if (ELF32_ST_TYPE(symp->st_info) != STT_OBJECT) 199 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx; local 200 if (ELF64_ST_TYPE(symp->st_info) != STT_OBJECT) 258 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx; local 259 if (ELF32_ST_TYPE(symp->st_info) != STT_FUNC) 262 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx; local 263 if (ELF64_ST_TYPE(symp->st_info) != STT_FUNC)
|
H A D | ctf_open.c | 124 const uchar_t *symp = sp->cts_data; local 142 for (; xp < xend; xp++, symp += sp->cts_entsize) { 144 gsp = sym_to_gelf((Elf32_Sym *)(uintptr_t)symp, &sym); 146 gsp = (Elf64_Sym *)(uintptr_t)symp;
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 54 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 57 ftp->ftps_pc = (uintptr_t)symp->st_value; 58 ftp->ftps_size = (size_t)symp->st_size; 73 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) 80 if ((text = malloc(symp->st_size + 4)) == NULL) { 85 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { 95 text[symp->st_size / 4] = 0; 98 ftp->ftps_pc = symp 53 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument 72 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) argument 278 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument 301 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 58 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 61 ftp->ftps_pc = (uintptr_t)symp->st_value; 62 ftp->ftps_size = (size_t)symp->st_size; 77 uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) 90 size = dt_instr_size(&text[i], dtp, pid, symp->st_value + i, 121 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) 133 if ((text = calloc(1, symp->st_size + 4)) == NULL) { 138 if (Pread(P, text, symp->st_size, symp->st_value) != symp 57 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument 76 dt_pid_has_jump_table(struct ps_prochandle *P, dtrace_hdl_t *dtp, uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument 120 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) argument 264 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument 346 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/ |
H A D | dt_pid.c | 101 dt_pid_per_sym(dt_pid_probe_t *pp, const GElf_Sym *symp, const char *func) argument 121 (symp->st_size - 1) * sizeof (ftp->ftps_offs[0])); 135 if (dt_pid_create_return_probe(pp->dpp_pr, dtp, ftp, symp, 147 if (dt_pid_create_entry_probe(pp->dpp_pr, dtp, ftp, symp) < 0) { 165 if (off >= symp->st_size) { 172 symp, off); 191 pp->dpp_dtp, ftp, symp, pp->dpp_name) < 0) { 209 dt_pid_sym_filt(void *arg, const GElf_Sym *symp, const char *func) argument 213 if (symp->st_shndx == SHN_UNDEF) 216 if (symp [all...] |
H A D | dt_module.c | 284 GElf_Sym *symp, uint_t *idp) 305 return (dt_module_symgelf32(sym, symp)); 314 GElf_Sym *symp, uint_t *idp) 335 return (dt_module_symgelf64(sym, symp)); 344 GElf_Sym *symp, uint_t *idp) 378 return (dt_module_symgelf32(sym, symp)); 386 GElf_Sym *symp, uint_t *idp) 420 return (dt_module_symgelf64(sym, symp)); 1039 GElf_Sym *symp, dtrace_syminfo_t *sip) 1069 if (symp 283 dt_module_symname32(dt_module_t *dmp, const char *name, GElf_Sym *symp, uint_t *idp) argument 313 dt_module_symname64(dt_module_t *dmp, const char *name, GElf_Sym *symp, uint_t *idp) argument 343 dt_module_symaddr32(dt_module_t *dmp, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 385 dt_module_symaddr64(dt_module_t *dmp, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 1038 dtrace_lookup_by_name(dtrace_hdl_t *dtp, const char *object, const char *name, GElf_Sym *symp, dtrace_syminfo_t *sip) argument 1120 dtrace_lookup_by_addr(dtrace_hdl_t *dtp, GElf_Addr addr, GElf_Sym *symp, dtrace_syminfo_t *sip) argument 1245 dtrace_symbol_type(dtrace_hdl_t *dtp, const GElf_Sym *symp, const dtrace_syminfo_t *sip, dtrace_typeinfo_t *tip) argument [all...] |