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_ptr_to_btf_access() -> is_trusted_reg()

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,0xffffe7ff
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt

kernel/bpf/verifier.c reg_not_null() -> is_trusted_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 4096-ptr_max
DATA_SOURCE 0 env $0
DATA_SOURCE 1 reg $1