From 9d0132a2fb379f6464ea0c08c98e77d361eb564d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Dec 2017 11:58:52 +0100 Subject: pkg/report: move guilty file test data to testdir/ 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/testdata/linux/guilty/9 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkg/report/testdata/linux/guilty/9 (limited to 'pkg/report/testdata/linux/guilty/9') diff --git a/pkg/report/testdata/linux/guilty/9 b/pkg/report/testdata/linux/guilty/9 new file mode 100644 index 000000000..654df70c6 --- /dev/null +++ b/pkg/report/testdata/linux/guilty/9 @@ -0,0 +1,29 @@ +FILE: net/core/rtnetlink.c + +================================================================== +BUG: KMSAN: use of unitialized memory in rtnl_fdb_dump+0x5dc/0x1000 +CPU: 0 PID: 1039 Comm: probe Not tainted 4.11.0-rc5+ #2727 +Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 +Call Trace: + __dump_stack lib/dump_stack.c:16 + dump_stack+0x143/0x1b0 lib/dump_stack.c:52 + kmsan_report+0x12a/0x180 mm/kmsan/kmsan.c:1007 + __kmsan_warning_32+0x66/0xb0 mm/kmsan/kmsan_instr.c:491 + rtnl_fdb_dump+0x5dc/0x1000 net/core/rtnetlink.c:3230 + netlink_dump+0x84f/0x1190 net/netlink/af_netlink.c:2168 + __netlink_dump_start+0xc97/0xe50 net/netlink/af_netlink.c:2258 + netlink_dump_start ./include/linux/netlink.h:165 + rtnetlink_rcv_msg+0xae9/0xb40 net/core/rtnetlink.c:4094 + netlink_rcv_skb+0x339/0x5a0 net/netlink/af_netlink.c:2339 + rtnetlink_rcv+0x83/0xa0 net/core/rtnetlink.c:4110 + netlink_unicast_kernel net/netlink/af_netlink.c:1272 + netlink_unicast+0x13b7/0x1480 net/netlink/af_netlink.c:1298 + netlink_sendmsg+0x10b8/0x10f0 net/netlink/af_netlink.c:1844 + sock_sendmsg_nosec net/socket.c:633 + sock_sendmsg net/socket.c:643 + ___sys_sendmsg+0xd4b/0x10f0 net/socket.c:1997 + __sys_sendmsg net/socket.c:2031 + SYSC_sendmsg+0x2c6/0x3f0 net/socket.c:2042 + SyS_sendmsg+0x87/0xb0 net/socket.c:2038 + do_syscall_64+0x102/0x150 arch/x86/entry/common.c:285 + entry_SYSCALL64_slow_path+0x25/0x25 arch/x86/entry/entry_64.S:246 -- cgit mrf-deployment