From 64ca0a371100fc7dfdb20de9263763e46c88a436 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 9 Dec 2019 07:42:48 +0100 Subject: tools/syz-check: add description checking utility syz-check parses vmlinux dwarf, extracts struct descriptions, compares them with what we have (size, fields, alignment, etc) and produces .warn files. This is first raw version, it can be improved in a number of ways. But it already helped to identify a critical issue #1542 and shows some wrong struct descriptions. Update #590 --- sys/linux/socket_netrom.txt.warn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sys/linux/socket_netrom.txt.warn (limited to 'sys/linux/socket_netrom.txt.warn') diff --git a/sys/linux/socket_netrom.txt.warn b/sys/linux/socket_netrom.txt.warn new file mode 100644 index 000000000..45803e38a --- /dev/null +++ b/sys/linux/socket_netrom.txt.warn @@ -0,0 +1,3 @@ +0038: struct address_netrom_dev: no corresponding struct in kernel +0048: struct nr_route_struct: bad size: syz=120 kernel=112 +0051: field nr_route_struct.device/device: bad offset: syz=12 kernel=11 -- cgit mrf-deployment