syzkaller/pkg/compiler
Dmitry Vyukov 2b084c9886 pkg/csource: use 0 for missing syscall args
We don't specify trailing unused args for some syscalls
(e.g. ioctl that does not use its arg).
Executor always filled tailing unsed args with 0's
but pkg/csource didn't. Some such syscalls actually
check that the unsed arg is 0 and as the result failed with C repro.

We could statically check and eliminate all such cases,
but it turns out the warning fires in 1500+ cases:
a3ace5a63f/gistfile1.txt

So instead fill such args with 0's in pkg/csource too.
2018-12-27 13:11:57 +01:00
..
testdata executor: fix handling of big-endian bitfields 2018-12-08 19:08:08 +01:00
check.go executor: fix handling of big-endian bitfields 2018-12-08 19:08:08 +01:00
compiler_test.go pkg/compiler: add error handler in CollectUnused 2018-11-21 02:37:06 +01:00
compiler.go pkg/compiler: add error handler in CollectUnused 2018-11-21 02:37:06 +01:00
consts_test.go pkg/compiler: check for unused declarations 2018-06-30 19:34:41 +02:00
consts.go gometalinter: clean up vetshadow 2018-07-31 20:38:33 +02:00
fuzz.go executor: overhaul 2018-07-24 12:04:27 +02:00
gen.go pkg/csource: use 0 for missing syscall args 2018-12-27 13:11:57 +01:00
types.go executor: fix handling of big-endian bitfields 2018-12-08 19:08:08 +01:00