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_rose.txt.warn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sys/linux/socket_rose.txt.warn (limited to 'sys/linux/socket_rose.txt.warn') diff --git a/sys/linux/socket_rose.txt.warn b/sys/linux/socket_rose.txt.warn new file mode 100644 index 000000000..0744e6650 --- /dev/null +++ b/sys/linux/socket_rose.txt.warn @@ -0,0 +1,7 @@ +0051: struct rose_address: bad number of fields: syz=2 kernel=1 +0057: struct rose_address_remote: no corresponding struct in kernel +0066: struct rose_address_dev: no corresponding struct in kernel +0074: struct rose_route_struct: bad size: syz=108 kernel=88 +0078: field rose_route_struct.device/device: bad offset: syz=24 kernel=15 +0079: field rose_route_struct.ndigis/ndigis: bad offset: syz=40 kernel=31 +0080: field rose_route_struct.digipeaters/digipeaters: bad offset: syz=41 kernel=32 -- cgit mrf-deployment