/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_64bit_shift.c | 23 static void match_shift_mask(struct expression *expr) in match_shift_mask() 25 struct expression *right, *shifter; in match_shift_mask() 53 static void match_shift_assignment(struct expression *expr) in match_shift_assignment() 56 struct expression *right; in match_shift_assignment()
|
H A D | smatch_param_used.c | 46 static void set_param_used(struct expression *call, struct expression *arg, char *key, char *unused) in set_param_used() 99 static void match_save_states(struct expression *expr) in match_save_states() 105 static void match_restore_states(struct expression *expr) in match_restore_states()
|
H A D | linearize.c | 117 struct expression *expr; in show_pseudo() 920 struct expression *addr, in linearize_simple_address() 954 struct expression *expr, in linearize_address_gen() 1490 struct expression *arg, *fn; in linearize_call_expression() 1636 struct expression *cond, in linearize_short_conditional() 1663 struct expression *cond, in linearize_conditional() 1835 struct expression *expr; in linearize_initializer() 2056 struct expression *expr = stmt->expression; in linearize_context() 2109 struct expression *expr; in linearize_asm_statement() 2182 struct expression *expr = stmt->expression; in linearize_return() [all …]
|
H A D | smatch_bits.c | 114 static bool is_loop_iterator(struct expression *expr) in is_loop_iterator() 131 static bool handled_by_assign_hook(struct expression *expr) in handled_by_assign_hook() 148 static void match_modify(struct sm_state *sm, struct expression *mod_expr) in match_modify() 240 struct bit_info *get_bit_info(struct expression *expr) in get_bit_info() 304 static void match_compare(struct expression *expr) in match_compare() 322 static void match_assign(struct expression *expr) in match_assign() 349 static void match_condition(struct expression *expr) in match_condition() 378 static void match_call_info(struct expression *expr) in match_call_info() 381 struct expression *arg; in match_call_info() 406 static void struct_member_callback(struct expression *call, int param, char *printed_name, struct s… in struct_member_callback()
|
H A D | smatch_address.c | 22 static bool is_non_null_array(struct expression *expr) in is_non_null_array() 116 int get_member_offset_from_deref(struct expression *expr) in get_member_offset_from_deref() 214 static bool handle_fn_address(struct expression *expr, struct range_list **rl) in handle_fn_address() 232 int get_address_rl(struct expression *expr, struct range_list **rl) in get_address_rl() 234 struct expression *unop; in get_address_rl() 283 struct expression *array; in get_address_rl() 284 struct expression *offset_expr; in get_address_rl()
|
H A D | check_cast_assign.c | 24 static struct symbol *get_cast_type(struct expression *expr) in get_cast_type() 34 static void match_overflow(struct expression *expr) in match_overflow() 36 struct expression *ptr; in match_overflow()
|
H A D | check_get_user_overflow.c | 33 static void match_condition(struct expression *expr) in match_condition() 93 static void match_normal_assign(struct expression *expr) in match_normal_assign() 101 static void match_assign(struct expression *expr) in match_assign() 119 static void check_expr(struct expression *expr) in check_expr() 158 static void match_binop(struct expression *expr) in match_binop()
|
H A D | check_strcpy_overflow.c | 20 static void match_strcpy(const char *fn, struct expression *expr, void *unused) in match_strcpy() 22 struct expression *dest; in match_strcpy() 23 struct expression *data; in match_strcpy()
|
H A D | check_container_of.c | 30 static void is_ok(struct sm_state *sm, struct expression *mod_expr) in is_ok() 35 static void match_non_null(const char *fn, struct expression *expr, void *unused) in match_non_null() 40 static void match_condition(struct expression *expr) in match_condition()
|
H A D | smatch_imaginary_absolute.c | 49 static void reset(struct sm_state *sm, struct expression *mod_expr) in reset() 54 void __save_imaginary_state(struct expression *expr, struct range_list *true_rl, struct range_list … in __save_imaginary_state() 61 int get_imaginary_absolute(struct expression *expr, struct range_list **rl) in get_imaginary_absolute()
|
H A D | dissect.c | 61 *do_initializer(struct symbol *type, struct expression *expr), 62 *do_expression(usage_t mode, struct expression *expr), 159 static inline struct symbol *expr_symbol(struct expression *expr) in expr_symbol() 179 static struct symbol *report_symbol(usage_t mode, struct expression *expr) in report_symbol() 291 static struct expression *peek_preop(struct expression *expr, int op) in peek_preop() 307 static struct symbol *do_expression(usage_t mode, struct expression *expr) in do_expression() 385 struct expression *unop = expr->unop; in do_expression() 478 ret = do_expression(mode, stmt->expression); in do_statement() 481 do_expression(u_lval(return_type), stmt->expression); in do_statement() 529 static struct symbol *do_initializer(struct symbol *type, struct expression *expr) in do_initializer() [all …]
|
H A D | smatch_mtag_data.c | 72 static bool is_ignored_macro(struct expression *expr) in is_ignored_macro() 84 static bool is_head_next(struct expression *expr) in is_head_next() 146 static bool parent_is_fresh_alloc(struct expression *expr) in parent_is_fresh_alloc() 156 void update_mtag_data(struct expression *expr, struct smatch_state *state) in update_mtag_data() 194 static void match_global_assign(struct expression *expr) in match_global_assign() 313 int get_mtag_rl(struct expression *expr, struct range_list **rl) in get_mtag_rl()
|
H A D | check_err_ptr.c | 26 static void match_err_ptr(struct expression *expr) in match_err_ptr() 40 static void match_return(struct expression *ret_value) in match_return() 53 match_err_ptr((struct expression *)tmp->state->data); in match_return()
|
H A D | check_wine_filehandles.c | 47 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() 53 static void match_returns_handle(const char *fn, struct expression *expr, in match_returns_handle() 67 static void match_condition(struct expression *expr) in match_condition()
|
H A D | smatch_real_absolute.c | 39 void set_real_absolute(struct expression *expr, struct smatch_state *state) in set_real_absolute() 44 static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct sm… in extra_mod_hook() 98 static void match_assign(struct expression *expr) in match_assign() 130 struct smatch_state *get_real_absolute_state(struct expression *expr) in get_real_absolute_state()
|
H A D | check_template.c | 63 static void match_call(struct expression *expr) in match_call() 66 struct expression *sem_expr; in match_call() 85 static void match_return(struct expression *ret_value) in match_return()
|
H A D | check_freeing_devm.c | 24 static void match_assign(const char *fn, struct expression *expr, void *unused) in match_assign() 29 static void match_free_func(const char *fn, struct expression *expr, void *_arg) in match_free_func() 31 struct expression *arg_expr; in match_free_func()
|
H A D | check_macros.c | 22 static void match_inside(struct expression *expr, struct position pos) in match_inside() 39 static void match_one_side(struct expression *expr, struct position pos, int op) in match_one_side() 60 static void match_join(struct expression *expr) in match_join()
|
H A D | check_signed_integer_overflow_check.c | 29 static void match_condition(struct expression *expr) in match_condition() 31 struct expression *left, *right; in match_condition() 67 static void match_binop(struct expression *expr) in match_binop()
|
H A D | lib.h | 71 struct expression; 80 DECLARE_PTR_LIST(expression_list, struct expression); 113 extern void expression_error(struct expression *, const char *, ...) FORMAT_ATTR(2); 285 static inline struct expression *first_expression(struct expression_list *head) in first_expression() 320 static inline void add_expression(struct expression_list **list, struct expression *expr) in add_expression()
|
H A D | check_impossible_mask.c | 23 static unsigned long long find_possible_bits(struct expression *expr) 64 static unsigned long long get_possible_bits(struct expression *expr) in get_possible_bits() 79 static void match_condition(struct expression *expr) in match_condition()
|
H A D | smatch_param_limit.c | 133 static void print_return_value_param(int return_id, char *return_ranges, struct expression *expr) in print_return_value_param() 169 static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct sm… in extra_mod_hook() 182 static void match_save_states(struct expression *expr) in match_save_states() 188 static void match_restore_states(struct expression *expr) in match_restore_states()
|
H A D | evaluate.h | 4 struct expression; 14 struct symbol *evaluate_expression(struct expression *expr);
|
H A D | smatch_param_filter.c | 50 static void match_save_states(struct expression *expr) in match_save_states() 56 static void match_restore_states(struct expression *expr) in match_restore_states() 93 static void extra_mod_hook(const char *name, struct symbol *sym, struct expression *expr, struct sm… in extra_mod_hook() 159 static void print_return_value_param(int return_id, char *return_ranges, struct expression *expr) in print_return_value_param()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_grammar.y | 188 %type <l_node> expression 221 | DT_CTX_DEXPR expression { $$ = $2; } 332 | probe_specifiers DT_TOK_DIV expression DT_TOK_EPRED 361 | statement_list_impl expression { 371 | expression ';' { $$ = dt_node_statement($1); } 375 | DT_KEY_IF DT_TOK_LPAR expression DT_TOK_RPAR 395 | DT_TOK_LPAR expression DT_TOK_RPAR { $$ = $2; } 438 DT_TOK_LPAR expression DT_TOK_RPAR { 603 expression: assignment_expression 604 | expression DT_TOK_COMMA assignment_expression { [all …]
|