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 bpf_is_state_visited() -> bpf_explored_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | s32min-(-2),0-s32max |
| CAPPED_DATA | 0 | env->insn_idx | 1 |
| CAPPED_DATA | 0 | env->prev_insn_idx | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| BIT_INFO | 0 | env->prev_insn_idx | 0x0,0x7fffffff |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt | |
| UNITS | 1 | idx | unit_array_size |
kernel/bpf/verifier.c find_prev_entry() -> bpf_explored_state()
| 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->frame | 4096-ptr_max |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | idx | $2 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt | |
| UNITS | 1 | idx | unit_array_size |