diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-12-09 07:42:48 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-12-17 19:03:39 +0100 |
| commit | 64ca0a371100fc7dfdb20de9263763e46c88a436 (patch) | |
| tree | 0e417568271dbbcc5817034a624a31d62bf20633 /sys/linux/socket_rds.txt.warn | |
| parent | f950e82d47572b79581fd6b8355504cddb06a7f4 (diff) | |
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
Diffstat (limited to 'sys/linux/socket_rds.txt.warn')
| -rw-r--r-- | sys/linux/socket_rds.txt.warn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/linux/socket_rds.txt.warn b/sys/linux/socket_rds.txt.warn new file mode 100644 index 000000000..22ad23da6 --- /dev/null +++ b/sys/linux/socket_rds.txt.warn @@ -0,0 +1,6 @@ +0027: struct msghdr_rds: no corresponding struct in kernel +0064: struct rds_atomic_args: bad number of fields: syz=9 kernel=6 +0068: field rds_atomic_args.arg1/: bad size: syz=8 kernel=32 +0069: field rds_atomic_args.arg2/flags: bad offset: syz=32 kernel=56 +0070: field rds_atomic_args.mask1/user_token: bad offset: syz=40 kernel=64 +0104: struct rds_rdma_cookie_t: no corresponding struct in kernel |
