aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/testdata/linux/decompile
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-08-03 18:03:25 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-08-13 20:00:57 +0200
commit2489ab887a86e8b1b253aef742e365a606db3a4f (patch)
tree68d9bc86958b784f14435636d0e6c1e82ec4afd6 /pkg/report/testdata/linux/decompile
parent3fd2ea69e05557e7e0fef9b68263b4150670671c (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/linux/decompile')
0 files changed, 0 insertions, 0 deletions