Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/verifier.c check_atomic_load() -> atomic_ptr_type_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 2 | insn | 4096-ptr_max |
| PARAM_VALUE | 2 | insn->imm | 256 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 2 | insn | $1 |
kernel/bpf/verifier.c check_atomic_rmw() -> atomic_ptr_type_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 2 | insn | 4096-ptr_max |
| PARAM_VALUE | 2 | insn->code | 8-255 |
| PARAM_VALUE | 2 | insn->imm | 0-1,64-65,80-81,160-161,225,241 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 2 | insn | $1 |
| FUZZY_MAX | 2 | insn->imm | 241 |
kernel/bpf/verifier.c check_atomic_store() -> atomic_ptr_type_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->cur_state | 4096-ptr_max |
| PARAM_VALUE | 2 | insn | 4096-ptr_max |
| PARAM_VALUE | 2 | insn->imm | 272 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 2 | insn | $1 |
| NO_OVERFLOW_SIMPLE | 0 | env->cur_state->jmp_history_cnt |