Commit Graph

3309 Commits

Author SHA1 Message Date
Dmitry Vyukov
48d0a3662e tools/stress: minor improvements 2015-12-17 14:38:46 +01:00
Dmitry Vyukov
c4b809f85f sys: add support for PF_ALG 2015-12-17 14:38:46 +01:00
Dmitry Vyukov
db6bf8626d detect UBSAN error reports 2015-12-17 14:38:46 +01:00
Dmitry Vyukov
d3c088db4a Merge pull request #7 from daviddrysdale/doc-update
Tweaks for current syzkaller
2015-12-16 16:48:13 +01:00
David Drysdale
6b2d1faa49 Cope with missing /sys/kernel/debug/kmemleak
If the kernel under test has not been built with kmemleak support,
then the debugfs file will not exist.  If memory leak detection is
not turned on, then keep going in this situation.
2015-12-16 12:58:36 +00:00
David Drysdale
9d3f6209bf Mention need for mounted debugfs 2015-12-16 09:47:38 +00:00
Dmitry Vyukov
22e64dbcb7 Merge pull request #6 from daviddrysdale/doc-update
Update diagram to match new location of coverage info
2015-12-14 09:33:37 +01:00
David Drysdale
513967f409 Update diagram to match new location of coverage info
Commmit bb158eaeab shifted to use new location where
coverage information gets emitted from the kernel (from
/proc/cover to /sys/kernel/debug/kcov) so update the process
structure diagram to match.
2015-12-14 08:04:16 +00:00
Dmitry Vyukov
8393d85f8c Update README.md 2015-12-09 15:16:40 +01:00
Dmitry Vyukov
9741cba56b Update README.md 2015-12-04 19:32:35 +01:00
Dmitry Vyukov
cf2089138e support kmemleak
If you set "leak":true in manager config, it will do leak checking.
It's quite slow, though. Also there seems to be false positives
and/or non-reproducible leaks.
2015-12-03 20:38:33 +01:00
Dmitry Vyukov
d823a9221a executor: switch to ioctl's instead of writes 2015-12-03 20:30:20 +01:00
Dmitry Vyukov
b7800fb0a2 sys: describe some additional syscalls 2015-12-03 20:03:50 +01:00
Dmitry Vyukov
f881e7de45 executor: execute mount under root 2015-11-30 17:18:12 +01:00
Dmitry Vyukov
a63ac433ab sys: add userfaultfd syscall 2015-11-30 16:31:45 +01:00
Dmitry Vyukov
d45c28cdcf sys: fix description of perf attribute 2015-11-29 16:36:30 +01:00
Dmitry Vyukov
81de33fab1 add perf ioctl's 2015-11-29 13:19:10 +01:00
Dmitry Vyukov
b94cd3038a add support for perf events 2015-11-29 12:19:58 +01:00
Dmitry Vyukov
9d1895c1bd add support for bpf syscall 2015-11-29 11:05:08 +01:00
Dmitry Vyukov
83ec77a110 sys: start collecting packages with required headers 2015-11-29 08:39:57 +01:00
Dmitry Vyukov
d46a9039a5 executor: fix build 2015-11-29 08:38:59 +01:00
Dmitry Vyukov
bb158eaeab executor: switch to new coverage 2015-11-28 19:00:33 +01:00
Dmitry Vyukov
8bda33214d execprog: rate limit printing
Otherwise it happen too frequently when executing a single program in a loop.
2015-11-28 11:27:44 +01:00
Dmitry Vyukov
b1e98de8a6 fuzzer: parallel execution mode
Config now have procs parameter that controls number
of parallel executor's running in each VM.
2015-11-26 15:56:18 +01:00
Dmitry Vyukov
e1094916ac master: fix deadlock during corpus minimization
Manager can concurrently send RPCs to master, which will deadlock.
2015-11-23 22:09:45 +01:00
Dmitry Vyukov
56c4aa20ce fuzzer: update maxCover 2015-11-23 20:49:57 +01:00
Dmitry Vyukov
7bc6ed36f3 fuzzer: remove unused variables 2015-11-23 20:44:03 +01:00
Dmitry Vyukov
d37e2a3325 add another builtin suppression 2015-11-23 20:35:08 +01:00
Dmitry Vyukov
83e92abf50 tools/stress: support missing flags 2015-11-23 17:08:53 +01:00
Dmitry Vyukov
22660a2f95 ipc: fix potential nil deref in command.close 2015-11-23 17:08:53 +01:00
Dmitry Vyukov
ae326c0555 Update README.md 2015-11-23 17:01:47 +01:00
Dmitry Vyukov
8899663297 Merge pull request #3 from daviddrysdale/doc-update
README update
2015-11-23 23:59:48 +08:00
Dmitry Vyukov
b0131d4eef manager: add support for suppressions
There are always some known bugs...
2015-11-20 19:58:27 +01:00
Dmitry Vyukov
11b28f5166 prog: allow comments in programs
Useful for manual program minimization.
2015-11-20 15:40:59 +01:00
Dmitry Vyukov
fb92c67d9d executor: prevent programs to mess with fuzzer fds 2015-11-20 15:39:50 +01:00
Dmitry Vyukov
6c48b5b4ef add various statistics to http interface 2015-11-19 19:02:30 +01:00
Dmitry Vyukov
7677b07a71 mark kdbus fd's as so 2015-11-19 17:27:23 +01:00
Dmitry Vyukov
4784f4f6f5 add fuse support 2015-11-19 17:16:36 +01:00
David Drysdale
4d1c8135ff Add more details to README, add diagram 2015-11-19 15:17:54 +00:00
Dmitry Vyukov
93f8cc38aa executor: don't wait for pending calls if there are none 2015-11-19 11:50:04 +01:00
Dmitry Vyukov
6a76998e5e executor: fix detection of last call 2015-11-19 10:29:17 +01:00
Dmitry Vyukov
485651138e executor: fix detection of out of threads 2015-11-19 10:26:37 +01:00
Dmitry Vyukov
f67856dae0 allow executor execute particular syscalls under root
this is required to test e.g. fuse fs (non-root can't mount)
2015-11-18 21:33:15 +01:00
Dmitry Vyukov
495113290e basic support for dri/drm drivers 2015-11-18 21:22:17 +01:00
Dmitry Vyukov
be856bc9e4 allow local vm to not call setuid (not necessary if started not under root) 2015-11-18 16:30:29 +01:00
Dmitry Vyukov
016b19c61c fix waiting for worker processes in executor
+ disable SIGCANCEL/SIGSETXID signal handlers
2015-11-18 15:08:42 +01:00
Dmitry Vyukov
6892001bbc add tty-related ioctl's 2015-11-16 19:14:05 +01:00
Dmitry Vyukov
3716eb3830 format go files simpler 2015-11-10 20:32:03 +01:00
Dmitry Vyukov
0165a4b2e4 use fork server in executor
This avoids exec per test.
Also allows to pre-map shared memory regions.
And will allow to pre-map coverage regions, etc.

Seems to work already, but probably there are still some bugs.
2015-11-10 20:30:50 +01:00
Dmitry Vyukov
d3e457e285 use futex instead of spin wait
Spinning is bad. Also pollutes strace output.
2015-11-10 14:32:46 +01:00