[google/syzkaller] e2556b: pkg/report: skip over `assertfail` in log parsing

1 view
Skip to first unread message

Hrutvik Kanabar

unread,
Sep 28, 2022, 5:00:50 AMSep 28
to syzk...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/google/syzkaller
Commit: e2556bc3d5922d083190922a5f66f1db91687492
https://github.com/google/syzkaller/commit/e2556bc3d5922d083190922a5f66f1db91687492
Author: Hrutvik Kanabar <hru...@google.com>
Date: 2022-09-28 (Wed, 28 Sep 2022)

Changed paths:
M pkg/report/linux.go
A pkg/report/testdata/linux/report/656

Log Message:
-----------
pkg/report: skip over `assertfail` in log parsing

The `assertfail` function is defined in `fs/btrfs/ctree.h`
(https://elixir.bootlin.com/linux/v5.19.11/source/fs/btrfs/ctree.h#L3616).
It is used over 650 times within `fs/btrfs` as part of the `ASSERT`
macro. Without special handling of `assertfail` in log parsing, many
different errors are grouped into a single category.

This commit therefore skips over `assertfail` and adds a test to check
this new behaviour. In particular, the test is a truncated `syzbot` log
which previously showed the `BUG` as originating from `assert_fail`.


Reply all
Reply to author
Forward
0 new messages