syzkaller/pkg
Dmitry Vyukov 02754a8f9a tools/syz-check: check netlink policy descriptions
Overall idea of netlink checking.
Currnetly we check netlink policies for common detectable mistakes.
First, we detect what looks like a netlink policy in our descriptions
(these are structs/unions only with nlattr/nlnext/nlnetw fields).
Then we find corresponding symbols (offset/size) in vmlinux using nm.
Then we read elf headers and locate where these symbols are in the rodata section.
Then read in the symbol data, which is an array of nla_policy structs.
These structs allow to easily figure out type/size of attributes.
Finally we compare our descriptions with the kernel policy description.

Update #590
2020-01-22 12:19:53 +01:00
..
ast pkg/ast: unexport Node.Walk() 2019-10-23 10:22:35 +02:00
bisect pkg/bisect: minor refactoring 2019-12-10 12:35:10 +01:00
build pkg/build: Fix always true case 2019-12-17 15:02:51 +01:00
compiler pkg/compiler: don't mark flags with 0 as bitmask 2020-01-18 21:02:24 +01:00
config pkg/mgrconfig: do not serialize optional fields 2019-01-16 14:49:47 +01:00
cover tools/syz-check: check netlink policy descriptions 2020-01-22 12:19:53 +01:00
csource sys/linux: add more device descriptions (geneve, lowpan, ipoib, cfhsi) 2020-01-19 13:51:21 +01:00
db pkg/db: moved ReadCorpus function to avoid duplicate code 2019-09-23 15:35:26 +02:00
email pkg/email: accept #syz- prefix for commands 2020-01-07 14:32:50 +01:00
gce pkg/gce: fix creation of non-preemptible E2 instances 2019-12-18 09:11:16 +01:00
gcs syz-ci: upload coverage reports to GCS 2018-09-20 18:29:38 +02:00
hash pkg/hash: allow to hash multiple byte slices 2017-07-21 10:06:46 +02:00
host pkg/host: fix detection of enabled LSMs 2020-01-05 17:48:19 +01:00
html dashboard/app: allow reporting of BisectFix results 2019-08-30 19:50:12 -07:00
ifuzz pkg/ifuzz: update to latest intelxed 2019-06-23 15:10:27 +02:00
instance syz/targets: add SyzExecutorCmd flag 2019-12-09 15:13:49 -08:00
ipc pkg/ipc: don't use rate limiting for test os 2019-12-18 16:35:53 +01:00
kd pkg/kd: add KD protocol decoder 2017-09-28 16:53:58 +02:00
log pkg/log: rename -v to -vv 2019-07-16 11:18:12 +02:00
mgrconfig vm: add workdir_template functionality 2019-12-03 18:48:14 +01:00
osutil Implement basic support for MIPS64LE 2019-12-17 11:10:52 +01:00
report tools/syz-check: check netlink policy descriptions 2020-01-22 12:19:53 +01:00
repro pkg/repro: simplify C repros over DevlinkPCI 2020-01-07 10:02:02 +01:00
rpctype syz-fuzzer, executor: Add support for blacklisting data race frames 2019-10-22 17:48:18 +02:00
runtest tools/syz-runtest: debug all programs in debug mode 2019-12-16 19:37:38 +01:00
serializer pkg/serializer: refactor 2018-08-02 16:57:31 +02:00
signal syz-manager: corpus rotation 2019-12-30 16:37:38 +01:00
symbolizer tools/syz-check: check netlink policy descriptions 2020-01-22 12:19:53 +01:00
vcs pkg/vcs: disable CONFIG_DEBUG_KOBJECT during bisection 2020-01-16 11:31:02 +01:00