Fix segfaults related to missing BTF support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 5 patches 12 repliesIn review
Patches in v1 No applies recorded yet
None of the 5 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Eduard Zingerman |
|---|---|
| Series | A-b |
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
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