syzkaller/prog
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
..
alloc_test.go .gometalinter.json: enable gofmt 2018-07-31 12:16:54 +02:00
alloc.go prog: rework address allocation 2018-02-19 21:48:20 +01:00
analysis.go prog: prevent sandbox escaping files from entering s.files 2018-11-27 13:16:05 +01:00
any_test.go prog: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
any.go prog, pkg/compiler: support fmt type 2018-07-08 22:52:24 +02:00
checksum_test.go pkg/csource: fix handling of proc types 2017-12-22 11:59:46 +01:00
checksum.go prog: refactor SerializeForExec 2018-08-02 16:57:31 +02:00
clone.go prog: introduce debugValidate 2018-08-02 16:57:31 +02:00
decl_test.go prog: more precise constructor calculation 2018-06-18 19:45:48 +02:00
decodeexec.go prog, pkg/csource: more readable serialization for strings 2018-12-15 15:17:13 +01:00
encoding_test.go prog, pkg/csource: more readable serialization for strings 2018-12-15 15:17:13 +01:00
encoding.go prog, pkg/csource: more readable serialization for strings 2018-12-15 15:17:13 +01:00
encodingexec_test.go prog: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
encodingexec.go prog, pkg/csource: more readable serialization for strings 2018-12-15 15:17:13 +01:00
export_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
generation.go prog: introduce debugValidate 2018-08-02 16:57:31 +02:00
hints_test.go executor: overhaul 2018-07-24 12:04:27 +02:00
hints.go prog: introduce debugValidate 2018-08-02 16:57:31 +02:00
minimization_test.go prog: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
minimization.go prog: export Type.DefaultArg 2018-12-06 18:55:46 +01:00
mutation_test.go prog: implement strict parsing mode 2018-12-10 16:37:01 +01:00
mutation.go prog: add concept of "special pointers" 2018-08-30 21:45:03 -07:00
norace_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
parse_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
parse.go prog: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
prio_test.go prog: fix corner case in normalizePrio 2018-08-30 21:44:00 -07:00
prio.go prog: detect invalid target.Syscalls in BuildChoiceTable 2018-12-11 11:14:20 +01:00
prog_test.go prog: implement strict parsing mode 2018-12-10 16:37:01 +01:00
prog.go tools/syz-trace2syz/proggen: replace memoryTracker with prog.memAlloc 2018-12-07 12:44:45 +01:00
race_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
rand_test.go prog: prevent sandbox escaping files from entering s.files 2018-11-27 13:16:05 +01:00
rand.go prog: export Type.DefaultArg 2018-12-06 18:55:46 +01:00
resources.go all: fix code formatting 2018-10-16 13:57:24 +02:00
size_test.go prog: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
size.go prog: support AUTO args in programs 2018-12-10 16:37:02 +01:00
target.go prog: support AUTO args in programs 2018-12-10 16:37:02 +01:00
types.go pkg/csource: use 0 for missing syscall args 2018-12-27 13:11:57 +01:00
validation.go prog: add Prog.Finalize 2018-12-06 18:56:08 +01:00