Home
last modified time | relevance | path

Searched refs:mod_expr (Results 1 – 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_modification_hooks.c111 …_modification_hooks_name_sym(char *name, struct symbol *sym, struct expression *mod_expr, int late) in call_modification_hooks_name_sym() argument
120 set_state(my_id, name, sym, alloc_my_state(mod_expr, prev)); in call_modification_hooks_name_sym()
131 (hooks[sm->owner])(sm, mod_expr); in call_modification_hooks_name_sym()
135 (hooks_late[sm->owner])(sm, mod_expr); in call_modification_hooks_name_sym()
141 static void call_modification_hooks(struct expression *expr, struct expression *mod_expr, int late) in call_modification_hooks() argument
149 call_modification_hooks_name_sym(name, sym, mod_expr, late); in call_modification_hooks()
H A Dsmatch_comparison.c824 if (!mod_expr) in match_inc_dec()
828 if (mod_expr->type != EXPR_PREOP && mod_expr->type != EXPR_POSTOP) in match_inc_dec()
831 if (mod_expr->op == SPECIAL_INCREMENT) in match_inc_dec()
846 if (mod_expr && is_self_assign(mod_expr)) in match_modify()
850 if (mod_expr && in match_modify()
851 ((mod_expr->type == EXPR_PREOP || mod_expr->type == EXPR_POSTOP) && in match_modify()
852 (mod_expr->op == SPECIAL_INCREMENT || mod_expr->op == SPECIAL_DECREMENT))) in match_modify()
854 if (mod_expr && mod_expr->type == EXPR_ASSIGNMENT && in match_modify()
855 (mod_expr->op == SPECIAL_ADD_ASSIGN || mod_expr->op == SPECIAL_SUB_ASSIGN)) in match_modify()
1140 !mod_expr || in iter_modify()
[all …]
H A Dsmatch_assigned_expr.c33 static void undef(struct sm_state *sm, struct expression *mod_expr) in undef() argument
35 if (mod_expr == skip_mod) in undef()
H A Dcheck_container_of.c30 static void is_ok(struct sm_state *sm, struct expression *mod_expr) in is_ok() argument
H A Dsmatch_imaginary_absolute.c49 static void reset(struct sm_state *sm, struct expression *mod_expr) in reset() argument
H A Dcheck_wine_filehandles.c47 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() argument
H A Dcheck_dma_mapping_error.c27 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() argument
H A Dcheck_frees_param.c33 static void set_ignore(struct sm_state *sm, struct expression *mod_expr) in set_ignore() argument
H A Dcheck_deref_check.c25 static void underef(struct sm_state *sm, struct expression *mod_expr) in underef() argument
H A Dcheck_expects_err_ptr.c26 static void set_ok(struct sm_state *sm, struct expression *mod_expr) in set_ok() argument
H A Dcheck_snprintf.c24 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() argument
H A Dcheck_testing_index_after_use.c33 static void delete(struct sm_state *sm, struct expression *mod_expr) in delete() argument
H A Dsmatch_strlen.c51 static void set_strlen_undefined(struct sm_state *sm, struct expression *mod_expr) in set_strlen_undefined() argument
56 static void set_strlen_equiv_undefined(struct sm_state *sm, struct expression *mod_expr) in set_strlen_equiv_undefined() argument
H A Dcheck_return_efault.c33 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() argument
H A Dsmatch_links.c87 static void match_link_modify(struct sm_state *sm, struct expression *mod_expr) in match_link_modify() argument
H A Dcheck_dereferences_param.c34 static void set_ignore(struct sm_state *sm, struct expression *mod_expr) in set_ignore() argument
H A Dcheck_dev_queue_xmit.c31 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() argument
H A Dcheck_pointer_math.c24 static void set_undefined(struct sm_state *sm, struct expression *mod_expr) in set_undefined() argument
H A Dcheck_frees_param_strict.c42 static void set_ignore(struct sm_state *sm, struct expression *mod_expr) in set_ignore() argument
H A Dcheck_check_deref.c43 static void is_ok(struct sm_state *sm, struct expression *mod_expr) in is_ok() argument
H A Dsmatch_bits.c148 static void match_modify(struct sm_state *sm, struct expression *mod_expr) in match_modify() argument
152 if (handled_by_assign_hook(mod_expr)) in match_modify()
H A Dcheck_double_checking.c35 static void set_modified(struct sm_state *sm, struct expression *mod_expr) in set_modified() argument
H A Dsmatch_return_to_param.c44 static void undef(struct sm_state *sm, struct expression *mod_expr) in undef() argument
H A Dcheck_free.c33 static void ok_to_use(struct sm_state *sm, struct expression *mod_expr) in ok_to_use() argument
H A Dcheck_deref.c59 static void is_ok(struct sm_state *sm, struct expression *mod_expr) in is_ok() argument

12