/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_bits.c | 76 static int is_unknown_binfo(struct symbol *type, struct bit_info *binfo) in is_unknown_binfo() argument 81 if (binfo->set != 0) in is_unknown_binfo() 83 if (binfo->possible < (-1ULL >> (64 - type_bits(type)))) in is_unknown_binfo() 324 struct bit_info *start, *binfo; in match_assign() local 330 binfo = get_bit_info(expr->right); in match_assign() 331 if (!binfo) in match_assign() 334 if (is_unknown_binfo(get_type(expr->left), binfo)) in match_assign() 337 set_state_expr(my_id, expr->left, alloc_bstate(binfo->set, binfo->possible)); in match_assign() 340 new = alloc_bstate(start->set | binfo->set, start->possible | binfo->possible); in match_assign() 344 new = alloc_bstate(start->set & binfo->set, start->possible & binfo->possible); in match_assign() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 75 uint_t binfo; in load_filtees() local 84 (void) elf_lookup_filtee(&sl, &sr, &binfo, cnt, in load_filtees() 2612 lookup_sym_interpose(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) in lookup_sym_interpose() argument 2633 *binfo |= in lookup_sym_interpose() 2694 if (SYMINTP(lmp)(&sl, &sr, binfo, in_nfavl)) { in lookup_sym_interpose() 2701 *binfo |= in lookup_sym_interpose() 2753 if (SYMINTP(lmp)(&sl, &sr, binfo, in_nfavl)) { in lookup_sym_interpose() 2771 *binfo |= DBG_BINFO_INTERPOSE; in lookup_sym_interpose() 2785 lookup_sym_direct(Slookup *slp, Sresult *srp, uint_t *binfo, Syminfo *sip, in lookup_sym_direct() argument 2811 ret = SYMINTP(clmp)(slp, srp, binfo, in_nfavl); in lookup_sym_direct() [all …]
|
H A D | dlfcns.c | 1063 dlsym_handle(Grp_hdl *ghp, Slookup *slp, Sresult *srp, uint_t *binfo, in dlsym_handle() argument 1112 if (LM_LOOKUP_SYM(clmp)(&sl, srp, binfo, in_nfavl)) in dlsym_handle() 1143 if (elf_lazy_find_sym(&sl, srp, binfo, in dlsym_handle() 1164 if (LM_LOOKUP_SYM(clmp)(&sl, srp, binfo, in_nfavl)) in dlsym_handle() 1193 if (elf_lazy_find_sym(&sl, srp, binfo, in dlsym_handle() 1207 sym_lookup_in_caller(Rt_map *clmp, Slookup *slp, Sresult *srp, uint_t *binfo) in sym_lookup_in_caller() argument 1209 if (THIS_IS_ELF(clmp) && SYMINTP(clmp)(slp, srp, binfo, NULL)) { in sym_lookup_in_caller() 1232 uint_t binfo; in dlsym_core() local 1252 sym = sym_lookup_in_caller(clmp, &sl, &sr, &binfo); in dlsym_core() 1272 ret = LM_LOOKUP_SYM(clmp)(&sl, &sr, &binfo, in_nfavl); in dlsym_core() [all …]
|
H A D | elf.c | 741 elf_null_find_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) in elf_null_find_sym() argument 791 _elf_lookup_filtee(Slookup *slp, Sresult *srp, uint_t *binfo, uint_t ndx, argument 1186 if (((ret = SYMINTP(sl.sl_imap)(&sl, srp, binfo, 1197 *binfo |= DBG_BINFO_FILTEE; 1252 elf_lookup_filtee(Slookup *slp, Sresult *srp, uint_t *binfo, uint_t ndx, argument 1277 ret = _elf_lookup_filtee(slp, srp, binfo, ndx, in_nfavl); 1320 elf_find_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl) argument 1420 *binfo |= DBG_BINFO_FOUND; 1425 *binfo |= DBG_BINFO_INTERPOSE; 1441 *binfo |= (DBG_BINFO_FOUND | DBG_BINFO_PLTADDR); [all …]
|
H A D | audit.c | 1324 uint_t binfo; in audit_symget() local 1335 if (LM_LOOKUP_SYM(lmp)(&sl, &sr, &binfo, in_nfavl)) { in audit_symget()
|
H A D | util.c | 3574 uint_t binfo; in set_environ() local 3583 if (LM_LOOKUP_SYM(lml->lm_head)(&sl, &sr, &binfo, 0)) { in set_environ()
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 200 uint_t binfo, sb_flags = 0, dbg_class; in elf_bndr() local 257 if (lookup_sym(&sl, &sr, &binfo, NULL) == 0) { in elf_bndr() 319 nsym->st_value, name, binfo)); in elf_bndr() 374 uint_t binfo, pbinfo; in elf_reloc() local 434 if (elf_find_sym(&sl, &sr, &binfo, NULL) == 0) in elf_reloc() 578 binfo = 0; in elf_reloc() 655 binfo = pbinfo; in elf_reloc() 683 if (lookup_sym(&sl, &sr, &binfo, in elf_reloc() 700 rel, binfo)) in elf_reloc() 761 pbinfo = binfo; in elf_reloc() [all …]
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | bindings.c | 84 const char *sym, uint_t binfo) in Dbg_bind_global() argument 123 binfo &= ~DBG_BINFO_FOUND; in Dbg_bind_global() 124 binfo &= DBG_BINFO_MSK; in Dbg_bind_global() 125 if (binfo) { in Dbg_bind_global() 126 conv_arg.oflags = conv_arg.rflags = binfo; in Dbg_bind_global()
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 219 uint_t binfo, sb_flags = 0, dbg_class; in elf_bndr() local 278 if (lookup_sym(&sl, &sr, &binfo, NULL) == 0) { in elf_bndr() 340 nsym->st_value, name, binfo)); in elf_bndr() 396 uint_t binfo, pbinfo; in elf_reloc() local 456 if (elf_find_sym(&sl, &sr, &binfo, NULL) == 0) in elf_reloc() 601 binfo = 0; in elf_reloc() 679 binfo = pbinfo; in elf_reloc() 707 if (lookup_sym(&sl, &sr, &binfo, in elf_reloc() 724 rel, binfo)) in elf_reloc() 785 pbinfo = binfo; in elf_reloc() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 358 uint_t binfo, sb_flags = 0, dbg_class; in elf_bndr() local 429 if (lookup_sym(&sl, &sr, &binfo, NULL) == 0) { in elf_bndr() 494 pltndx, pbtype, nlmp, (Addr)symval, nsym->st_value, name, binfo)); in elf_bndr() 548 uint_t binfo, pbinfo; in elf_reloc() local 730 binfo = 0; in elf_reloc() 809 binfo = pbinfo; in elf_reloc() 837 if (lookup_sym(&sl, &sr, &binfo, in elf_reloc() 854 rel, binfo)) in elf_reloc() 915 pbinfo = binfo; in elf_reloc() 1117 if (binfo) { in elf_reloc() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 485 uint_t binfo, sb_flags = 0, dbg_class; in elf_bndr() local 570 if (lookup_sym(&sl, &sr, &binfo, NULL) == 0) { in elf_bndr() 638 name, binfo)); in elf_bndr() 744 uint_t dsymndx, binfo, pbinfo; in elf_reloc() local 957 binfo = 0; in elf_reloc() 1038 binfo = pbinfo; in elf_reloc() 1066 if (lookup_sym(&sl, &sr, &binfo, in elf_reloc() 1083 rel, binfo)) in elf_reloc() 1144 pbinfo = binfo; in elf_reloc() 1367 if (binfo) { in elf_reloc() [all …]
|
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | relocate.c | 104 uint_t binfo; in count_reloc() local 287 if (lookup_sym(&sl, &sr, &binfo, NULL)) { in count_reloc()
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | btxld.c | 80 static const char binfo[] = variable 305 printf(binfo, btx.btx_majver, btx.btx_minver, btx.btx_textsz, in btxld()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 1043 binfo[] = { variable 1071 p = binfo; in bd_info()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 4576 struct bandinfo binfo; in strioctl() local 4578 error = strcopyin((void *)arg, &binfo, sizeof (binfo), in strioctl() 4584 if (binfo.bi_flag & ~FLUSHRW) in strioctl() 4591 *mp->b_wptr++ = binfo.bi_flag | FLUSHBAND; in strioctl() 4592 *mp->b_wptr++ = binfo.bi_pri; in strioctl()
|