Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c adjust_ptr_min_max_vals() -> check_reg_sane_offset_ptr()
| 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->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 1 | reg->type | 0,2-17,19-u32max |
| PARAM_VALUE | 2 | type | 0,2-17,19-u32max |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | $2 |
| BIT_INFO | 1 | reg->type | 0x0,0xfffffeff |
| BIT_INFO | 2 | type | 0x0,0xfffffeff |
kernel/bpf/verifier.c adjust_ptr_min_max_vals() -> check_reg_sane_offset_ptr()
| 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->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0,2-17,19-u32max |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | env | $0 |
| BIT_INFO | 2 | type | 0x0,0xfffffeff |