Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/verifier.c check_ptr_to_btf_access() -> type_is_trusted()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->allow_ptr_leaks 1
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->btf_struct_access 0,109229580818747392,1844169638972944384,1972137615492878336,2503603943122952192,5286233595241070592
PARAM_VALUE 0 env->ops->gen_ld_abs 0,4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 1 reg->btf 4096-ptr_max
PARAM_VALUE 2 field_name 0,4096-ptr_max
PARAM_VALUE 2 *field_name 0-255
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