syzkaller/sys/netbsd
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
..
gen pkg/csource: use 0 for missing syscall args 2018-12-27 13:11:57 +01:00
fs_amd64.const Lots of changes to sys/netbsd (#397) 2017-10-25 09:27:47 +02:00
fs.txt sys: consistently mark all paddings as const[0] 2018-12-10 16:37:02 +01:00
init.go sys/netbsd: use posix helper instead of copy-pasted code 2018-08-25 09:05:51 -07:00
ipc_amd64.const Add two new syscalls shmctl and msgctl 2017-10-30 18:57:38 +01:00
ipc.txt Added a few more syscall descriptions, consts 2017-10-30 18:57:38 +01:00
mm_amd64.const sys: check that target consts are defined 2018-10-19 19:11:22 +01:00
mm.txt sys: check that target consts are defined 2018-10-19 19:11:22 +01:00
socket_amd64.const Added a few more syscall descriptions, consts 2017-10-30 18:57:38 +01:00
socket_inet6_amd64.const sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_inet6.txt sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_inet_amd64.const sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_inet.txt sys: remove socketpair for AF_INET and AF_INET6 2018-12-04 08:58:22 +00:00
socket_unix_amd64.const Added a few more syscall descriptions, consts 2017-10-30 18:57:38 +01:00
socket_unix.txt sys: check that target consts are defined 2018-10-19 19:11:22 +01:00
socket.txt sys/netbsd: fix socketpair usage 2018-12-09 15:31:32 +01:00
sys_amd64.const sys: check that target consts are defined 2018-10-19 19:11:22 +01:00
sys.txt sys/linux: add syz_execute_func 2018-08-30 21:45:04 -07:00