Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_func_arg() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r reg_state |
kernel/bpf/verifier.c check_func_arg() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r reg_state |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
| BIT_INFO | 1 | reg->type | 0x80010,0x81010 |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
kernel/bpf/verifier.c check_kfunc_args() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| CAPPED_DATA | 0 | env->cur_state->acquired_refs | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r get_func_arg_reg |
kernel/bpf/verifier.c check_ptr_to_btf_access() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| BUF_SIZE | 1 | reg | (-1),880 |
| BUF_SIZE | 1 | reg | (-1),880 |
| CAPPED_DATA | 1 | reg->btf->start_id | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | $2 |
| STR_LEN | 0 | env | (-1),3,11 |
| STR_LEN | 0 | env | (-1),3,11 |
| PARAM_COMPARE | 1 | reg->btf->start_id | <= $1->btf_id |
| BIT_INFO | 1 | reg->type | 0x0,0xffdfe7ff |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c check_return_code() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| CAPPED_DATA | 1 | reg->btf->start_id | 1 |
| CAPPED_DATA | 1 | reg->btf_id | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | r reg_state |
| STR_LEN | 0 | env | 2 |
| STR_LEN | 0 | env | 2 |
| PARAM_COMPARE | 1 | reg->btf->nr_types | > $1->btf->start_id |
| PARAM_COMPARE | 1 | reg->btf->nr_types | > $1->btf_id |
| PARAM_COMPARE | 1 | reg->btf->start_id | <= $1->btf_id |
kernel/bpf/verifier.c is_trusted_reg() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| BUF_SIZE | 1 | reg | (-1),968 |
| BUF_SIZE | 1 | reg | (-1),968 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| STR_LEN | 0 | env | (-1),11 |
| STR_LEN | 0 | env | (-1),11 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/verifier.c process_kf_arg_ptr_to_btf_id() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | $1 |
kernel/bpf/verifier.c release_reg() -> reg_is_referenced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | reg | $1 |