syzkaller/tools
Victor Chibotaru 49c11eb514 ipc, prog, fuzzer, execprog: add hints generation code
A hint is basically a tuple consisting of a pointer to an argument
in one of the syscalls of a program and a value, which should be
assigned to that argument.

A simplified version of hints workflow looks like this:
    1. Fuzzer launches a program and collects all the comparisons' data
for every syscall in the program.
    2. Next it tries to match the obtained comparison operands' values
vs. the input arguments' values.
    3. For every such match the fuzzer mutates the program by
replacing the pointed argument with the saved value.
    4. If a valid program is obtained, then fuzzer launches it and
checks if new coverage is obtained.

This commit includes:
    1. All the code related to hints generation, parsing and mutations.
    2. Fuzzer functions to launch the process.
    3. Some new stats gathered by fuzzer and manager, related to hints.
    4. An updated version of execprog to test the hints process.
2017-08-30 18:40:14 +02:00
..
kcovtrace tools/kcovtrace: add KCOV-based tracing utility 2017-01-20 14:56:20 +01:00
syz-benchcmp tools/syz-benchcmp: add execution speed 2017-08-10 19:31:15 +02:00
syz-crush syz-manager/mgrconfig: move sshkey from vm config to manager config 2017-06-17 15:02:58 +02:00
syz-db all: use consistent file permissions 2017-07-03 14:00:47 +02:00
syz-execprog ipc, prog, fuzzer, execprog: add hints generation code 2017-08-30 18:40:14 +02:00
syz-fmt pkg/compiler: more static error checking 2017-08-27 20:19:41 +02:00
syz-headerparser tools: add headerparser as a tool to assist in writing system call descriptions 2017-08-25 17:23:52 +02:00
syz-mutate fuzzer: combine progs from corpus 2016-11-25 09:58:17 +01:00
syz-prog2c pkg/csource: move from csource 2017-06-17 14:41:15 +02:00
syz-report pkg/report: move from report 2017-06-17 14:41:15 +02:00
syz-repro syz-manager/mgrconfig: move sshkey from vm config to manager config 2017-06-17 15:02:58 +02:00
syz-stress pkg/ipc: move from ipc 2017-06-17 14:41:15 +02:00
syz-symbolize tools/syz-symbolize: add report mode 2017-06-30 15:17:42 +02:00
syz-tty Fix incorrect argument in syz-tty (#260) 2017-06-27 16:55:11 +02:00
syz-upgrade all: use consistent file permissions 2017-07-03 14:00:47 +02:00
create-gce-image.sh tools/create-gce-image.sh: explicitly specify target for grub 2017-08-11 20:04:33 +02:00
create-image.sh tools/create-image.sh: create 2G images 2017-07-17 09:56:08 +02:00