Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_kfunc_call() -> __mark_reg_s32_range()
| 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->curframe | 0-2147483646 |
| PARAM_VALUE | 0 | env->head | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->log->tmp_str_buf | 0-255 |
| 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->stack_size | s32min-8192 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | regno | 0 |
| PARAM_VALUE | 3 | s32_min | (-4095) |
| PARAM_VALUE | 4 | s32_max | (-1) |
| BUF_SIZE | 1 | regs | 880 |
| BUF_SIZE | 1 | regs | 880 |
| CAPPED_DATA | 0 | env->cur_state->curframe | 1 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_mem_access() -> __mark_reg_s32_range()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,5704186734949433344 |
| PARAM_VALUE | 0 | env->ops->is_valid_access | 1-u64max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->attach_func_proto->type | 1-u32max |
| PARAM_VALUE | 0 | env->prog->aux->max_ctx_offset | 1-u32max |
| PARAM_VALUE | 0 | env->prog->expected_attach_type | 27 |
| PARAM_VALUE | 0 | env->prog->type | 29 |
| PARAM_VALUE | 2 | regno | 0-s32max |
| PARAM_VALUE | 3 | s32_min | (-4095),0 |
| PARAM_VALUE | 4 | s32_max | 0-1 |
| BUF_SIZE | 1 | regs | 880 |
| BUF_SIZE | 1 | regs | 880 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | regs | r cur_regs |
| DATA_SOURCE | 2 | regno | $7 |
| STR_LEN | 0 | env | (-1),3,11 |
| STR_LEN | 0 | env | (-1),3,11 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |