Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/states.c propagate_precision() -> bpf_mark_chain_precision()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 1 | starting_state | 4096-ptr_max |
| PARAM_VALUE | 2 | regno | (-1) |
| PARAM_VALUE | 3 | changed | 0,3105089920632803328 |
| BUF_SIZE | 1 | starting_state | (-1),232 |
| BUF_SIZE | 1 | starting_state | (-1),232 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | starting_state | $2 |
| DATA_SOURCE | 3 | changed | $3 |
kernel/bpf/verifier.c mark_chain_precision() -> bpf_mark_chain_precision()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *env->tmp_arg_name | 0-255 |
| PARAM_VALUE | 0 | *env->tmp_str_buf | 0-255 |
| PARAM_VALUE | 1 | starting_state | 4096-ptr_max |
| PARAM_VALUE | 3 | changed | 0 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 2 | regno | $1 |
| STR_LEN | 0 | env | (-1),2 |
| STR_LEN | 0 | env | (-1),2 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | starting_state->jmp_history_cnt |
kernel/bpf/verifier.c mark_chain_precision_batch() -> bpf_mark_chain_precision()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->ops->gen_ld_abs | 0,4096-ptr_max |
| PARAM_VALUE | 1 | starting_state | 4096-ptr_max |
| PARAM_VALUE | 2 | regno | (-1) |
| PARAM_VALUE | 3 | changed | 0 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | starting_state | $1 |
| STR_LEN | 0 | env | (-1),3,11 |
| STR_LEN | 0 | env | (-1),3,11 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | starting_state->jmp_history_cnt |