/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_kernel_printf.c | 384 sm_error("passing __user pointer to '%%p%c4'", fmt[0]); in ip4() 420 sm_error("passing __user pointer to '%%p%c6'", fmt[0]); in ip6() 448 sm_error("'%%p%cS' expects argument of type struct sockaddr *, " in ipS() 462 sm_error("passing __user pointer to %%ph"); in hex_string() 473 sm_error("passing __user pointer to %%pE"); in escaped_string() 480 sm_error("'%%p%c' expects argument of type struct resource *, " in resource_string() 504 sm_error("passing __user pointer to '%%p%c'", fmt[0]); in mac_address_string() 522 sm_error("'%%p%c' expects argument of type struct '%s*', argument %d has type '%s'", in dentry_file() 531 sm_error("'%%ptR' expects argument of type struct 'rtc_time', argument %d has type '%s'", in time_and_date() 545 sm_error("'%%pC' expects argument of type 'struct clk*', argument %d has type '%s'", in check_clock() [all …]
|
H A D | check_deref.c | 90 sm_error("potential NULL dereference '%s'.", tmp->name); in check_dereference() 95 sm_error("potentially dereferencing uninitialized '%s'.", tmp->name); in check_dereference() 98 sm_error("potential null dereference '%s'. (%s returns null)", in check_dereference() 127 sm_error("potential NULL dereference '%s'.", tmp->name); in check_dereference_name_sym() 132 sm_error("potentially dereferencing uninitialized '%s'.", tmp->name); in check_dereference_name_sym() 135 sm_error("potential null dereference '%s'. (%s returns null)", in check_dereference_name_sym()
|
H A D | check_all_func_returns.c | 33 sm_error("unknown type for func '%s'", func); in check_func_return() 38 sm_error("func '%s' is not a call site", func); in check_func_return() 78 sm_error("unchecked function return '%s'", expr_to_str(expr->fn)); in check_func_return()
|
H A D | check_err_ptr_deref.c | 61 sm_error("'%s' dereferencing possible ERR_PTR()", sm->name); in check_is_err_ptr() 93 sm_error("'%s' dereferencing possible ERR_PTR()", sm->name); in set_param_dereferenced() 183 sm_error("passing non negative %s to ERR_PTR", sval_to_str(sval)); in match_err_ptr_positive_const() 209 sm_error("%s too low for ERR_PTR", sval_to_str(min)); in match_err_ptr() 211 sm_error("passing non negative %s to ERR_PTR", sval_to_str(max)); in match_err_ptr()
|
H A D | check_type.c | 47 sm_error("use kfree_skb() here instead of kfree(%s)", name); in match_free() 53 sm_error("use free_netdev() here instead of kfree(%s)", name); in match_free()
|
H A D | check_snprintf_overflow.c | 41 sm_error("snprintf() is printing too much %s vs %d", in match_snprintf() 53 sm_error("snprintf() chops off the last chars of '%s': %d vs %s", in match_snprintf()
|
H A D | check_dma_on_stack.c | 36 sm_error("doing dma on the stack (%s)", name); in match_dma_func() 48 sm_error("doing dma on the stack (%s)", name); in match_dma_func()
|
H A D | check_free.c | 95 sm_error("dereferencing freed memory '%s'", name); in match_dereferences() 179 sm_error("double free of '%s'", name); in match_call() 220 sm_error("double free of '%s'", name); in match_free()
|
H A D | check_check_deref.c | 72 sm_error("we previously assumed '%s' could be null (see line %d)", in check_dereference() 99 sm_error("we previously assumed '%s' could be null (see line %d)", in check_dereference_name_sym()
|
H A D | check_index_overflow.c | 318 sm_error("buffer overflow '%s' %d <= %s (assuming for loop doesn't break)", in array_check() 321 sm_error("buffer overflow '%s' %d <= %s user_rl='%s'%s", in array_check() 325 sm_error("buffer overflow '%s' %d <= %s%s", in array_check()
|
H A D | check_free_strict.c | 111 sm_error("dereferencing freed memory '%s'", name); in match_dereferences() 195 sm_error("double free of '%s'", name); in match_call() 234 sm_error("double free of '%s'", name); in match_free()
|
H A D | check_uninitialized.c | 163 sm_error("potentially dereferencing uninitialized '%s'.", name); in match_dereferences() 183 sm_error("potentially using uninitialized '%s'.", name); in match_condition() 316 sm_error("uninitialized symbol '%s'.", name); in match_symbol()
|
H A D | check_debug.c | 56 sm_error("the check_name argument to %s is supposed to be a string literal", fn); in match_state() 61 sm_error("the state_name argument to %s is supposed to be a string literal", fn); in match_state() 84 sm_error("the check_name argument to %s is supposed to be a string literal", fn); in match_states() 105 sm_error("the argument to %s is supposed to be a string literal", fn); in match_print_value() 360 sm_error("the argument to %s is supposed to be a string literal", fn); in match_possible() 424 sm_error("the argument to %s is supposed to be a string literal", fn); in match_note()
|
H A D | check_bogus_irqrestore.c | 30 sm_error("calling '%s()' with bogus flags", fn); in match_irqrestore()
|
H A D | check_wait_for_common.c | 29 sm_error("'%s()' returns negative and '%s' is unsigned", fn, name); in match_wait_for_common()
|
H A D | check_gfp_dma.c | 41 sm_error("no modifiers for allocation."); in match_alloc()
|
H A D | check_memset.c | 32 sm_error("calling memset(x, y, 0);"); in check_size_not_zero()
|
H A D | check_allocating_enough_data.c | 48 sm_error("not allocating enough for = '%s' %d vs %s", str, bytes, sval_to_str(sval)); in db_returns_buf_size()
|
H A D | check_sprintf_overflow.c | 47 sm_error("sprintf() copies too much data from '%s': %d vs %d", in match_sprintf()
|
H A D | check_strcpy_overflow.c | 49 sm_error("%s() '%s' too large for '%s' (%d vs %d)", in match_strcpy()
|
H A D | check_input_free_device.c | 58 sm_error("don't call input_free_device() after input_unregister_device()"); in match_input_free()
|
H A D | check_wine_filehandles.c | 76 sm_error("comparing a filehandle against zero '%s'", name); in match_condition()
|
H A D | check_testing_index_after_use.c | 102 sm_error("testing array offset '%s' after use.", name); in match_condition()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | ferror.c | 40 return sm_error(fp);
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | io.h | 374 #define sm_error(p) (((p)->f_flags & SMERR) != 0) macro 378 #define sm_io_error(p) sm_error(p)
|