diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-08-03 18:03:25 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-08-13 20:00:57 +0200 |
| commit | 2489ab887a86e8b1b253aef742e365a606db3a4f (patch) | |
| tree | 68d9bc86958b784f14435636d0e6c1e82ec4afd6 /pkg/report/testdata/fuchsia | |
| parent | 3fd2ea69e05557e7e0fef9b68263b4150670671c (diff) | |
pkg/report: do more agressive NUM-replacement
Replace not just long sequences of digits in report titles, but every
sequence of '0'-'9' that is not surrounded by word characters.
As such matches will overlap and Go does not (currently?) support regexp
lookarounds, do the replacement multiple times until there is nothing
more to do. This should not slow down syzkaller, since this code is
only invoked during crash processing.
Restrict LINE replacement only to fragments that have a preceeding file
name. This prevents replacements like [1:2] -> [NUM:LINE].
Diffstat (limited to 'pkg/report/testdata/fuchsia')
| -rw-r--r-- | pkg/report/testdata/fuchsia/report/23 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/report/testdata/fuchsia/report/23 b/pkg/report/testdata/fuchsia/report/23 index c988f3cae..0b8731848 100644 --- a/pkg/report/testdata/fuchsia/report/23 +++ b/pkg/report/testdata/fuchsia/report/23 @@ -1,4 +1,4 @@ -TITLE: ASSERT FAILED: thread_resched_disable_count() > 0 +TITLE: ASSERT FAILED: thread_resched_disable_count() > NUM ZIRCON KERNEL PANIC panic (caller 0xffffffff00150518 frame 0xffffff953a957d50): DEBUG ASSERT FAILED at (kernel/include/kernel/thread.h:452): thread |
