Home
last modified time | relevance | path

Searched refs:sval_to_str (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_min_t.c46 …sm_warning("min_t truncates here '%s' (%s vs %s)", name, sval_to_str(max_left), sval_to_str(max_ri… in match_assign()
H A Dcheck_snprintf_overflow.c42 sval_to_str(limit_size), dest_size); in match_snprintf()
54 data_name, data_size, sval_to_str(limit_size)); in match_snprintf()
H A Dcheck_capable.c35 snprintf(buf, sizeof(buf), "%s", sval_to_str(sval)); in match_capable()
51 snprintf(buf, sizeof(buf), "%s", sval_to_str(sval)); in match_ns_capable()
H A Dcheck_err_ptr_deref.c183 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 Dcheck_index_overflow.c319 name, array_size, sval_to_str(max)); in array_check()
322 name, array_size, sval_to_str(max), show_rl(user_rl), in array_check()
326 name, array_size, sval_to_str(max), in array_check()
H A Dcheck_signed.c79 sval_to_str(sval), left_name); in match_assign()
82 sval_to_str(sval), sval_to_str(min), left_name); in match_assign()
H A Dcheck_bit_shift.c131 sm_msg("info: bit shifter '%s' '%s'", name, sval_to_str(sval)); in match_binop_info()
149 sm_msg("info: bit shifter '%s' '%s'", name, sval_to_str(sval)); in match_call()
H A Dcheck_debug.c131 …sm_msg("known: '%s' = '%s'. implied = '%s'", name, known ? sval_to_str(sval) : "<unknown>", show_… in match_print_known()
173 sm_msg("implied min: %s = %s", name, sval_to_str(sval)); in match_print_implied_min()
190 sm_msg("implied max: %s = %s", name, sval_to_str(sval)); in match_print_implied_max()
239 sm_msg("hard max: %s = %s", name, sval_to_str(sval)); in match_print_hard_max()
256 sm_msg("fuzzy max: %s = %s", name, sval_to_str(sval)); in match_print_fuzzy_max()
288 sm_msg("absolute min: %s = %s", name, sval_to_str(sval)); in match_print_absolute_min()
305 sm_msg("absolute max: %s = %s", name, sval_to_str(sval)); in match_print_absolute_max()
H A Dcheck_return_cast.c45 sm_warning("signedness bug returning '%s'", sval_to_str(sval)); in match_return()
H A Dcheck_allocating_enough_data.c48 sm_error("not allocating enough for = '%s' %d vs %s", str, bytes, sval_to_str(sval)); in db_returns_buf_size()
H A Dcheck_assign_vs_compare.c28 sm_warning("was '== %s' instead of '='", sval_to_str(val)); in check_constant()
H A Dcheck_kmalloc_wrong_size.c45 …sm_warning("double check that we're allocating correct size: %d vs %s", data_size, sval_to_str(sva… in check_size_matches()
H A Dcheck_buffer_too_small_for_struct.c102 …truct %s'? %s", name, left_type->ident ? left_type->ident->name : "<anon>", sval_to_str(min_size)); in match_dereferences()
H A Dsmatch_sval.c788 const char *sval_to_str(sval_t sval) in sval_to_str() function
834 return sval_to_str(sval); in sval_to_str_or_err_ptr()
841 return sval_to_str(sval); in sval_to_str_or_err_ptr()
H A Dsmatch_parse_call_math.c394 ret = snprintf(cur, remaining, "%s", sval_to_str(sval)); in format_expr_helper()
521 ret = snprintf(out, buf + sizeof(buf) - out, "%s", sval_to_str(sval)); in swap_format()
H A Dcheck_memcpy_overflow.c274 sm_error("%s() '%s' too small (%d vs %s)", fn, dest_name, has, sval_to_str(needed)); in match_limited()
H A Dsmatch_ranges.c80 sval_to_str(prev_drange->min), in show_rl()
81 sval_to_str(sval_type_max(prev_drange->min.type))); in show_rl()
92 sval_to_str(tmp->min)); in show_rl()
95 sval_to_str(tmp->min), in show_rl()
96 sval_to_str(tmp->max)); in show_rl()
H A Dsmatch_extra.c2475 sval_to_str(estate_max(sm->state))); in struct_member_callback()
2478 sval_to_str(estate_get_fuzzy_max(sm->state))); in struct_member_callback()
2791 sval_to_str(estate_max(state))); in match_call_info()
2795 sval_to_str(estate_get_fuzzy_max(state))); in match_call_info()
H A Dsmatch_helper.c349 snprintf(tmp, 25, "%s", sval_to_str(sval)); in __get_variable_from_expr()
H A Dsmatch.h1183 const char *sval_to_str(sval_t sval);