Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_stack_write_fixed_off() -> destroy_if_dynptr_stack_slot()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->stack | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | state | $1 |
| STR_LEN | 0 | env | (-1) |
| STR_LEN | 0 | env | (-1) |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c check_stack_write_var_off() -> destroy_if_dynptr_stack_slot()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | spi | r bpf_get_spi |
| STR_LEN | 0 | env | (-1) |
| STR_LEN | 0 | env | (-1) |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c mark_stack_slots_dynptr() -> destroy_if_dynptr_stack_slot()
| 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->log.ubuf | 0 |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 2 | spi | 0-2147483646 |
| CAPPED_DATA | 2 | spi | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | state | r bpf_func |
| DATA_SOURCE | 2 | spi | r dynptr_get_spi |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c mark_stack_slots_dynptr() -> destroy_if_dynptr_stack_slot()
| 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->log.ubuf | 0 |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->stack | 4096-ptr_max |
| PARAM_VALUE | 2 | spi | (-1)-2147483645 |
| CAPPED_DATA | 2 | spi | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | state | r bpf_func |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |