Home
last modified time | relevance | path

Searched refs:mtag_t (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_mtag.c53 mtag_t str_to_mtag(const char *str) in str_to_mtag()
84 char *get_allocator_info_from_tag(mtag_t tag) in get_allocator_info_from_tag()
112 static void update_mtag_info(struct expression *expr, mtag_t tag, in update_mtag_info()
132 mtag_t tag; in get_mtag_return()
168 int get_string_mtag(struct expression *expr, mtag_t *tag) in get_string_mtag()
170 mtag_t xor; in get_string_mtag()
183 int get_toplevel_mtag(struct symbol *sym, mtag_t *tag) in get_toplevel_mtag()
201 bool get_symbol_mtag(struct symbol *sym, mtag_t *tag) in get_symbol_mtag()
222 mtag_t tag; in global_variable()
232 static int get_array_mtag_offset(struct expression *expr, mtag_t *tag, int *offset) in get_array_mtag_offset()
[all …]
H A Dsmatch_mtag_data.c39 static struct range_list *select_orig(mtag_t tag, int offset) in select_orig()
112 mtag_t ignored_mtag;
113 static bool is_ignored_tag(mtag_t tag) in is_ignored_tag()
120 static void insert_mtag_data(mtag_t tag, int offset, struct range_list *rl) in insert_mtag_data()
161 mtag_t tag; in update_mtag_data()
197 mtag_t tag; in match_global_assign()
263 mtag_t tag;
268 static int get_rl_from_mtag_offset(mtag_t tag, int offset, struct symbol *type, struct range_list *… in get_rl_from_mtag_offset()
271 mtag_t merged = tag | offset; in get_rl_from_mtag_offset()
316 mtag_t tag; in get_mtag_rl()
H A Dsmatch_param_to_mtag_data.c48 mtag_t tag;
53 static struct smatch_state *alloc_tag_data_state(mtag_t tag, char *name, int offset) in alloc_tag_data_state()
84 mtag_t tag; in match_assign()
110 static void propogate_assignment(struct expression *expr, mtag_t tag, int offset, int param, char *… in propogate_assignment()
135 static void assign_to_alias(struct expression *expr, int param, mtag_t tag, int offset, char *key) in assign_to_alias()
139 mtag_t arg_tag; in assign_to_alias()
140 mtag_t alias; in assign_to_alias()
167 mtag_t tag; in call_does_mtag_assign()
H A Dsmatch_strings.c36 static char *get_string_from_mtag(mtag_t tag) in get_string_from_mtag()
49 struct expression *fake_string_from_mtag(mtag_t tag) in fake_string_from_mtag()
131 mtag_t tag; in match_string()
H A Dsmatch.h47 typedef long long mtag_t; typedef
1015 void sql_insert_mtag_about(mtag_t tag, const char *left_name, const char *right_name);
1016 void sql_insert_mtag_info(mtag_t tag, int type, const char *value);
1017 void sql_insert_mtag_map(mtag_t container, int container_offset, mtag_t tag, int tag_offset);
1018 void sql_insert_mtag_alias(mtag_t orig, mtag_t alias);
1019 int mtag_map_select_container(mtag_t tag, int container_offset, mtag_t *container);
1020 int mtag_map_select_tag(mtag_t container, int offset, mtag_t *tag);
1247 struct expression *fake_string_from_mtag(mtag_t tag);
1284 mtag_t str_to_mtag(const char *str);
1285 int get_string_mtag(struct expression *expr, mtag_t *tag);
[all …]
H A Dsmatch_db.c395 void sql_insert_mtag_about(mtag_t tag, const char *left_name, const char *right_name) in sql_insert_mtag_about()
402 void sql_insert_mtag_info(mtag_t tag, int type, const char *value) in sql_insert_mtag_info()
407 void sql_insert_mtag_map(mtag_t container, int container_offset, mtag_t tag, int tag_offset) in sql_insert_mtag_map()
412 void sql_insert_mtag_alias(mtag_t orig, mtag_t alias) in sql_insert_mtag_alias()
419 mtag_t *saved_tag = _tag; in save_mtag()
420 mtag_t new_tag; in save_mtag()
432 int mtag_map_select_container(mtag_t tag, int container_offset, mtag_t *container) in mtag_map_select_container()
434 mtag_t tmp = 0; in mtag_map_select_container()
446 int mtag_map_select_tag(mtag_t container, int offset, mtag_t *tag) in mtag_map_select_tag()
448 mtag_t tmp = 0; in mtag_map_select_tag()
H A Dsmatch_mtag_map.c32 mtag_t right_tag, left_tag; in match_assign()
H A Dcheck_debug.c525 mtag_t tag = 0; in mtag_info()
679 mtag_t tag = 0; in match_mtag()
693 mtag_t tag = 0; in match_mtag_data_offset()
H A Dsmatch_container_of.c502 static struct stree *load_tag_info_sym(mtag_t tag, struct symbol *arg, int arg_offset, int star) in load_tag_info_sym()
551 mtag_t cur_tag, container_tag, arg_tag; in load_container_data()