Home
last modified time | relevance | path

Searched refs:get_argument_from_call_expr (Results 1 – 25 of 89) sorted by relevance

1234

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_debug.c124 arg = get_argument_from_call_expr(expr->args, 0); in match_print_known()
141 arg = get_argument_from_call_expr(expr->args, 0); in match_print_implied()
155 arg = get_argument_from_call_expr(expr->args, 0); in match_real_absolute()
169 arg = get_argument_from_call_expr(expr->args, 0); in match_print_implied_min()
186 arg = get_argument_from_call_expr(expr->args, 0); in match_print_implied_max()
207 arg = get_argument_from_call_expr(expr->args, 0); in match_user_rl()
223 arg = get_argument_from_call_expr(expr->args, 0); in match_capped()
235 arg = get_argument_from_call_expr(expr->args, 0); in match_print_hard_max()
252 arg = get_argument_from_call_expr(expr->args, 0); in match_print_fuzzy_max()
269 arg = get_argument_from_call_expr(expr->args, 0); in match_print_absolute()
[all …]
H A Dcheck_kernel.c34 arg = get_argument_from_call_expr(call->args, 0); in implied_err_cast_return()
131 arg = get_argument_from_call_expr(call_expr->args, 0); in match_not_err()
147 arg = get_argument_from_call_expr(call_expr->args, 0); in match_err()
212 size_arg = get_argument_from_call_expr(call->args, 1); in match_next_bit()
244 arg = get_argument_from_call_expr(call->args, 0); in match_fls()
358 dest = get_argument_from_call_expr(call->args, 0); in match__write_once_size()
363 data = get_argument_from_call_expr(call->args, 1); in match__write_once_size()
389 data = get_argument_from_call_expr(call->args, 0); in match__read_once_size()
394 dest = get_argument_from_call_expr(call->args, 1); in match__read_once_size()
418 cl = get_argument_from_call_expr(call->args, 0); in match_closure_call()
[all …]
H A Dsmatch_strlen.c81 str = get_argument_from_call_expr(right->args, 0); in match_strlen()
114 str = get_argument_from_call_expr(left->args, 0); in match_strlen_condition()
118 str = get_argument_from_call_expr(right->args, 0); in match_strlen_condition()
171 dest = get_argument_from_call_expr(expr->args, 0); in match_snprintf()
172 dest_size_expr = get_argument_from_call_expr(expr->args, 1); in match_snprintf()
191 dest = get_argument_from_call_expr(expr->args, 0); in match_strlcpycat()
192 src = get_argument_from_call_expr(expr->args, 1); in match_strlcpycat()
193 limit_expr = get_argument_from_call_expr(expr->args, 2); in match_strlcpycat()
213 dest = get_argument_from_call_expr(expr->args, 0); in match_strcpy()
214 src = get_argument_from_call_expr(expr->args, 1); in match_strcpy()
H A Dcheck_snprintf_overflow.c32 dest = get_argument_from_call_expr(expr->args, 0); in match_snprintf()
33 dest_size_expr = get_argument_from_call_expr(expr->args, 1); in match_snprintf()
34 format_string = get_argument_from_call_expr(expr->args, 2); in match_snprintf()
35 data = get_argument_from_call_expr(expr->args, 3); in match_snprintf()
H A Dcheck_sprintf_overflow.c30 dest = get_argument_from_call_expr(expr->args, 0); in match_sprintf()
31 format_string = get_argument_from_call_expr(expr->args, 1); in match_sprintf()
32 data = get_argument_from_call_expr(expr->args, 2); in match_sprintf()
H A Dcheck_platform_device_put.c34 arg_expr = get_argument_from_call_expr(call_expr->args, 0); in match_added()
43 arg_expr = get_argument_from_call_expr(call_expr->args, 0); in match_not_added()
52 arg_expr = get_argument_from_call_expr(expr->args, 0); in match_platform_device_del()
H A Dcheck_kunmap.c47 arg = get_argument_from_call_expr(expr->args, 0); in match_kmap_atomic()
56 arg = get_argument_from_call_expr(expr->args, 0); in match_kunmap_atomic()
70 arg = get_argument_from_call_expr(expr->args, 0); in match_kunmap()
H A Dcheck_err_ptr_deref.c105 arg = get_argument_from_call_expr(call_expr->args, 0); in match_checked()
117 arg = get_argument_from_call_expr(call_expr->args, 0); in match_err()
136 arg = get_argument_from_call_expr(expr->args, arg_nr); in match_kfree()
178 arg = get_argument_from_call_expr(expr->args, 0); in match_err_ptr_positive_const()
196 arg = get_argument_from_call_expr(expr->args, 0); in match_err_ptr()
H A Dsmatch_struct_assignment.c399 arg = get_argument_from_call_expr(call->args, param); in returns_container_of()
436 buf = get_argument_from_call_expr(expr->args, 0); in match_memset()
437 val = get_argument_from_call_expr(expr->args, 1); in match_memset()
448 dest = get_argument_from_call_expr(expr->args, 0); in match_memcpy()
449 src = get_argument_from_call_expr(expr->args, 1); in match_memcpy()
467 arg = get_argument_from_call_expr(right->args, 0); in match_memdup()
475 dest = get_argument_from_call_expr(expr->args, 0); in match_memcpy_unknown()
554 arg = get_argument_from_call_expr(expr->args, param); in db_param_cleared()
H A Dcheck_unwind.c63 arg_expr = get_argument_from_call_expr(expr->args, arg_no); in print_unwind_functions()
83 arg_expr = get_argument_from_call_expr(call_expr->args, arg_no); in request_granted()
99 arg_expr = get_argument_from_call_expr(call_expr->args, arg_no); in request_denied()
109 arg_expr = get_argument_from_call_expr(expr->args, arg_no); in match_release()
H A Dsmatch_constraints_required.c220 arg = get_argument_from_call_expr(call->args, size_arg); in match_alloc()
235 size = get_argument_from_call_expr(call->args, start_arg); in match_calloc()
238 count = get_argument_from_call_expr(call->args, start_arg + 1); in match_calloc()
240 size = get_argument_from_call_expr(call->args, start_arg + 1); in match_calloc()
243 count = get_argument_from_call_expr(call->args, start_arg); in match_calloc()
353 arg = get_argument_from_call_expr(right->args, size_arg); in match_assign_data()
357 arg = get_argument_from_call_expr(right->args, size_arg2); in match_assign_data()
H A Dcheck_strcpy_overflow.c29 dest = get_argument_from_call_expr(expr->args, 0); in match_strcpy()
30 data = get_argument_from_call_expr(expr->args, 1); in match_strcpy()
H A Dcheck_proc_create.c39 arg_expr = get_argument_from_call_expr(expr->args, param_index[idx].mode_param); in match_create()
44 arg_expr = get_argument_from_call_expr(expr->args, param_index[idx].name_param); in match_create()
H A Dcheck_input_free_device.c43 arg = get_argument_from_call_expr(expr->args, 0); in match_input_unregister()
52 arg = get_argument_from_call_expr(expr->args, 0); in match_input_free()
H A Dcheck_release_resource.c37 arg_expr = get_argument_from_call_expr(expr->args, arg_no); in match_request()
55 arg_expr = get_argument_from_call_expr(expr->args, arg_no); in match_release()
H A Dcheck_string_len.c124 arg = get_argument_from_call_expr(call->args, *arg_nr); in handle_format()
184 expr = get_argument_from_call_expr(call->args, arg); in get_formatted_string_size_helper()
227 dest = get_argument_from_call_expr(call->args, params->buf_or_limit); in match_not_limited()
H A Dcheck_info_leak.c55 dest = get_argument_from_call_expr(expr->args, 0); in match_strcpy()
71 src = get_argument_from_call_expr(expr->args, 1); in match_copy_to_user()
H A Dcheck_kmalloc_wrong_size.c58 arg = get_argument_from_call_expr(call->args, 0); in match_alloc()
79 arg = get_argument_from_call_expr(call->args, arg_nr); in match_calloc()
H A Dsmatch_common_functions.c27 str = get_argument_from_call_expr(call->args, 0); in match_strlen()
53 limit = get_argument_from_call_expr(call->args, 1); in match_strnlen()
H A Dcheck_dev_queue_xmit.c79 arg = get_argument_from_call_expr(expr->args, 0); in match_kfree_skb()
89 arg = get_argument_from_call_expr(expr->args, PTR_INT(param)); in match_xmit()
H A Dcheck_held_dev.c40 arg_expr = get_argument_from_call_expr(expr->args, 0); in match_dev_hold()
48 arg_expr = get_argument_from_call_expr(expr->args, 0); in match_dev_put()
H A Dcheck_capable.c32 arg = get_argument_from_call_expr(expr->args, 0); in match_capable()
48 arg = get_argument_from_call_expr(expr->args, 1); in match_ns_capable()
H A Dsmatch_assigned_expr.c124 arg = get_argument_from_call_expr(expr->args, param); in record_param_assignment()
125 right = get_argument_from_call_expr(expr->args, right_param); in record_param_assignment()
H A Dcheck_frees_param_strict.c70 arg = get_argument_from_call_expr(expr->args, PTR_INT(param)); in match_free()
100 arg = get_argument_from_call_expr(expr->args, param); in set_param_freed()
H A Dsmatch_strings.c65 dest = get_argument_from_call_expr(expr->args, 0); in match_strcpy()
66 src = get_argument_from_call_expr(expr->args, 1); in match_strcpy()

1234