Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_helper_call() -> check_resource_leak()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,5704186734949433344 |
| PARAM_VALUE | 0 | env->ops->get_func_proto | 1-u64max |
| PARAM_VALUE | 0 | env->prog | 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 | exception_exit | 0 |
| PARAM_VALUE | 2 | check_lock | 1 |
| PARAM_VALUE | 3 | prefix | 1582044246700363776 |
| BUF_SIZE | 3 | prefix | 10 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | 9 |
| TERMINATED | 3 | prefix | 1 |
kernel/bpf/verifier.c check_ld_abs() -> check_resource_leak()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 5704186734949433344 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 1 | exception_exit | 0 |
| PARAM_VALUE | 2 | check_lock | 1 |
| PARAM_VALUE | 3 | prefix | 4426328212508995584 |
| BUF_SIZE | 3 | prefix | 17 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | 16 |
| TERMINATED | 3 | prefix | 1 |
kernel/bpf/verifier.c process_bpf_exit_full() -> check_resource_leak()
| 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->curframe | 0-2147483646 |
| 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->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 | exception_exit | 1 |
| PARAM_VALUE | 3 | prefix | 6827217366155108352 |
| BUF_SIZE | 3 | prefix | 10 |
| CAPPED_DATA | 0 | env->cur_state->curframe | 1 |
| CAPPED_DATA | 0 | env->prog->aux->btf->start_id | 1 |
| CAPPED_DATA | 0 | env->prog->len | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | exception_exit | $2 |
| STR_LEN | 0 | env | 9 |
| TERMINATED | 3 | prefix | 1 |