aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_rose.txt.warn
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-check: add limited checking of varlen structsDmitry Vyukov2020-01-231-1/+0
| | | | | | | | Stop at the fist varlen field, but check the preceeding ones. Frequently the varlen array is the last field, so we should get good checking for these cases. Update #590
* tools/syz-check: check amd64 and 386 at the same timeDmitry Vyukov2019-12-221-3/+3
| | | | Update #590
* pkg/compiler: fix incorrect alignment calculation for paddingDmitry Vyukov2019-12-181-4/+0
| | | | | | | | | | | | | | We assumed that for ConstType alignment is equal to size, which is perfectly reasonable for normal int8/16/32/64/ptr. However, padding is also represented by ConstType of arbitrary size, so if we added 157 bytes of padding that becomes alignment of the padding field and as the result of the whole struct. This affects very few structs, but quite radically and quite important structs. Discovered thanks to syz-check. Update #590
* tools/syz-check: don't print our/kernel field name twice if equalDmitry Vyukov2019-12-181-3/+3
|
* tools/syz-check: don't print line numbers for warningsDmitry Vyukov2019-12-181-7/+7
| | | | | Line numbers create huge diffs when lines change slightly. That's very unhandy b/c we want to look at added/removed warnings.
* tools/syz-check: add description checking utilityDmitry Vyukov2019-12-171-0/+7
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