Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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 1 state 4096-ptr_max
PARAM_VALUE 2 callsite (-1)
PARAM_VALUE 3 frameno 0
PARAM_VALUE 4 subprogno 0-s32max
BUF_SIZE 0 env->cur_state 232
CAPPED_DATA 4 subprogno 1
DATA_SOURCE 0 env $0
DATA_SOURCE 4 subprogno $1
FUZZY_MAX 4 subprogno 1
NOCHECK_CALL
UNITS 4 subprogno unit_array_size

kernel/bpf/verifier.c push_async_cb() -> init_func_state()

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->frame 4096-ptr_max
PARAM_VALUE 0 env->head 4096-ptr_max
PARAM_VALUE 0 env->head->prev_insn_idx s32min-(-4096),4096-s32max
PARAM_VALUE 0 env->ops->get_func_proto 1-u64max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->aux 4096-ptr_max
PARAM_VALUE 0 env->stack_size s32min-8192
PARAM_VALUE 0 env->subprog_info 4096-ptr_max
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 state 4096-ptr_max
PARAM_VALUE 2 callsite (-1)
PARAM_VALUE 3 frameno 0
PARAM_VALUE 4 subprogno 0
BUF_SIZE 0 env->head 256
BUF_SIZE 1 state 944
DATA_SOURCE 0 env $0
DATA_SOURCE 1 state r _kzalloc_noprof
DATA_SOURCE 4 subprogno $3
FUZZY_MAX 0 env->stack_size 8192
HARD_MAX 0 env->stack_size 8192
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt

kernel/bpf/verifier.c setup_func_entry() -> init_func_state()

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->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->subprog_info 4096-ptr_max
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 state 4096-ptr_max
PARAM_VALUE 3 frameno 1-15
PARAM_VALUE 4 subprogno 0-s32max
BUF_SIZE 1 state 944
DATA_SOURCE 0 env $0
DATA_SOURCE 1 state r _kzalloc_noprof
DATA_SOURCE 2 callsite $2
DATA_SOURCE 4 subprogno $1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 env->cur_state->jmp_history_cnt