aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-check/dwarf.go
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-linter: fix comments checkDmitry Vyukov2020-07-101-1/+1
| | | | | | | Turns out ast.Inspect does not visit most comments. Walk file.Comments manually. Update #1876
* tools/syz-check: fix bug with struct name overwriteDmitry Vyukov2020-06-131-12/+16
| | | | | | | We patched name in struct object, but the dwarf package caches then and then can return in subsequent invocations. This causes a struct name to be overwritten by typedef name. Don't mutate returned struct objects.
* tools/syz-check: check amd64 and 386 at the same timeDmitry Vyukov2019-12-221-1/+4
| | | | Update #590
* tools/syz-check: add description checking utilityDmitry Vyukov2019-12-171-0/+202
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