Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/liveness.c analyze_subprog() -> analyze_subprog()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->cfg.insn_postorder 4096-ptr_max
PARAM_VALUE 0 env->liveness 4096-ptr_max
PARAM_VALUE 0 env->liveness->live_stack_query.curframe 0-4294967294
PARAM_VALUE 0 env->liveness->subprog_calls 0-10000
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->aux->kfunc_btf_tab->nr_descs 0-4294967295
PARAM_VALUE 0 env->subprog_info 4096-ptr_max
PARAM_VALUE 0 env->subprog_info->args_cached 0-1
PARAM_VALUE 0 env->subprog_info->changes_pkt_data 0-1
PARAM_VALUE 0 env->subprog_info->exit_idx 0-4294967295
PARAM_VALUE 0 env->subprog_info->has_ld_abs 0-1
PARAM_VALUE 0 env->subprog_info->has_tail_call 0-1
PARAM_VALUE 0 env->subprog_info->is_async_cb 0-1
PARAM_VALUE 0 env->subprog_info->is_cb 0-1
PARAM_VALUE 0 env->subprog_info->is_exception_cb 0-1
PARAM_VALUE 0 env->subprog_info->keep_fastcall_stack 0-1
PARAM_VALUE 0 env->subprog_info->max_out_stack_arg_cnt 0-u16max
PARAM_VALUE 0 env->subprog_info->might_sleep 0-1
PARAM_VALUE 0 env->subprog_info->might_throw 0-1
PARAM_VALUE 0 env->subprog_info->priv_stack_mode 0-4294967295
PARAM_VALUE 0 env->subprog_info->stack_arg_cnt 0-u16max
PARAM_VALUE 0 env->subprog_info->tail_call_reachable 0-1
PARAM_VALUE 0 *env->succ->items 0-4294967295
PARAM_VALUE 0 *env->tmp_str_buf 0-255
PARAM_VALUE 1 entry_args 4096-ptr_max
PARAM_VALUE 2 info 4096-ptr_max
PARAM_VALUE 3 instance 4096-ptr_max
PARAM_VALUE 4 callsites 4096-ptr_max
BUF_SIZE 1 entry_args 180
BUF_SIZE 2 info (-1)-s32max
BUF_SIZE 2 info (-1)-s32max
BUF_SIZE 3 instance (-1),176
BUF_SIZE 3 instance (-1),176
BUF_SIZE 4 callsites (-1),32,64
BUF_SIZE 4 callsites (-1),32,64
DATA_SOURCE 0 env $0
DATA_SOURCE 2 info $2
DATA_SOURCE 3 instance r call_instance
DATA_SOURCE 4 callsites $4
FUZZY_MAX 0 env->liveness->subprog_calls 10000
NO_OVERFLOW_SIMPLE 0 env->log.kbuf
NO_OVERFLOW_SIMPLE 0 env->subprog_cnt
NO_OVERFLOW_SIMPLE 0 env->tmp_str_buf

kernel/bpf/liveness.c bpf_compute_subprog_arg_access() -> analyze_subprog()

Type Parameter Key Value
PARAM_VALUE 0 env 4096-ptr_max
PARAM_VALUE 0 env->callsite_at_stack 1-18446744073709551614
PARAM_VALUE 0 env->liveness 4096-ptr_max
PARAM_VALUE 0 env->prog 4096-ptr_max
PARAM_VALUE 0 env->prog->aux->kfunc_btf_tab->nr_descs 0-4294967295
PARAM_VALUE 0 env->subprog_topo_order 4096-ptr_max
PARAM_VALUE 0 *env->succ->items 0-4294967295
PARAM_VALUE 0 *env->tmp_str_buf 0-255
PARAM_VALUE 1 entry_args 0
PARAM_VALUE 2 info 4096-ptr_max
PARAM_VALUE 3 instance 4096-ptr_max
PARAM_VALUE 4 callsites 5604950738050179072
BUF_SIZE 0 env->callsite_at_stack 0-u64max
BUF_SIZE 2 info 0-68719476720
BUF_SIZE 2 info 0-68719476720
BUF_SIZE 3 instance (-1),176
BUF_SIZE 3 instance (-1),176
BUF_SIZE 4 callsites 64
DATA_SOURCE 0 env $0
DATA_SOURCE 2 info r __kvmalloc_node_noprof
DATA_SOURCE 3 instance r call_instance
NO_OVERFLOW_SIMPLE 0 env->subprog_cnt