public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf: Live registers computation with gotox
@ 2026-01-14 11:33 Anton Protopopov
  2026-01-14 11:33 ` [PATCH bpf-next 1/2] bpf: Properly mark used registers for indirect jumps Anton Protopopov
  2026-01-14 11:33 ` [PATCH bpf-next 2/2] selftests/bpf: Extend live regs tests with a test for gotox Anton Protopopov
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Protopopov @ 2026-01-14 11:33 UTC (permalink / raw)
  To: bpf, Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	Eduard Zingerman, Yonghong Song
  Cc: Anton Protopopov

While adding a selftest for live registers computation with gotox,
I've noticed that the code is actually incomplete. Namely, the
destination register rX in `gotox rX` wasn't actually considered
as used. Fix this and add a selftest.

Anton Protopopov (2):
  bpf: Properly mark live registers for indirect jumps
  selftests/bpf: Extend live regs tests with a test for gotox

 kernel/bpf/verifier.c                         |  6 +++
 .../bpf/progs/compute_live_registers.c        | 37 +++++++++++++++++++
 2 files changed, 43 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-14 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14 11:33 [PATCH bpf-next 0/2] bpf: Live registers computation with gotox Anton Protopopov
2026-01-14 11:33 ` [PATCH bpf-next 1/2] bpf: Properly mark used registers for indirect jumps Anton Protopopov
2026-01-14 11:33 ` [PATCH bpf-next 2/2] selftests/bpf: Extend live regs tests with a test for gotox Anton Protopopov
2026-01-14 12:24   ` Anton Protopopov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox