Commit df02c3f
bpf: Properly mark live registers for indirect jumps
[ Upstream commit d1aab1c ]
For a `gotox rX` instruction the rX register should be marked as used
in the compute_insn_live_regs() function. Fix this.
Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Link: https://lore.kernel.org/r/20260114162544.83253-2-a.s.protopopov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent aae391a commit df02c3f
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24292 | 24292 | | |
24293 | 24293 | | |
24294 | 24294 | | |
| 24295 | + | |
| 24296 | + | |
| 24297 | + | |
| 24298 | + | |
| 24299 | + | |
| 24300 | + | |
24295 | 24301 | | |
24296 | 24302 | | |
24297 | 24303 | | |
| |||
0 commit comments