Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c btf_check_func_arg_match() -> process_dynptr_func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state->frame | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->func_info | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->func_info_aux | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg->type | 0-1048592,2097168,4718608,6815760 |
| PARAM_VALUE | 3 | insn_idx | (-1) |
| PARAM_VALUE | 4 | arg_type | 23 |
| PARAM_VALUE | 5 | ref_obj | 8657273872954552320 |
| PARAM_VALUE | 5 | ref_obj->cnt | 0 |
| PARAM_VALUE | 5 | ref_obj->id | 0 |
| PARAM_VALUE | 6 | dynptr | 0 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
| DATA_SOURCE | 2 | argno | r argno_from_arg |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c check_func_arg() -> process_dynptr_func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->get_func_proto | 1-u64max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg->type | 0-1048592,2097168,4718608,6815760 |
| PARAM_VALUE | 4 | arg_type | 1-8,10-u32max |
| PARAM_VALUE | 5 | ref_obj | 4384626442260283460 |
| PARAM_VALUE | 5 | ref_obj->cnt | 0-1 |
| PARAM_VALUE | 6 | dynptr | 4384626442260283448 |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r reg_state |
| DATA_SOURCE | 2 | argno | r argno_from_reg |
| DATA_SOURCE | 3 | insn_idx | $3 |
| MEM_ZERO | 5 | ref_obj | |
| MEM_ZERO | 6 | dynptr |
kernel/bpf/verifier.c check_kfunc_args() -> process_dynptr_func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->kfunc_tab | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg->type | 1,256-1048592,2097168,4718608,6815760 |
| PARAM_VALUE | 4 | arg_type | 23,32791,98327,163863,8388631,8421399,16777239,16810007,134217751,134250519,268435479,268443671,268468247,268476439 |
| PARAM_VALUE | 5 | ref_obj | 5112478544311124036 |
| PARAM_VALUE | 6 | dynptr | 5112478544311124024 |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
| DATA_SOURCE | 2 | argno | r argno_from_arg |
| DATA_SOURCE | 3 | insn_idx | $2 |
| FUZZY_MAX | 4 | arg_type | 23 |
| BIT_INFO | 4 | arg_type | 0x17,0x1fffffff |
| MEM_ZERO | 5 | ref_obj | |
| MEM_ZERO | 6 | dynptr |