Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/verifier.c add_subprogs() -> add_subprog()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 1 off 0
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c add_subprogs() -> add_subprog()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->bpf_capable 1
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->len 1-s32max
CAPPED_DATA 0 env->prog->len 1
DATA_SOURCE 0 env $0

kernel/bpf/verifier.c add_subprogs() -> add_subprog()

Type Parameter Key Value
PARAM_VALUE 0 env 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_cnt 1-s32max
PARAM_VALUE 0 env->prog->len 1-s32max
PARAM_VALUE 1 off 1-s32max
CAPPED_DATA 0 env->prog->aux->btf->start_id 1
CAPPED_DATA 0 env->prog->aux->func_info_cnt 1
CAPPED_DATA 0 env->prog->len 1
CAPPED_DATA 1 off 1
DATA_SOURCE 0 env $0
PARAM_COMPARE 0 env->prog->aux->btf->nr_types > $0->prog->aux->btf->start_id