aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux
Commit message (Collapse)AuthorAgeFilesLines
* pkg/report: skip list functions during function extractionDmitry Vyukov2018-04-016-0/+1055
| | | | | List functions are very generic and we see lots of different bug merged into "bug-type in list_function".
* pkg/report: detect corrupted task hung reportsDmitry Vyukov2018-04-011-0/+33
|
* pkg/report: add few KMSAN report examplesDmitry Vyukov2018-03-265-1/+332
|
* pkg/report: add another testDmitry Vyukov2018-03-191-0/+101
|
* pkg/report: fix crash during output parsingDmitry Vyukov2018-03-081-0/+9
| | | | | | The test case causes rep.StartPos == secondReportPos, which then makes extraction of description fail, because report is empty.
* pkg/report: improve invalid-free format and ignore more mutex-related functionsDmitry Vyukov2018-03-072-0/+175
|
* pkg/report: improve KASAN report parsingDmitry Vyukov2018-03-064-2/+280
| | | | | | The problem is with "BUG: KASAN: (.*)" match which matches just anything however much it is corrupted. Mark this match as corrupted.
* pkg/report: add format for "workqueue leaked lock or atomic" crashesDmitry Vyukov2018-02-202-0/+37
|
* pkg/report: improve ODEBUG bug reportsDmitry Vyukov2018-02-191-0/+92
|
* pkg/report: skip mm/util.c in guilty filesDmitry Vyukov2018-02-142-0/+134
|
* pkg/report: improve corrupted report detectionDmitry Vyukov2018-02-124-1/+662
| | | | | | | Detect informational kernel reports that are not bugs in itself, but contain stack traces. If we see them in the middle of another report, we know stacks are intermixed and the report is potentially corrupted.
* pkg/report: harden more against corrupted reportsDmitry Vyukov2018-02-101-0/+157
|
* pkg/report: better titles for some kmalloc bugsDmitry Vyukov2018-02-103-0/+389
|
* pkg/report: special-case extraction of guilty file for rcu stallsDmitry Vyukov2018-02-072-4/+2
|
* pkg/report: improve guilty frame extractionDmitry Vyukov2018-02-075-8/+3
| | | | | | | | | | 1. Make extractStackFrame more picky about stray frames. This fixes some TODO's in tests where we matched completley unrelated frames printed by another task. 2. Extract KASAN guilty frame from report header if the frame should not be skipped (e.g. not __lock_acquire). This makes parsing more tolerant to corrupted reports.
* pkg/report: detect when several reports are intermixedDmitry Vyukov2018-02-078-5/+1045
| | | | | | | If there are more than one report, detect where the second report starts and extract description only from the first report. There are too many cases where several reports gets intermixed and as the result we extract bogus description.
* pkg/report: fix KASAN report parsingDmitry Vyukov2018-02-064-2/+121
| | | | | We did not skip kasan_check_read. Also don't let stack parsing to silently sink to another stack trace.
* pkg/report: improve report titlesDmitry Vyukov2018-02-0695-184/+5243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: add more TODO casesDmitry Vyukov2018-02-013-0/+376
|
* pkg/report: fix guilty file regexpsDmitry Vyukov2018-01-251-0/+97
|
* pkg/report: add another negative test caseDmitry Vyukov2018-01-181-0/+117
|
* pkg/report: allow up to 15 lines from "Call Trace" to first frameDmitry Vyukov2018-01-183-4/+67
| | | | Fixes a bunch of reports incorrectly marked as corrupted.
* pkg/report: add another TODO test caseDmitry Vyukov2018-01-151-0/+162
|
* pkg/report: add test where we fail to provide good titleDmitry Vyukov2018-01-111-0/+90
|
* syz-manager: add comment explaining why we don't set corrupted for reprosDmitry Vyukov2018-01-101-0/+24
|
* syz-fuzzer: improve kmemleak supportDmitry Vyukov2018-01-096-5/+54
| | | | | | | | Don't print object size (can change from kernel to kernel and from config to config). Fix function extraction regexp (must be non-eager). Account for MSECS_MIN_AGE. Ignore some known false positives.
* 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-083-0/+297
|
* pkg/report: add tests where we produce bad titleDmitry Vyukov2018-01-063-0/+245
|
* pkg/report: add few tests where we mis-detect title/guilty fileDmitry Vyukov2018-01-063-0/+432
|
* pkg/report: don't treat CONFIG_DEBUG_OBJECTS debug output as bugsDmitry Vyukov2018-01-061-0/+2
|
* pkg/report: add more cases where we fail to parse reportsDmitry Vyukov2017-12-274-0/+354
|
* pkg/report: add test where we fail to detect guilty functionDmitry Vyukov2017-12-191-0/+58
|
* pkg/report: add test where we fail to detect corrupted reportDmitry Vyukov2017-12-191-0/+14
|
* pkg/report: add test for a bug in report parsingDmitry Vyukov2017-12-181-0/+42
|
* pkg/report: add another testDmitry Vyukov2017-12-171-0/+17
|
* pkg/report: fix __this_cpu_* report header call trace captureAndrey Konovalov2017-12-131-0/+30
|
* pkg/report: add another corruped report formatDmitry Vyukov2017-12-121-0/+82
|
* pkg/report: add another guilty file testDmitry Vyukov2017-12-121-0/+30
|
* pkg/report: add few more corrupted reportsDmitry Vyukov2017-12-122-0/+127
|
* pkg/report: improve using __this_cpu_add() in preemptible code reportDmitry Vyukov2017-12-122-3/+18
|
* pkg/report: handle syzkaller binariesDmitry Vyukov2017-12-121-0/+48
| | | | syzkallerNNN binaries are coming from pkg/repro.
* pkg/report: clean guilty filesDmitry Vyukov2017-12-121-1/+1
|
* pkg/report: merge TestLinuxParseLog into TestParseDmitry Vyukov2017-12-124-0/+129
| | | | | | | | That was the last test that used inline input data. Merge it into TestParse. Test Output for all crashes in TestParse. Support multiple oopes in crash Add more test cases for start/end line.
* 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.
* pkg/report: move test data to testdir/Dmitry Vyukov2017-12-12130-0/+2420
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.