Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_func_arg_reg_off() -> __check_func_arg_reg_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 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 | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 3 | arg_type | 0-8,10-u32max |
| PARAM_VALUE | 4 | btf_id_fixed_off_ok | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | argno | $2 |
| DATA_SOURCE | 3 | arg_type | $3 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c check_kfunc_args() -> __check_func_arg_reg_off()
| 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_str_buf | 0-255 |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg->type | 1,256-u32max |
| PARAM_VALUE | 3 | arg_type | 0,8,13,23,8192,8200,8205,8215 |
| 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 |
| FUZZY_MAX | 3 | arg_type | 23 |
| BIT_INFO | 3 | arg_type | 0x0,0x201f |