/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_capped.c | 51 static int is_capped_macro(struct expression *expr) in is_capped_macro() 69 int is_capped(struct expression *expr) in is_capped() 143 static void match_condition(struct expression *expr) in match_condition() 199 static void match_assign(struct expression *expr) in match_assign() 219 static void match_caller_info(struct expression *expr) in match_caller_info() 249 static void print_return_implies_capped(int return_id, char *return_ranges, struct expression *expr) in print_return_implies_capped() 321 static void db_return_states_capped(struct expression *expr, int param, char *key, char *value) in db_return_states_capped()
|
H A D | check_spectre_second_half.c | 31 void set_spectre_first_half(struct expression *expr) in set_spectre_first_half() 52 static struct smatch_state *get_spectre_first_half(struct expression *expr) in get_spectre_first_half() 64 static void match_assign(struct expression *expr) in match_assign() 84 static void match_done(struct expression *expr) in match_done()
|
H A D | smatch_buf_comparison.c | 61 struct expression *expr; in match_link_modify() local 128 static int bytes_per_element(struct expression *expr) in bytes_per_element() 265 static void array_check(struct expression *expr) in array_check() 367 int buf_comparison_index_ok(struct expression *expr) in buf_comparison_index_ok() 396 static int known_access_ok_numbers(struct expression *expr) in known_access_ok_numbers() 416 static void array_check_data_info(struct expression *expr) in array_check_data_info() 476 static int is_sizeof(struct expression *expr) in is_sizeof() 690 static void set_used(struct expression *expr) in set_used() 723 static int match_assign_array(struct expression *expr) in match_assign_array() 729 static int match_assign_size(struct expression *expr) in match_assign_size() [all …]
|
H A D | smatch_expression_stacks.c | 21 void push_expression(struct expression_list **estack, struct expression *expr) in push_expression() 28 struct expression *expr; in pop_expression() local 37 struct expression *expr; in top_expression() local
|
H A D | check_logical_instead_of_bitwise.c | 23 static int is_bitshift(struct expression *expr) in is_bitshift() 34 static void match_logic(struct expression *expr) in match_logic() 55 static void match_assign(struct expression *expr) in match_assign()
|
H A D | check_nospec.c | 40 bool is_nospec(struct expression *expr) in is_nospec() 56 static void nospec_assign(struct expression *expr) in nospec_assign() 76 static void match_call_info(struct expression *expr) in match_call_info() 97 static void returned_struct_members(int return_id, char *return_ranges, struct expression *expr) in returned_struct_members() 144 static void db_returns_nospec(struct expression *expr, int param, char *key, char *value) in db_returns_nospec() 238 static void db_returns_barrier(struct expression *expr, int param, char *key, char *value) in db_returns_barrier() 243 static void select_return_stmt_cnt(struct expression *expr, int param, char *key, char *value) in select_return_stmt_cnt()
|
H A D | check_unused_ret.c | 76 static char *get_fn_name(struct expression *expr) in get_fn_name() 85 static int ignored_function(struct expression *expr) in ignored_function() 99 static void match_assign_call(struct expression *expr) in match_assign_call() 132 static void match_assign(struct expression *expr) in match_assign() 165 static void match_symbol(struct expression *expr) in match_symbol()
|
H A D | check_info_leak.c | 26 static char *my_get_variable(struct expression *expr, struct symbol **sym) in my_get_variable() 38 static void match_kmalloc(const char *fn, struct expression *expr, void *unused) in match_kmalloc() 49 static void match_strcpy(const char *fn, struct expression *expr, void *unused) in match_strcpy() 64 static void match_copy_to_user(const char *fn, struct expression *expr, void *unused) in match_copy_to_user()
|
H A D | check_assign_vs_compare.c | 22 static void check_constant(struct expression *expr) in check_constant() 31 static void check_address(struct expression *expr) in check_address() 51 static void match_condition(struct expression *expr) in match_condition()
|
H A D | check_check_deref.c | 48 static void check_dereference(struct expression *expr) in check_dereference() 107 static void match_dereferences(struct expression *expr) in match_dereferences() 114 static void match_pointer_as_array(struct expression *expr) in match_pointer_as_array() 135 static void match_condition(struct expression *expr) in match_condition()
|
H A D | check_index_overflow.c | 47 static int fake_get_hard_max(struct expression *expr, sval_t *sval) in fake_get_hard_max() 69 static int get_the_max(struct expression *expr, sval_t *sval) in get_the_max() 163 static int is_subtract(struct expression *expr) in is_subtract() 205 static int should_warn(struct expression *expr) in should_warn() 262 static void array_check(struct expression *expr) in array_check() 338 static void match_condition(struct expression *expr) in match_condition()
|
H A D | check_memset.c | 22 static void check_size_not_zero(struct expression *expr) in check_size_not_zero() 35 static void check_size_not_ARRAY_SIZE(struct expression *expr) in check_size_not_ARRAY_SIZE() 44 static void match_memset(const char *fn, struct expression *expr, void *data) in match_memset()
|
H A D | smatch_container_of.c | 25 int get_param_from_container_of(struct expression *expr) in get_param_from_container_of() 56 int get_offset_from_container_of(struct expression *expr) in get_offset_from_container_of() 82 static void print_returns_container_of(int return_id, char *return_ranges, struct expression *expr) in print_returns_container_of() 104 static int get_deref_count(struct expression *expr) in get_deref_count() 119 static struct expression *get_partial_deref(struct expression *expr, int cnt) in get_partial_deref() 131 static int partial_deref_to_offset_str(struct expression *expr, int cnt, char op, char *buf, int si… in partial_deref_to_offset_str() 154 static char *get_shared_str(struct expression *expr, struct expression *container) in get_shared_str() 192 struct expression *expr) in get_stored_container_name() 218 static char *get_container_name_helper(struct expression *container, struct expression *expr) in get_container_name_helper() 262 char *get_container_name(struct expression *container, struct expression *expr) in get_container_name() [all …]
|
H A D | smatch_parse_call_math.c | 268 static int get_arg_number(struct expression *expr) in get_arg_number() 325 static int format_variable_helper(char *buf, int remaining, struct expression *expr) in format_variable_helper() 336 static int format_call_to_param_mapping(char *buf, int remaining, struct expression *expr) in format_call_to_param_mapping() 357 static int format_expr_helper(char *buf, int remaining, struct expression *expr) in format_expr_helper() 407 static char *format_expr(struct expression *expr) in format_expr() 419 char *get_value_in_terms_of_parameter_math(struct expression *expr) in get_value_in_terms_of_parameter_math() 444 struct expression *tmp, *expr; in get_value_in_terms_of_parameter_math_var_sym() local 470 static void match_alloc(const char *fn, struct expression *expr, void *_size_arg) in match_alloc() 552 static char *get_allocation_recipe_from_call(struct expression *expr) in get_allocation_recipe_from_call() 597 static void match_call_assignment(struct expression *expr) in match_call_assignment() [all …]
|
H A D | smatch_function_hooks.c | 195 const char *fn, struct expression *expr) in call_call_backs() 356 struct expression *expr; member 477 struct expression *expr = db_info->expr->left; in set_fresh_mtag_returns() local 497 struct expression *expr = db_info->expr->left; in set_return_assign_state() local 513 struct expression *expr = db_info->var_expr; in set_other_side_state() local 881 struct expression *expr; in call_ranged_return_hooks() local 1038 static void match_assign_call(struct expression *expr) in match_assign_call() 1175 static void db_return_states(struct expression *expr) in db_return_states() 1209 static int is_condition_call(struct expression *expr) in is_condition_call() 1235 static void match_function_call(struct expression *expr) in match_function_call() [all …]
|
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_input_free_device.c | 32 static void match_assign(struct expression *expr) in match_assign() 39 static void match_input_unregister(const char *fn, struct expression *expr, void *data) in match_input_unregister() 47 static void match_input_free(const char *fn, struct expression *expr, void *data) in match_input_free()
|
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_bogus_loop.c | 23 static int right_side_changes(struct expression *expr) in right_side_changes() 34 struct expression *expr; in get_iterator_set() local 50 static struct expression *get_iterator_tested(struct expression *expr) in get_iterator_tested()
|
H A D | check_shift_to_zero.c | 22 static void match_binop(struct expression *expr) in match_binop() 43 static void match_binop2(struct expression *expr) in match_binop2() 70 static void match_assign(struct expression *expr) in match_assign()
|
H A D | check_missing_break.c | 50 static struct smatch_state *alloc_my_state(struct expression *expr) in alloc_my_state() 67 static void print_missing_break(struct expression *expr) in print_missing_break() 80 static void match_assign(struct expression *expr) in match_assign() 96 static void match_symbol(struct expression *expr) in match_symbol()
|
H A D | check_sizeof.c | 22 static void check_pointer(struct expression *expr, char *ptr_name) in check_pointer() 42 static void match_call_assignment(struct expression *expr) in match_call_assignment() 98 static void check_sizeof_number(struct expression *expr) in check_sizeof_number() 113 static void match_sizeof(struct expression *expr) in match_sizeof()
|
H A D | smatch_strings.c | 61 static void match_strcpy(const char *fn, struct expression *expr, void *unused) in match_strcpy() 72 struct state_list *get_strings(struct expression *expr) in get_strings() 110 static void match_assignment(struct expression *expr) in match_assignment() 129 static void match_string(struct expression *expr) in match_string()
|
H A D | check_macro_side_effects.c | 28 static struct smatch_state *alloc_my_state(struct expression *expr) in alloc_my_state() 45 static int defined_inside_macro(struct position macro_pos, struct expression *expr) in defined_inside_macro() 63 static int affected_inside_macro_before(struct expression *expr) in affected_inside_macro_before() 96 struct expression *expr; in match_unop() local
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | plural_parser.h | 73 struct expr { struct 77 struct expr *nodes[3]; /* operands */ argument
|