Commit e0bf462
bpf: mark relevant stack slots scratched for register read instructions
When handling instructions that read register slots, mark relevant stack
slots as scratched so that verifier log would contain those slots' states, in
addition to currently emitted registers with stack slot offsets.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230505043317.3629845-3-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent 5956f30 commit e0bf462
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4109 | 4109 | | |
4110 | 4110 | | |
4111 | 4111 | | |
| 4112 | + | |
4112 | 4113 | | |
4113 | 4114 | | |
4114 | 4115 | | |
| |||
4160 | 4161 | | |
4161 | 4162 | | |
4162 | 4163 | | |
| 4164 | + | |
| 4165 | + | |
4163 | 4166 | | |
4164 | 4167 | | |
4165 | 4168 | | |
| |||
0 commit comments