Defined in 1 files as a function:
Referenced in 1 files:
-
kernel/bpf/verifier.c
- line 6371
- line 6378
- line 6383
- line 6413
- line 6420
- line 6425
- line 6453
- line 6458
- line 6466
- line 6495
- line 6537
- line 8289
- line 10451
- line 14944
- line 14956
- line 14961
- line 14977
- line 14983
- line 15082
- line 15088
- line 15109
- line 15992
- line 15999
- line 16204
- line 16331
- line 16351
- line 16363
- line 16570
- line 16629
- line 17270
Smatch caller information:
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 1 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_alu_op() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_atomic_load() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_atomic_rmw() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_atomic_rmw() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_atomic_rmw() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 1 | regno | 0 |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_atomic_rmw() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 1 | regno | 0-15 |
| PARAM_VALUE | 2 | t | 1 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_func_arg() -> check_reg_arg()
| 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->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->get_func_proto | 1-u64max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 1 | regno | 1-5 |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_global_subprog_return_code() -> check_reg_arg()
| 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->active_irq_id | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_preempt_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_rcu_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->curframe | 0 |
| PARAM_VALUE | 0 | env->cur_state->frame | 4096-ptr_max |
| PARAM_VALUE | 0 | env->head | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->func_info | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->len | 1-u32max |
| PARAM_VALUE | 0 | env->stack_size | s32min-8192 |
| PARAM_VALUE | 0 | env->subprog_cnt | 1-u32max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | regno | 0 |
| PARAM_VALUE | 2 | t | 0 |
| CAPPED_DATA | 0 | env->prog->aux->btf->start_id | 1 |
| CAPPED_DATA | 0 | env->prog->len | 1 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_helper_call() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,5704186734949433344 |
| PARAM_VALUE | 0 | env->ops->get_func_proto | 1-u64max |
| 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 | regno | 0-5 |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
| NOCHECK_CALL |
kernel/bpf/verifier.c check_ld_abs() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 5704186734949433344 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 1 | regno | 6 |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_ld_abs() -> check_reg_arg()
| 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->active_irq_id | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_preempt_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_rcu_locks | 0 |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 5704186734949433344 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_ld_abs() -> check_reg_arg()
| 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->active_irq_id | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_preempt_locks | 0 |
| PARAM_VALUE | 0 | env->cur_state->active_rcu_locks | 0 |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 5704186734949433344 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 1 | regno | 0-5 |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
| NOCHECK_CALL |
kernel/bpf/verifier.c check_ld_imm() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 1 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_load_mem() -> check_reg_arg()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | 3,11 |
| STR_LEN | 0 | env | 3,11 |
kernel/bpf/verifier.c check_load_mem() -> check_reg_arg()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | 3,11 |
| STR_LEN | 0 | env | 3,11 |
kernel/bpf/verifier.c check_load_mem() -> check_reg_arg()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 2 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | 3,11 |
| STR_LEN | 0 | env | 3,11 |
kernel/bpf/verifier.c check_return_code() -> check_reg_arg()
| 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->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | regno | 0-1 |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | regno | $1 |
| STR_LEN | 0 | env | 2 |
| STR_LEN | 0 | env | 2 |
kernel/bpf/verifier.c check_store_reg() -> check_reg_arg()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_store_reg() -> check_reg_arg()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c check_store_reg() -> check_reg_arg()
| 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->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c do_check_insn() -> check_reg_arg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 2 | t | 0 |
| DATA_SOURCE | 0 | env | $0 |