Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_func_call() -> btf_check_subprog_call()
| 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->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->len | 1-u32max |
| PARAM_VALUE | 0 | env->subprog_cnt | 1-u32max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 1 | subprog | 0-s32max |
| BUF_SIZE | 2 | regs | 880 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | subprog | r bpf_find_subprog |
| NO_OVERFLOW_SIMPLE | 0 | env->log.kbuf |
kernel/bpf/verifier.c push_callback_call() -> btf_check_subprog_call()
| 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->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->log.kbuf | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | subprog | 0 |
| BUF_SIZE | 2 | regs | 880 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | subprog | $3 |