Searched defs:sym (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/ctf/common/
H A Dsymbol.c35 ignore_symbol(GElf_Sym *sym, const char *name) argument
37 uchar_t type = GELF_ST_TYPE(sym->st_info);
43 if (sym->st_shndx == SHN_UNDEF || sym->st_name == 0)
58 if (type == STT_OBJECT && sym->st_shndx == SHN_ABS &&
59 sym->st_value == 0)
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_slist.h10 struct symbol *sym; member in struct:named_stree
27 struct symbol *sym, struct smatch_state *state);
41 struct symbol *sym);
44 struct symbol *sym);
49 struct symbol *sym, struct smatch_state *state);
51 struct symbol *sym, struct smatch_state *state);
53 struct symbol *sym);
56 struct symbol *sym);
68 struct symbol *sym, struct smatch_state *state);
72 struct symbol *sym);
[all...]
H A Dsmatch_function_info.c28 static void match_def(struct symbol *sym) argument
34 FOR_EACH_PTR(sym->ctype.base_type->arguments, arg) {
H A Dsmatch_parameter_names.c20 static void match_def(struct symbol *sym) argument
H A Dcheck_all_func_returns.c28 struct symbol *sym = get_real_base_type(get_type(expr->fn)); local
32 if (sym == NULL) {
71 if (sym == &void_ctype || (sym->type == SYM_FN &&
72 get_real_base_type(sym) == &void_ctype))
H A Dcheck_no_return.c32 static void match_func_end(struct symbol *sym) argument
H A Dcompile.c46 struct symbol *sym; local
48 FOR_EACH_PTR(list, sym) {
49 expand_symbol(sym);
50 emit_one_symbol(sym);
51 } END_FOR_EACH_PTR(sym);
H A Dtest-linearize.c43 struct symbol *sym; local
45 FOR_EACH_PTR(list, sym) {
48 expand_symbol(sym);
49 ep = linearize_symbol(sym);
54 } END_FOR_EACH_PTR(sym);
H A Dtest-parsing.c44 struct symbol *sym; local
46 FOR_EACH_PTR(list, sym) {
47 expand_symbol(sym);
48 } END_FOR_EACH_PTR(sym);
H A Dsmatch_extra.h23 struct symbol *sym; member in struct:relation
109 int get_implied_rl_var_sym(const char *var, struct symbol *sym, struct range_list **rl);
166 void call_extra_mod_hooks(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
167 void set_extra_mod(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
169 void set_extra_nomod(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
170 void set_extra_nomod_vsl(const char *name, struct symbol *sym, struct var_sym_list *vsl, struct expression *expr, struct smatch_state *state);
172 void set_extra_mod_helper(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state);
176 void add_extra_mod_hook(void (*fn)(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state));
177 void add_extra_nomod_hook(void (*fn)(const char *name, struct symbol *sym, struct expression *expr, struct smatch_state *state));
179 int implied_not_equal_name_sym(char *name, struct symbol *sym, lon
[all...]
H A Dcheck_dma_on_stack.c25 struct symbol *sym; local
42 sym = get_type(arg);
43 if (!sym || sym->type != SYM_ARRAY)
H A Dcheck_err_ptr.c63 static void match_end_func(struct symbol *sym) argument
H A Dcheck_release_resource.c35 struct symbol *sym; local
40 name = expr_to_var_sym(arg_expr, &sym);
41 if (!name || !sym)
43 add_tracker(&resource_list, my_id, name, sym);
53 struct symbol *sym; local
61 name = expr_to_var_sym(arg_expr, &sym);
62 if (!name || !sym)
64 if (in_tracker_list(resource_list, my_id, name, sym))
71 static void match_end_func(struct symbol *sym) argument
H A Dcheck_stack.c41 static void match_declarations(struct symbol *sym) argument
46 base = get_base_type(sym);
47 if (sym->ctype.modifiers & MOD_STATIC)
49 name = sym->ident->name;
62 static void match_end_func(struct symbol *sym) argument
H A Dsmatch_scope.c42 struct symbol *sym; local
51 FOR_EACH_PTR(tmp->declaration, sym) {
52 if (!sym->ident)
54 __delete_all_states_sym(sym);
55 } END_FOR_EACH_PTR(sym);
99 static void match_end_func(struct symbol *sym) argument
H A Dsmatch_tracker.c22 struct tracker *alloc_tracker(int owner, const char *name, struct symbol *sym) argument
29 tmp->sym = sym;
34 struct symbol *sym)
38 if (in_tracker_list(*list, owner, name, sym))
40 tmp = alloc_tracker(owner, name, sym);
47 struct symbol *sym; local
49 name = expr_to_var_sym(expr, &sym);
50 if (!name || !sym)
52 add_tracker(list, owner, name, sym);
33 add_tracker(struct tracker_list **list, int owner, const char *name, struct symbol *sym) argument
63 del_tracker(struct tracker_list **list, int owner, const char *name, struct symbol *sym) argument
78 in_tracker_list(struct tracker_list *list, int owner, const char *name, struct symbol *sym) argument
[all...]
H A Dcheck_wine_WtoA.c34 static void match_function_def(struct symbol *sym) argument
H A Dobfuscate.c48 static void emit_symbol(struct symbol *sym) argument
51 ep = linearize_symbol(sym);
58 struct symbol *sym; local
60 FOR_EACH_PTR(list, sym) {
61 expand_symbol(sym);
62 emit_symbol(sym);
63 } END_FOR_EACH_PTR(sym);
H A Dsmatch_mem_tracker.c69 static void match_end_func(struct symbol *sym) argument
H A Dtest-inspect.c21 struct symbol *sym; local
22 FOR_EACH_PTR(list, sym) {
23 expand_symbol(sym);
24 } END_FOR_EACH_PTR(sym);
/illumos-gate/usr/src/lib/libpp/common/
H A Dppmacref.c31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument
39 p += sfsprintf(p, MAXTOKEN, "\n#%s %s:%s %s %d", dirname(PRAGMA), pp.pass, keyname(X_MACREF), sym->name, type);
42 if (sym->macro && sym->macro->value)
43 sum = strsum(sym->macro->value, (long)sym->macro->arity);
/illumos-gate/usr/src/cmd/mdb/tools/findfp/common/
H A Dfindsym.c56 GElf_Sym sym; local
58 if (gelf_getsym(symtab, i, &sym) == NULL)
61 if ((GELF_ST_TYPE(sym.st_info) != STT_FUNC &&
62 GELF_ST_TYPE(sym.st_info) != STT_OBJECT) ||
63 sym.st_shndx == SHN_UNDEF)
66 if (addr - sym.st_value < sym.st_size) {
69 sym.st_name)) == NULL)
70 elfdie("failed to get name for sym %d", i);
71 *offp = addr - sym
[all...]
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/pcplusmp/
H A Dpcplusmp.c114 GElf_Sym sym; local
116 if (mdb_lookup_by_name("gld_intr", &sym) != -1)
117 if (GELF_ST_TYPE(sym.st_info) == STT_FUNC)
118 gld_intr_addr = (uintptr_t)sym.st_value;
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dstruct.c16 static struct symbol sym; variable in typeref:struct:symbol
18 static struct symbol *sym_q = &sym;
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Ddoreloc.c197 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym,
202 #define sym (* rel_desc_sname_func)(rdesc) macro
262 REL_ERR_UNSUPSZ(lml, file, sym, rtype, rep->re_fsize);
268 #undef sym macro

Completed in 247 milliseconds

1234567891011>>