diff options
| author | Sabyrzhan Tasbolatov <snovitoll@gmail.com> | 2024-09-10 22:01:03 +0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-09-10 19:45:15 +0000 |
| commit | 8ab55d0eede313b6ecc94ec419a490bbe92d27de (patch) | |
| tree | 0a3d14382d619cc9f4dcb2c6cb5704162a3ee7ed /pkg/report/testdata/linux | |
| parent | 79eef296040b4029aa0f4ae6dcf30de19f46698b (diff) | |
pkg/report: filter out false reboot reports
Strict regexp rules to avoid false reboot reports as
"Booting the kernel." should always start from the start and at the end
of line.
Also addressed in unit test the previous fix in
https://github.com/google/syzkaller/commit/026e2200.
Fixes: https://github.com/google/syzkaller/issues/3955
Diffstat (limited to 'pkg/report/testdata/linux')
| -rw-r--r-- | pkg/report/testdata/linux/report/722 | 2 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/723 | 2 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/724 | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/pkg/report/testdata/linux/report/722 b/pkg/report/testdata/linux/report/722 new file mode 100644 index 000000000..8e8ea5486 --- /dev/null +++ b/pkg/report/testdata/linux/report/722 @@ -0,0 +1,2 @@ + +[ 1164.176368][T16664] xfs: Unknown parameter ' Booting the kernel. ' diff --git a/pkg/report/testdata/linux/report/723 b/pkg/report/testdata/linux/report/723 new file mode 100644 index 000000000..ab4ac12c4 --- /dev/null +++ b/pkg/report/testdata/linux/report/723 @@ -0,0 +1,2 @@ + +[ 433.233894][T22566] fuse: Unknown parameter ' output: 0x0000000001000000 output_len: 0x000000000e544ad8 kernel_total_size: 0x000000000fa26000 needed_size: 0x000000000fc00000 trampoline_32bit: 0x000000000009d000 Decompressing Linux... Parsing ELF... done. Booting the kernel. diff --git a/pkg/report/testdata/linux/report/724 b/pkg/report/testdata/linux/report/724 new file mode 100644 index 000000000..b6ae9deb0 --- /dev/null +++ b/pkg/report/testdata/linux/report/724 @@ -0,0 +1,6 @@ + +Decompressing Linux... Parsing ELF... Performing relocations... done. +Booting the kernel (entry_offset: 0x0000000000000000). +[ 0.000000] Linux version 6.8.0 (dvyukov@dvyukov-glaptop2) (gcc (Debian 13.2.0-10) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41.90.20240122) #1 SMP PREEMP4 +[ 0.000000] Command line: console=ttyS0 oops=panic panic_on_warn=1 panic=86400 earlyprintk=serial net.ifnames=0 biosdevname=0 root=/dev/sda1 +[ 0.000000] BIOS-provided physical RAM map: |
