/osnet-11/usr/src/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...] |
/osnet-11/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 69 Elf64_Sym *symp = &(((Elf64_Sym *)data->d_buf)[i]); local 71 return (fp->file_dynsym.sym_strs + symp->st_name); 81 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local 83 return (fp->file_dynsym.sym_strs + symp->st_name);
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pservice.c | 462 const char *sym_name, ps_sym_t *symp) 468 symp->st_name = (Elf32_Word)sym.st_name; 469 symp->st_value = (Elf32_Addr)sym.st_value; 470 symp->st_size = (Elf32_Word)sym.st_size; 471 symp->st_info = ELF32_ST_INFO( 473 symp->st_other = sym.st_other; 474 symp->st_shndx = sym.st_shndx; 479 if (Plookup_by_name(P, object_name, sym_name, symp) == 0) 461 ps_pglobal_sym(struct ps_prochandle *P, const char *object_name, const char *sym_name, ps_sym_t *symp) argument
|
H A D | Psymtab.c | 738 sym_tbl_t *symp; local 749 symp = fptr->file_ctf_dyn ? &fptr->file_dynsym : &fptr->file_symtab; 750 if (symp->sym_data_pri == NULL) 783 symtab.cts_type = symp->sym_hdr_pri.sh_type; 784 symtab.cts_flags = symp->sym_hdr_pri.sh_flags; 785 symtab.cts_data = symp->sym_data_pri->d_buf; 786 symtab.cts_size = symp->sym_hdr_pri.sh_size; 787 symtab.cts_entsize = symp->sym_hdr_pri.sh_entsize; 788 symtab.cts_offset = symp->sym_hdr_pri.sh_offset; 791 strtab.cts_type = symp 1505 GElf_Sym *symp, *syms; local 1785 sym_tbl_t *symp = shp->sh_type == SHT_SYMTAB ? local 2201 sym_by_addr_binary(sym_tbl_t *symtab, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 2275 GElf_Sym sym, *symp = NULL; local 2316 sym_by_addr(sym_tbl_t *symtab, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 2329 sym_by_name_binary(sym_tbl_t *symtab, const char *name, GElf_Sym *symp, uint_t *idp) argument 2368 sym_by_name_linear(sym_tbl_t *symtab, const char *name, GElf_Sym *symp, uint_t *idp) argument 2397 sym_by_name(sym_tbl_t *symtab, const char *name, GElf_Sym *symp, uint_t *idp) argument 2425 GElf_Sym *symp; local 2486 Pxlookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf, size_t bufsize, GElf_Sym *symp, prsyminfo_t *sip) argument 2493 Pxlookup_by_addr_resolved(struct ps_prochandle *P, uintptr_t addr, char *buf, size_t bufsize, GElf_Sym *symp, prsyminfo_t *sip) argument 2500 Plookup_by_addr(struct ps_prochandle *P, uintptr_t addr, char *buf, size_t size, GElf_Sym *symp) argument 2513 Pxlookup_by_name( struct ps_prochandle *P, Lmid_t lmid, const char *oname, const char *sname, GElf_Sym *symp, prsyminfo_t *sip) argument 2611 Plookup_by_name(struct ps_prochandle *P, const char *object, const char *symbol, GElf_Sym *symp) argument [all...] |
/osnet-11/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 68 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local 70 return (fp->file_dynsym.sym_strs + symp->st_name);
|
/osnet-11/usr/src/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...] |
/osnet-11/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 73 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local 75 return (fp->file_dynsym.sym_strs + symp->st_name);
|
/osnet-11/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 88 Elf64_Sym *symp = &(((Elf64_Sym *)data->d_buf)[i]); local 90 return (fp->file_dynsym.sym_strs + symp->st_name); 105 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local 107 return (fp->file_dynsym.sym_strs + symp->st_name);
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_pid.c | 100 dt_pid_per_sym(dt_pid_probe_t *pp, const GElf_Sym *symp, const char *func) argument 120 (symp->st_size - 1) * sizeof (ftp->ftps_offs[0])); 134 if (dt_pid_create_return_probe(pp->dpp_pr, dtp, ftp, symp, 146 if (dt_pid_create_entry_probe(pp->dpp_pr, dtp, ftp, symp) < 0) { 164 if (off >= symp->st_size) { 171 symp, off); 190 pp->dpp_dtp, ftp, symp, pp->dpp_name) < 0) { 208 dt_pid_sym_filt(void *arg, const GElf_Sym *symp, const char *func) argument 212 if (symp->st_shndx == SHN_UNDEF) 215 if (symp [all...] |
H A D | dt_module.c | 262 GElf_Sym *symp, uint_t *idp) 283 return (dt_module_symgelf32(sym, symp)); 292 GElf_Sym *symp, uint_t *idp) 313 return (dt_module_symgelf64(sym, symp)); 322 GElf_Sym *symp, uint_t *idp) 356 return (dt_module_symgelf32(sym, symp)); 364 GElf_Sym *symp, uint_t *idp) 398 return (dt_module_symgelf64(sym, symp)); 1011 GElf_Sym *symp, dtrace_syminfo_t *sip) 1041 if (symp 261 dt_module_symname32(dt_module_t *dmp, const char *name, GElf_Sym *symp, uint_t *idp) argument 291 dt_module_symname64(dt_module_t *dmp, const char *name, GElf_Sym *symp, uint_t *idp) argument 321 dt_module_symaddr32(dt_module_t *dmp, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 363 dt_module_symaddr64(dt_module_t *dmp, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument 1010 dtrace_lookup_by_name(dtrace_hdl_t *dtp, const char *object, const char *name, GElf_Sym *symp, dtrace_syminfo_t *sip) argument 1092 dtrace_lookup_by_addr(dtrace_hdl_t *dtp, GElf_Addr addr, GElf_Sym *symp, dtrace_syminfo_t *sip) argument 1217 dtrace_symbol_type(dtrace_hdl_t *dtp, const GElf_Sym *symp, const dtrace_syminfo_t *sip, dtrace_typeinfo_t *tip) argument [all...] |
/osnet-11/usr/src/lib/abi/apptrace/common/ |
H A D | apptrace.c | 476 la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook, argument 480 la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook, 485 char const *sym_name = (char const *) symp->st_name; 488 uintptr_t ret = symp->st_value; 493 if (ELF64_ST_TYPE(symp->st_info) != STT_FUNC) 497 if (ELF32_ST_TYPE(symp->st_info) != STT_FUNC) 557 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, argument 562 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, 566 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, 571 la_i86_pltenter(Elf32_Sym *symp, uint_ 711 la_pltexit64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, uintptr_t *defcookie, uintptr_t retval, const char *sym_name) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/unicode/ |
H A D | ure.c | 721 _ure_cclass(ucs2_t *cp, unsigned long limit, _ure_symtab_t *symp, argument 735 symp->type = _URE_NCCLASS; 738 symp->type = _URE_CCLASS; 780 sp += _ure_prop_list(sp, ep - sp, &symp->props, b); 788 symp->props = ~symp->props; 806 if ((n = _ure_posix_ccl(sp, ep - sp, symp, b)) == 0) 814 cclp = &symp->sym.ccl; 912 _ure_compile_symbol(ucs2_t *sym, unsigned long limit, _ure_symtab_t *symp, argument 937 symp [all...] |