aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux/guilty
Commit message (Collapse)AuthorAgeFilesLines
* pkg/report: exclude crc implementations from guilty filesAleksandr Nogikh2025-07-211-0/+101
| | | | | | | If these happen to be in the stack frames, in almost all cases it will be due to a bug in the calling code. See the discussion in #5784.
* pkg/report: ignore Register information linesAleksandr Nogikh2023-05-201-0/+644
| | | | | | They are misleading guilty file detection. See https://groups.google.com/g/syzkaller-bugs/c/T6Z_5Gh1Qio
* pkg/report: ignore mm/folio-compat.c and (un)lock_pageAleksandr Nogikh2023-04-051-0/+60
|
* pkg/report: ignore arch/.*/kernel/unwind.*.c and kernel/stacktrace.cAleksandr Nogikh2023-04-031-0/+175
|
* pkg/report: ignore more guilty filesAleksandr Nogikh2023-03-282-1/+75
| | | | | Ignore arch/arm64/kernel/process.c and some of page cache sources, as the real problem will much more likely lie in the caller.
* pkg/report: handle guilty file extraction for non-symbolized reportsAleksandr Nogikh2023-02-161-0/+116
| | | | | Currently we return ".", which is not really expected by all the surrounding logic.
* pkg/report: extract guilty files for arm64 rcu stallsAleksandr Nogikh2023-02-101-0/+81
|
* pkg/report: extract guilty files for rcu errors correctlyAleksandr Nogikh2023-02-102-0/+135
| | | | | | The existing code is broken - the console output does not contain a whitespace before the apic_timer_interrupt frame. Also, add the apic_timer source files to the excluded ones.
* pkg/report: skip mm/mempool.c as guilty fileDmitry Vyukov2022-10-041-0/+26
|
* pkg/report: improve guilty file identificationHrutvik Kanabar2022-09-304-1/+181
| | | | | | | | | | | | | | | | | | | | | Previously we would pick the first non-ignored file. Now instead, continue searching the stack trace for more specific files. A "more specific" file wrt the first non-ignored file has: - the same directory prefix - a deeper directory nesting E.g. `fs/ntfs3/*.c` is "more specific" than "fs/*.c". We search for the most specific file (i.e. the deepest nesting), and take the first most specific if there are multiple files with the same nesting. This commit also adds three tests for this behaviour, taken from recent `syzbot` bugs which identified the wrong file. Now the desired file is identified. Only one existing test shows different output with the new behaviour. Updates #3393.
* pkg/report: ignore ref_tracker framesDmitry Vyukov2022-01-112-0/+83
| | | | | ref_tracker is a generic debugging facility, the actual bug is (almost always) in the caller.
* pkg/report: ignore some common arm64 framesDmitry Vyukov2021-05-031-0/+144
|
* pkg/report: implement arm oops parsingDmitry Vyukov2020-12-301-0/+119
|
* pkg/report: better guilty file extraction with lockdep headerDmitry Vyukov2020-12-071-0/+132
| | | | | | | LOCKDEP can add "hard/softirs last enabled/disabled at" lines with more files at the top. These files are generally not related, or at least out of order. We want to extract the file from stacks, so ignore these lines.
* pkg/report: skip drivers/usb/core/urb.c as guilty fileDmitry Vyukov2020-11-304-0/+247
| | | | | | | | | | | We are getting lots of WARNINGs in urb.c and all of them seem to mean a bug in a particular driver. And fixes for these bugs go into a particular driver code. But we send all of them to urb.c maintainers. Skip urb.c as a guilty file. If a bug happens to be in urb.c for real, a driver maintainers should CC USB core maintainers on it. Update #2284
* pkg/report: avoid producing no guilty fileDmitry Vyukov2020-05-291-0/+48
| | | | | | If we produce no guilty file at all, the report is mailed only to LKML, which is mostly equivalent to mailing to nobody. If we skip all files, return the first one.
* pkg/report: fix guilty file extraction in presence of rcu stallsDmitry Vyukov2019-12-051-0/+165
| | | | | | | | | | | | | | The the added test for exception from exception corner case. "BUG: spinlock lockup" fails to respect panic_on_warn and panic after printing report (though, it's a BUG already, so it should have been paniced even without panic_on_warn). As the result we got "spinlock lockup" followed by "rcu stall" report. And we have that special exception for rcu stalls b/c for them the most of the report is irrelevant up to apic_timer_interrupt frame. The code did not expect this weird double-report case and skipped everything up to apic_timer_interrupt, though it's actually a lockup in netfilter code.
* pkg/report: add parsing of trusty crashesDmitry Vyukov2019-01-141-0/+25
| | | | Update #933
* pkg/report: ignore arch/.*/mm/physaddr.c as guilty fileDmitry Vyukov2018-10-101-0/+51
| | | | | | | This is called from kfree in the added test. We already ignore everything related to kmalloc/free and e.g. arch/.*/mm/fault.c, so it looks reasonable to ignore this one too.
* pkg/report: ignore printk as guilty fileDmitry Vyukov2018-09-281-0/+103
|
* pkg/report: fix guilty file extractionDmitry Vyukov2018-09-262-0/+78
| | | | | Account for the case that some file names can appear _before_ crash report starts. Start extracting guilty file starting from StartPos.
* pkg/report: ignore mm/memory.c as guilty fileDmitry Vyukov2018-08-291-0/+61
|
* pkg/report: fix kmalloc bug in kreallocDmitry Vyukov2018-07-161-0/+53
|
* pkg/report: don't blame kcovDmitry Vyukov2018-04-061-0/+63
| | | | kcov frame can be present in rcu stalls, ignore it.
* pkg/report: add few KMSAN report examplesDmitry Vyukov2018-03-262-0/+165
|
* pkg/report: skip mm/util.c in guilty filesDmitry Vyukov2018-02-141-0/+45
|
* pkg/report: special-case extraction of guilty file for rcu stallsDmitry Vyukov2018-02-072-4/+2
|
* pkg/report: improve report titlesDmitry Vyukov2018-02-063-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Replace stacktraceRe with custom code which is more flexible. stacktraceRe stumbled on any unrelated lines and could not properly parse truncated stacks. 2. Match report regexp earlier. If we match simler title regexp, but don't match report regexp or fail to parse stack trace, the report is corrupted. This eliminates lots of duplicate corrupted oops entries, which were there only because we had complex regexp's in titles. 3. Ignore low-level frames during stack parsing. E.g. we never want to report a GPF in lock_acquire or memcpy (somewhat similar to what we do for guilty files). 4. Add a bunch of specialized formats for WARNINGs. There is number of generic debugging facilities (like ODEBUG, debug usercopy, kobject, refcount_t, etc), and the bug is never in these facilities, it's in the caller instead. 5. Improve some other oops formats. 6. Add a bunch of additional tests. This resolves most of TODOs in tests. Fixes #515
* pkg/report: fix guilty file regexpsDmitry Vyukov2018-01-251-0/+97
|
* pkg/report: ignore kernel/workqueue.c as guilty fileDmitry Vyukov2018-01-081-2/+1
|
* pkg/report: add few more test cases where we failDmitry Vyukov2018-01-081-0/+97
|
* pkg/report: add few tests where we mis-detect title/guilty fileDmitry Vyukov2018-01-062-0/+151
|
* pkg/report: add another guilty file testDmitry Vyukov2017-12-121-0/+30
|
* pkg/report: clean guilty filesDmitry Vyukov2017-12-121-1/+1
|
* pkg/report: move guilty file test data to testdir/Dmitry Vyukov2017-12-1225-0/+838
linux_test.go is total mess and very hard to work with. Turns out we had 2 tests that do exactly the same (verify Report), but nobody ever noticed. Move all test data to testdir/. One file per crash.