Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/verifier.c check_func_call() -> subprog_name()
| 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 | 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 do_check_common() -> subprog_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 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 do_check_subprogs() -> subprog_name()
| 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 | 1-u64max |
| PARAM_VALUE | 1 | subprog | 1-s32max |
| CAPPED_DATA | 1 | subprog | 1 |
| DATA_SOURCE | 0 | env | $0 |
| FUZZY_MAX | 1 | subprog | 1 |
| PARAM_COMPARE | 0 | env->subprog_cnt | > $1 |
| PARAM_COMPARE | 1 | subprog | < $0->subprog_cnt |
| CONSTRAINT | 1 | subprog | <4111 |
| UNITS | 1 | subprog | unit_array_size |
kernel/bpf/verifier.c sort_subprogs_topo() -> subprog_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/verifier.c sort_subprogs_topo() -> subprog_name()
| 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 | 1 | subprog | 0-s32max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | subprog | r bpf_find_subprog |
kernel/bpf/verifier.c sort_subprogs_topo() -> subprog_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| BIT_INFO | 0 | env->log.level | 0x2,0xffffffffffffffff |