Commit Graph

1550 Commits

Author SHA1 Message Date
Dmitry Vyukov
b95ad23cfe Update README.md 2015-11-05 19:44:47 +01:00
Dmitry Vyukov
54d87b89ea enable dropprivs in fuzzer 2015-11-05 10:31:05 +01:00
Dmitry Vyukov
a7d2a521f3 support dropprivs in execlog/execprog 2015-11-05 10:30:39 +01:00
Dmitry Vyukov
f563cc395b minor improvements for kvm 2015-11-05 10:30:08 +01:00
Dmitry Vyukov
786414e8e9 don't emit unnecessary info into crash log
This was necessary because there was a bug in log offset calculation.
Not the bug is fixed and the additional output makes it harder to grep logs.
2015-11-04 20:23:48 +01:00
Dmitry Vyukov
9ef3f5494e fix crash report extraction from logs 2015-10-20 17:44:56 +02:00
Dmitry Vyukov
9c10c5a1fb fix crash report extraction from logs 2015-10-20 17:43:56 +02:00
Dmitry Vyukov
0750245eea experimental functionality to impersonate nobody user in executor 2015-10-20 17:43:02 +02:00
Dmitry Vyukov
8264f54f5e improve lkvm support (still does not quite work) 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
727e8240ff read corpus from a zip archive in stress tool 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
e9cf3f5aa1 minor tweaks to program generation heuristics 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
b0a24e2466 don't generate pthread(PTRACE_TRACEME) due to a known issue 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
9a3bf1a7c7 open /proc/cover only once in executor
First, it is just not necessary to open it multiple times.
But more importantly a program can close fds that it previosuly used:

r0 = open(...)
close(r0)
close(r0)

and this can close cover fds created in threaded mode.
2015-10-20 15:46:04 +02:00
Dmitry Vyukov
304c1de389 add threaded and timeout flags to execlog 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
a8c682fe99 dump executor output directly to console when debug
Otherwise there is no way to see the output if executor hangs dead.
2015-10-20 15:46:04 +02:00
Dmitry Vyukov
505473bd9b allow to specify timeout in execprog 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
74f5340ea6 allow to run local vm without coverage 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
30c9c31819 refactor enabled syscall handling 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
95fb739d94 aggregate vm params into a single struct (for ease of extension) 2015-10-20 15:46:04 +02:00
Dmitry Vyukov
3f6daab6e4 Update README.md 2015-10-19 10:55:34 +02:00
Dmitry Vyukov
62ed8ca7b6 don't trim programs on syscall that gives new coverage
Threaded execution mode can execute following syscalls and they can affect
coverage of the call in question. Trimming should be handled by minimization.
2015-10-16 22:35:16 +02:00
Dmitry Vyukov
fb190a7fb9 remove ability to execute tests in parallel in fuzzer
it consumes more memory and makes it difficult to find crashing input
2015-10-16 22:21:02 +02:00
Dmitry Vyukov
cd51d417c6 allow to not specify enabled syscalls in prog.BuildChoiceTable 2015-10-16 22:10:51 +02:00
Dmitry Vyukov
6d84c5d2d7 add mutate tool that allows to manually investigate mutator behavior 2015-10-16 22:00:16 +02:00
Dmitry Vyukov
f8f416fb8f preliminary description of kdbus syscalls 2015-10-16 18:16:10 +02:00
Dmitry Vyukov
587db99baa lkvm support 2015-10-16 13:33:24 +02:00
Dmitry Vyukov
7f031e85ef add common ioctl commands 2015-10-15 20:07:28 +02:00
Dmitry Vyukov
8d0aa4f7c0 improvements for kdbus 2015-10-15 17:59:01 +02:00
Dmitry Vyukov
2971d4d4e0 allow to omit -kernel flag in vm/qemu
For the case when image already contains the right kernel.
2015-10-15 17:59:01 +02:00
Dmitry Vyukov
7a72606565 allow to specify additional kernel command line arguments in vm/qemu 2015-10-15 17:59:01 +02:00
Dmitry Vyukov
7d43052166 Update README.md 2015-10-14 20:11:53 +02:00
Dmitry Vyukov
c9b915608d initial support for call priorities 2015-10-14 16:55:09 +02:00
Dmitry Vyukov
38493312da allow to specify parallelism level in tools/execlog 2015-10-14 10:54:04 +02:00
Dmitry Vyukov
78514887ec clean up temp files in tools/execprog 2015-10-14 10:53:46 +02:00
Dmitry Vyukov
9f8e5038cf teach prog about in6_addr 2015-10-13 21:24:22 +02:00
Dmitry Vyukov
2c6f92b113 describe setsockopt... more or less 2015-10-13 20:13:40 +02:00
Dmitry Vyukov
9706b099e7 describe sysfs and ioprio syscalls 2015-10-13 20:13:40 +02:00
Dmitry Vyukov
8b78c985ab support iocb pointers as resources 2015-10-13 20:13:40 +02:00
Dmitry Vyukov
685592a508 remove debugging leftover 2015-10-13 20:13:40 +02:00
Dmitry Vyukov
f6b48b1774 describe arguments of prctl syscall 2015-10-13 20:13:40 +02:00
Dmitry Vyukov
379b657f36 Merge pull request #1 from google/gitignore
Add Makefile
2015-10-13 15:36:36 +02:00
Andrey Konovalov
87a42c4dc3 Add Makefile 2015-10-13 15:31:56 +02:00
Dmitry Vyukov
69de147243 add a missed file 2015-10-13 15:29:07 +02:00
Dmitry Vyukov
a02244e114 deduplicate coverare in executor
This allows to use larger coverage buffer
and not overflow output at the same time.
2015-10-13 15:29:07 +02:00
Dmitry Vyukov
c90d728595 dump coverage in execprog command 2015-10-13 15:29:07 +02:00
Dmitry Vyukov
29e95fbb26 process covereage in ipc package instead of fuzzer 2015-10-13 15:29:07 +02:00
Dmitry Vyukov
9145be6961 make ipc.Env.Exec accept the program to execute 2015-10-13 15:29:07 +02:00
Dmitry Vyukov
a79bd395ce Update README.md 2015-10-13 15:00:26 +02:00
Dmitry Vyukov
9ff5109dca Update README.md 2015-10-12 11:36:48 +02:00
Dmitry Vyukov
874c5754bb initial commit 2015-10-12 10:16:57 +02:00