Lines Matching refs:rl
22 static int match_strlen(struct expression *call, void *unused, struct range_list **rl) in match_strlen() argument
28 if (get_implied_strlen(str, rl) && sval_is_positive(rl_min(*rl))) { in match_strlen()
29 *rl = cast_rl(&ulong_ctype, *rl); in match_strlen()
35 *rl = alloc_rl(sval_type_val(&ulong_ctype, 0), in match_strlen()
39 *rl = alloc_rl(sval_type_val(&ulong_ctype, 0), in match_strlen()
45 static int match_strnlen(struct expression *call, void *unused, struct range_list **rl) in match_strnlen() argument
52 match_strlen(call, NULL, rl); in match_strnlen()
58 if (rl_to_sval(*rl, &fixed) && sval_cmp(fixed, bound) >= 0) { in match_strnlen()
59 *rl = alloc_rl(bound, bound); in match_strnlen()
64 *rl = remove_range(*rl, bound, ulong_max); in match_strnlen()
69 static int match_sprintf(struct expression *call, void *_arg, struct range_list **rl) in match_sprintf() argument
77 *rl = alloc_whole_rl(&ulong_ctype); in match_sprintf()
79 *rl = alloc_rl(ll_to_sval(min), ll_to_sval(max)); in match_sprintf()
80 *rl = cast_rl(get_type(call), *rl); in match_sprintf()