Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_mem_access() -> check_ctx_access()
| 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->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 2 | reg | 4096-ptr_max |
| PARAM_VALUE | 2 | reg->type | 2 |
| PARAM_VALUE | 5 | access_size | 1-2,4,8 |
| PARAM_VALUE | 6 | t | 1-2 |
| PARAM_VALUE | 7 | info | 1018536968940179456 |
| PARAM_VALUE | 7 | info->btf | 0 |
| PARAM_VALUE | 7 | info->btf_id | 0 |
| PARAM_VALUE | 7 | info->ctx_field_size | 0 |
| PARAM_VALUE | 7 | info->log | 4096-ptr_max |
| PARAM_VALUE | 7 | info->ref_id | 0 |
| PARAM_VALUE | 7 | info->reg_type | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | insn_idx | $1 |
| DATA_SOURCE | 2 | reg | $2 |
| DATA_SOURCE | 3 | argno | $3 |
| DATA_SOURCE | 4 | off | $4 |
| DATA_SOURCE | 6 | t | $6 |
| STR_LEN | 0 | env | (-1),3,11 |
| STR_LEN | 0 | env | (-1),3,11 |
| HARD_MAX | 6 | t | 2 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt | |
| UNITS | 1 | insn_idx | unit_array_size |
| UNITS | 4 | off | unit_byte |
| UNITS | 5 | access_size | unit_byte |