syzkaller/pkg/ipc
Dmitry Vyukov 8285069f89 executor: implement support for leak checking
Leak checking support was half done and did not really work.
This is heavy-lifting to make it work.

1. Move leak/fault setup into executor.
pkg/host was a wrong place for them because we need then in C repros too.
The pkg/host periodic callback functionality did not work too,
we need it in executor so that we can reuse it in C repros too.
Remove setup/callback functions in pkg/host entirely.

2. Do leak setup/checking in C repros.
The way leak checking is invoked is slightly different from fuzzer,
but much better then no support at all.
At least the checking code is shared.

3. Add Leak option to pkg/csource and -leak flag to syz-prog2c.

4. Don't enalbe leak checking in fuzzer while we are triaging initial corpus.
It's toooo slow.

5. Fix pkg/repro to do something more sane for leak bugs.

Few other minor fixes here and there.
2019-05-20 19:40:20 +02:00
..
ipcconfig pkg/ipc: move sandbox helpers from ipcconfig 2018-12-10 16:37:02 +01:00
gate.go pkg/ipc: move from ipc 2017-06-17 14:41:15 +02:00
ipc_test.go all: fix warnings pointed to by golangci-lint 2019-03-28 15:30:18 +01:00
ipc.go executor: implement support for leak checking 2019-05-20 19:40:20 +02:00