Defined in 2 files as a function:
- kernel/bpf/log.c, line 635 (as a function)
- tools/testing/selftests/bpf/prog_tests/reg_bounds.c, line 766 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/bpf/log.c print_verifier_state() -> print_reg_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 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->bt.reg_masks | 0-4294967295 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->regs | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 4096-ptr_max |
| PARAM_VALUE | 2 | reg->type | 1-u32max |
| BUF_SIZE | 0 | env->cur_state | (-1),232 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | (-1),2,11 |
| STR_LEN | 0 | env | (-1),2,11 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |
kernel/bpf/log.c print_verifier_state() -> print_reg_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 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->bt.reg_masks | 0-4294967295 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | state->stack | 4096-ptr_max |
| BUF_SIZE | 0 | env->cur_state | (-1),232 |
| BUF_SIZE | 2 | reg | 80 |
| DATA_SOURCE | 0 | env | $0 |
| STR_LEN | 0 | env | (-1),2,11 |
| STR_LEN | 0 | env | (-1),2,11 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |