Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/verifier.c check_func_call() -> subprog_returns_void()

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_locks 0
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->prog->insnsi 4096-ptr_max
PARAM_VALUE 0 env->prog->len 1-u32max
PARAM_VALUE 0 env->subprog_cnt 1-u32max
PARAM_VALUE 0 env->subprog_info 4096-ptr_max
PARAM_VALUE 0 *env->log->kbuf 0-255
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 subprog 0-s32max
DATA_SOURCE 0 env $0
DATA_SOURCE 1 subprog r bpf_find_subprog
NO_OVERFLOW_SIMPLE 0 env->log.kbuf

kernel/bpf/verifier.c check_global_subprog_return_code() -> subprog_returns_void()

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
CAPPED_DATA 0 env->prog->aux->btf->start_id 1
CAPPED_DATA 0 env->prog->len 1
DATA_SOURCE 0 env $0
UNITS 1 subprog unit_array_size

kernel/bpf/verifier.c do_check_common() -> subprog_returns_void()

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->branches 1
PARAM_VALUE 0 env->cur_state->curframe 0
PARAM_VALUE 0 env->cur_state->speculative 0
PARAM_VALUE 0 env->prev_linfo 0
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->aux 4096-ptr_max
PARAM_VALUE 0 env->scratched_regs u32max
PARAM_VALUE 0 env->scratched_stack_slots u64max
PARAM_VALUE 0 env->subprog_info 4096-ptr_max
PARAM_VALUE 1 subprog 0-s32max
BUF_SIZE 0 env->cur_state 232
CAPPED_DATA 1 subprog 1
DATA_SOURCE 0 env $0
DATA_SOURCE 1 subprog $1
FUZZY_MAX 1 subprog 1
UNITS 1 subprog unit_array_size

kernel/bpf/verifier.c program_returns_void() -> subprog_returns_void()

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-1
PARAM_VALUE 0 env->cur_state->active_rcu_locks 0-1
PARAM_VALUE 0 env->cur_state->frame 4096-ptr_max
PARAM_VALUE 0 env->ops->gen_ld_abs 0,4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 *env->tmp_str_buf 0-255
PARAM_VALUE 1 subprog 0
DATA_SOURCE 0 env $0
FUZZY_MAX 0 env->cur_state->active_preempt_locks 1
FUZZY_MAX 0 env->cur_state->active_rcu_locks 1
STR_LEN 0 env 2
STR_LEN 0 env 2