mirror-linux/tools/testing/selftests/bpf/verifier
Eduard Zingerman 107e169799 bpf: disable and remove registers chain based liveness
Remove register chain based liveness tracking:
- struct bpf_reg_state->{parent,live} fields are no longer needed;
- REG_LIVE_WRITTEN marks are superseded by bpf_mark_stack_write()
  calls;
- mark_reg_read() calls are superseded by bpf_mark_stack_read();
- log.c:print_liveness() is superseded by logging in liveness.c;
- propagate_liveness() is superseded by bpf_update_live_stack();
- no need to establish register chains in is_state_visited() anymore;
- fix a bunch of tests expecting "_w" suffixes in verifier log
  messages.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250918-callchain-sensitive-liveness-v3-9-c3cd27bacc60@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2025-09-19 09:27:23 -07:00
..
.gitignore
atomic_and.c
atomic_bounds.c
atomic_cmpxchg.c bpf: Fix accesses to uninit stack slots 2023-12-08 14:19:00 -08:00
atomic_fetch.c
atomic_fetch_add.c
atomic_invalid.c
atomic_or.c
atomic_xchg.c
atomic_xor.c
basic.c
basic_call.c
basic_instr.c
basic_stx_ldx.c
bpf_loop_inline.c selftests/bpf: Skip callback tests if jit is disabled in test_verifier 2024-01-23 20:27:41 -08:00
bpf_st_mem.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
calls.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
ctx_sk_lookup.c
ctx_skb.c
dead_code.c bpf: Fall back to nospec for Spectre v1 2025-06-09 20:11:10 -07:00
direct_value_access.c
event_output.c
jit.c
jmp32.c bpf: Fall back to nospec for Spectre v1 2025-06-09 20:11:10 -07:00
jset.c bpf: Fall back to nospec for Spectre v1 2025-06-09 20:11:10 -07:00
jump.c
junk_insn.c
ld_abs.c
ld_dw.c
ld_imm64.c bpf: handle ldimm64 properly in check_cfg() 2023-11-09 20:11:20 -08:00
map_kptr.c bpf: verifier: Support eliding map lookup nullness 2025-01-16 17:51:10 -08:00
perf_event_sample_period.c
precise.c bpf: Remove mark_precise_scalar_ids() 2024-07-29 12:53:14 -07:00
scale.c
sleepable.c
wide_access.c