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/io_uring.txt.warn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sys/linux/io_uring.txt.warn (limited to 'sys/linux/io_uring.txt.warn') diff --git a/sys/linux/io_uring.txt.warn b/sys/linux/io_uring.txt.warn new file mode 100644 index 000000000..7c3c1da32 --- /dev/null +++ b/sys/linux/io_uring.txt.warn @@ -0,0 +1,5 @@ +0031: struct io_uring_params: bad number of fields: syz=8 kernel=9 +0037: field io_uring_params.resv/features: bad size: syz=20 kernel=4 +0038: field io_uring_params.sq_off/resv: bad offset: syz=40 kernel=24 +0038: field io_uring_params.sq_off/resv: bad size: syz=40 kernel=16 +0039: field io_uring_params.cq_off/sq_off: bad offset: syz=80 kernel=40 -- cgit mrf-deployment