Commit ccf25a6
bpf: signal error if old liveness is more conservative than new
Unlike the new algorithm, register chain based liveness tracking is
fully path sensitive, and thus should be strictly more accurate.
Validate the new algorithm by signaling an error whenever it considers
a stack slot dead while the old algorithm considers it alive.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250918-callchain-sensitive-liveness-v3-8-c3cd27bacc60@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent e41c237 commit ccf25a6
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
855 | 856 | | |
856 | 857 | | |
857 | 858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18576 | 18576 | | |
18577 | 18577 | | |
18578 | 18578 | | |
| 18579 | + | |
| 18580 | + | |
| 18581 | + | |
| 18582 | + | |
| 18583 | + | |
18579 | 18584 | | |
18580 | 18585 | | |
18581 | 18586 | | |
| |||
19546 | 19551 | | |
19547 | 19552 | | |
19548 | 19553 | | |
| 19554 | + | |
| 19555 | + | |
19549 | 19556 | | |
19550 | 19557 | | |
19551 | 19558 | | |
| |||
19660 | 19667 | | |
19661 | 19668 | | |
19662 | 19669 | | |
| 19670 | + | |
| 19671 | + | |
19663 | 19672 | | |
19664 | 19673 | | |
19665 | 19674 | | |
| |||
0 commit comments