Fix segfaults related to missing BTF support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | core: Add method to get the vmlinux BTF filename, allow overriding it via env vardwarves.c dwarves.h man-pages/ +1 more | +22 | 0 replies | |
| 2/5 | tests default_vmlinux_btf: Introduce test for using BTF by defaulttests/ | +21 | 0 replies | |
| 3/5 | pahole: Honour exclusive BTF loadingdwarves.c pahole.c | +21 | 6 replies | |
| 4/5 | tests default_vmlinux_btf: Cover the no args segfault tootests/ | +11 | 0 replies | |
| 5/5 | core, libctf: Check if constructor arguments are NULL before using themdwarves.c libctf.c | +6 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Alan Maguire | Eduard Zingerman |
|---|---|---|
| 1/5 | ||
| 2/5 | ||
| 3/5 | R-b T-b | A-b |
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Fix segfaults related to missing BTF support
Sorry for the top post: Only the cover letter ended up reaching the mailing list, so resending to have it there :-\
Hi,
While looking for reports to fix before release 1.28 I got to
Matthias reports about segfaults in systems where BTF isn't present, so I introduced a regression test and infrastructure to allow testing handling such a system, please take a look.
Thanks,
- Arnaldo
Arnaldo Carvalho de Melo (5):
core: Add method to get the vmlinux BTF filename, allow overriding it via env var tests default_vmlinux_btf: Introduce test for using BTF by default
pahole: Honour exclusive BTF loading
tests default_vmlinux_btf: Cover the no args segfault too
core, libctf: Check if constructor arguments are NULL before using them
dwarves.c | 33 ++++++++++++++++++++++++++++++--- dwarves.h | 2 ++ libctf.c | 3 +++ man-pages/pahole.1 | 4 ++++ pahole.c | 11 +++++++++-- tests/default_vmlinux_btf.sh | 32 ++++++++++++++++++++++++++++++++ 6 files changed, 80 insertions(+), 5 deletions(-) create mode 100755 tests/default_vmlinux_btf.sh
Signature · 1 line
2.47.0