/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_debug.c | 132 free_string(name); in match_print_known() 146 free_string(name); in match_print_implied() 160 free_string(name); in match_real_absolute() 177 free_string(name); in match_print_implied_min() 194 free_string(name); in match_print_implied_max() 215 free_string(name); in match_user_rl() 226 free_string(name); in match_capped() 243 free_string(name); in match_print_hard_max() 260 free_string(name); in match_print_fuzzy_max() 275 free_string(name); in match_print_absolute() [all …]
|
H A D | check_free.c | 75 free_string(name); in match_symbol() 97 free_string(name); in match_dereferences() 151 free_string(name); in is_free_func() 183 free_string(name); in match_call() 204 free_string(name); in match_return() 221 free_string(name); in match_free() 237 free_string(name); in set_param_freed() 278 free_string(var); in parent_is_free()
|
H A D | check_signed.c | 64 free_string(left_name); in match_assign() 84 free_string(left_name); in match_assign() 131 free_string(name1); in cap_gt_zero_and_lt() 132 free_string(name2); in cap_gt_zero_and_lt() 179 free_string(name1); in cap_lt_zero_or_gt() 180 free_string(name2); in cap_lt_zero_or_gt() 226 free_string(name); in print_unsigned_never_less_than_zero() 292 free_string(name); in match_condition() 301 free_string(name); in match_condition()
|
H A D | check_free_strict.c | 92 free_string(name); in match_symbol() 113 free_string(name); in match_dereferences() 167 free_string(name); in is_free_func() 199 free_string(name); in match_call() 218 free_string(name); in match_return() 235 free_string(name); in match_free() 269 free_string(name); in set_param_freed() 307 free_string(var); in parent_is_free_strict() 328 free_string(name); in match_untracked()
|
H A D | check_off_by_one_relative.c | 56 free_string(array_str); in array_check() 57 free_string(offset_str); in array_check() 127 free_string(array_name); in array_check_data_info() 132 free_string(offset_name); in array_check_data_info()
|
H A D | smatch_constraints_required.c | 92 free_string(limit); in save_constraint_required() 94 free_string(data); in save_constraint_required() 159 free_string(limit); in handle_zero_size_arrays() 276 free_string(limit); in match_assign_size() 278 free_string(data); in match_assign_size() 392 free_string(data); in match_assign_ARRAY_SIZE() 393 free_string(limit); in match_assign_ARRAY_SIZE() 453 free_string(right); in match_assign_constraint() 454 free_string(left); in match_assign_constraint()
|
H A D | check_leaks.c | 75 free_string(name); in get_parent_from_expr() 96 free_string(name); in is_local() 117 free_string(name); in is_param() 178 free_string(name); in set_parent() 207 free_string(name); in warn_if_allocated()
|
H A D | check_sizeof.c | 39 free_string(name); in check_pointer() 59 free_string(ptr_name); in match_call_assignment() 73 free_string(ptr_name); in check_passes_pointer() 93 free_string(name); in match_check_params()
|
H A D | smatch_stored_conditions.c | 64 free_string(name); in alloc_link_state() 136 free_string(name); in match_link_modify() 182 free_string(var); in store_all_links() 211 free_string(name); in __stored_condition() 224 free_string(name); in get_stored_condition() 296 free_string(name); in stored_condition_implication_hook()
|
H A D | smatch_type_val.c | 112 free_string(member); in get_db_type_rl() 117 free_string(db_vals); in get_db_type_rl() 257 free_string(name); in is_driver_data() 511 free_string(right_member); in match_assign_value() 512 free_string(member); in match_assign_value() 537 free_string(member); in match_assign_pointer() 555 free_string(member); in match_global_assign() 572 free_string(member); in unop_expr() 587 free_string(member); in asm_expr() 633 free_string(member); in db_param_add()
|
H A D | check_signed_integer_overflow_check.c | 62 free_string(left_name); in match_condition() 63 free_string(right_name); in match_condition() 96 free_string(str); in match_binop()
|
H A D | smatch_function_ptrs.c | 128 free_string(name); in get_array_ptr() 176 free_string(name); in get_returned_ptr() 227 free_string(name); in get_fnptr_name() 269 free_string(fn_name); in match_passes_function_pointer() 270 free_string(called_name); in match_passes_function_pointer() 365 free_string(fn_name); in match_function_assign() 366 free_string(ptr_name); in match_function_assign()
|
H A D | smatch_param_compare_limit.c | 149 free_string(left_name); in __compare_param_limit_hook() 156 free_string(right_name); in __compare_param_limit_hook() 170 free_string(left_name); in __compare_param_limit_hook() 171 free_string(right_name); in __compare_param_limit_hook() 352 free_string(left_name); in db_return_comparison() 353 free_string(right_name); in db_return_comparison()
|
H A D | smatch_data_source.c | 64 free_string(name); in get_source_parameter() 88 free_string(name); in get_source_assignment() 115 free_string(source); in match_caller_info()
|
H A D | check_spectre_second_half.c | 38 free_string(name); in set_spectre_first_half() 59 free_string(name); in get_spectre_first_half() 101 free_string(name); in match_done()
|
H A D | smatch_helper.c | 55 void free_string(char *str) in free_string() function 118 free_string(name); in alloc_state_expr() 495 free_string(name); in expr_to_sym() 555 free_string(left); in reorder_expr_alphabetically() 556 free_string(right); in reorder_expr_alphabetically() 585 free_string(name); in expr_to_chunk_helper() 948 free_string(full); in get_member_name() 953 free_string(full); in get_member_name() 954 free_string(outer); in get_member_name() 962 free_string(outer); in get_member_name() [all …]
|
H A D | check_index_overflow.c | 159 free_string(name); in common_false_positives() 196 free_string(unmet); in constraint_met() 197 free_string(required); in constraint_met() 200 free_string(data_str); in constraint_met() 330 free_string(name); in array_check()
|
H A D | check_macro_side_effects.c | 40 free_string(name); in alloc_my_state() 59 free_string(name); in defined_inside_macro() 126 free_string(name); in match_unop()
|
H A D | smatch_assigned_expr.c | 98 free_string(left_name); in match_assignment() 99 free_string(right_name); in match_assignment() 135 free_string(name); in record_param_assignment()
|
H A D | smatch_comparison.c | 946 free_string(name); in get_state_chunk() 974 free_string(var); in save_link() 1178 free_string(iter_name); in handle_for_loops() 1179 free_string(cap_name); in handle_for_loops() 1186 free_string(iter_name); in handle_for_loops() 1187 free_string(cap_name); in handle_for_loops() 1356 free_string(left); in handle_comparison() 1357 free_string(right); in handle_comparison() 1503 free_string(left_name); in add_comparison() 1504 free_string(right_name); in add_comparison() [all …]
|
H A D | check_uninitialized.c | 164 free_string(name); in match_dereferences() 184 free_string(name); in match_condition() 206 free_string(name); in match_call() 270 free_string(arg_name); in match_call_struct_members() 317 free_string(name); in match_symbol()
|
H A D | check_sprintf_overflow.c | 50 free_string(data_name); in match_sprintf() 51 free_string(format); in match_sprintf()
|
H A D | check_strcpy_overflow.c | 55 free_string(dest_name); in match_strcpy() 56 free_string(data_name); in match_strcpy()
|
H A D | smatch_constraints.c | 170 free_string(name); in get_func_constraint() 327 free_string(con_str); in unmet_constraint() 331 free_string(required); in unmet_constraint() 338 free_string(data_str); in unmet_constraint() 369 free_string(constraint); in handle_comparison() 512 free_string(name); in db_returns_constrained()
|
H A D | smatch_modification_hooks.c | 62 free_string(name); in alloc_my_state() 151 free_string(name); in call_modification_hooks() 182 free_string(other_name); in db_param_add() 186 free_string(name); in db_param_add()
|