Skip to content

Releases: Asphaltt/tailcall-issues

Release v0.1.0

04 Dec 15:26
f0bb192

Choose a tag to compare

tailcall-issues is the dedicated tool to detect the tailcall issues' state on Linux kernels.

For example, on v6.8 kernel:

# uname -r
6.8.0-35-generic

# ./tailcall-issues
detection results:

issue:	invalid tailcallee
state:	fixed

issue:	invalid loading offset of tail_call_cnt for bpf2bpf
state:	fixed

issue:	tailcall infinite loop caused by trampoline
state:	fixed

issue:	tailcall hierarchy
state:	not fixed

issue:	panic caused by updating attached freplace prog to prog array
state:	cannot detect

issue:	tailcall infinite loop caused by freplace
state:	not fixed

As for old v5.15 kernel, it's able to detect issue "invalid loading offset of tail_call_cnt for bpf2bpf" for specified bpf prog by:

# ./tailcall-issues --check-invalid-offset --prog 511
2024/12/04 15:21:21 Current kernel does not have invalid offset issue
2024/12/04 15:21:21 BPF program (id=511 name=kprobe_skb_by_s) does not have invalid offset issue

Full Changelog: https://github.com/Asphaltt/tailcall-issues/commits/v0.1.0