Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c adjust_ptr_min_max_vals() -> sanitize_ptr_alu()
| 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 | insn | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr_reg | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr_reg->type | 0,2-17,19-u32max |
| PARAM_VALUE | 3 | off_reg | 4096-ptr_max |
| PARAM_VALUE | 4 | dst_reg | 4096-ptr_max |
| PARAM_VALUE | 5 | info | 725460196490244096 |
| PARAM_VALUE | 5 | info->aux.alu_limit | 0 |
| PARAM_VALUE | 5 | info->aux.alu_state | 0 |
| PARAM_VALUE | 5 | info->aux.jt | 0 |
| PARAM_VALUE | 5 | info->aux.scc | 0 |
| PARAM_VALUE | 5 | info->aux.seen | 0 |
| PARAM_VALUE | 5 | info->mask_to_left | 0 |
| PARAM_VALUE | 6 | commit_window | 0 |
| BUF_SIZE | 3 | off_reg | (-1),80 |
| BUF_SIZE | 3 | off_reg | (-1),80 |
| CAPPED_DATA | 2 | ptr_reg | 1 |
| CAPPED_DATA | 4 | dst_reg | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | insn | $1 |
| DATA_SOURCE | 2 | ptr_reg | $2 |
| DATA_SOURCE | 3 | off_reg | $3 |
| BIT_INFO | 2 | ptr_reg->type | 0x0,0xfffffeff |
kernel/bpf/verifier.c adjust_ptr_min_max_vals() -> sanitize_ptr_alu()
| 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 | insn | 4096-ptr_max |
| PARAM_VALUE | 1 | insn->code | 8-255 |
| PARAM_VALUE | 2 | ptr_reg | 4096-ptr_max |
| PARAM_VALUE | 3 | off_reg | 4096-ptr_max |
| PARAM_VALUE | 4 | dst_reg | 4096-ptr_max |
| PARAM_VALUE | 5 | info | 725460196490244096 |
| PARAM_VALUE | 5 | info->aux.alu_limit | 0 |
| PARAM_VALUE | 5 | info->aux.alu_state | 0 |
| PARAM_VALUE | 5 | info->aux.jt | 0 |
| PARAM_VALUE | 5 | info->aux.scc | 0 |
| PARAM_VALUE | 5 | info->aux.seen | 0 |
| PARAM_VALUE | 6 | commit_window | 1 |
| BUF_SIZE | 3 | off_reg | (-1),80 |
| BUF_SIZE | 3 | off_reg | (-1),80 |
| CAPPED_DATA | 2 | ptr_reg | 1 |
| CAPPED_DATA | 4 | dst_reg | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | insn | $1 |
| DATA_SOURCE | 3 | off_reg | $3 |