syzkaller/prog
Dmitry Vyukov 9fe4bdc5f1 executor: overhaul
Make as much code as possible shared between all OSes.
In particular main is now common across all OSes.
Make more code shared between executor and csource
(in particular, loop function and threaded execution logic).
Also make loop and threaded logic shared across all OSes.
Make more posix/unix code shared across OSes
(e.g. signal handling, pthread creation, etc).
Plus other changes along similar lines.
Also support test OS in executor (based on portable posix)
and add 4 arches that cover all execution modes
(fork server/no fork server, shmem/no shmem).

This change paves way for testing of executor code
and allows to preserve consistency across OSes and executor/csource.
2018-07-24 12:04:27 +02:00
..
alloc_test.go prog: rework address allocation 2018-02-19 21:48:20 +01:00
alloc.go prog: rework address allocation 2018-02-19 21:48:20 +01:00
analysis.go prog: fix and improve fallback coverage 2018-06-30 13:28:11 +02:00
any_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
any.go prog, pkg/compiler: support fmt type 2018-07-08 22:52:24 +02:00
checksum_test.go pkg/csource: fix handling of proc types 2017-12-22 11:59:46 +01:00
checksum.go prog: dedup checksumming code 2018-05-07 14:51:28 +02:00
clone.go prog: make c.Ret optional 2018-05-05 10:25:45 +02:00
decl_test.go prog: more precise constructor calculation 2018-06-18 19:45:48 +02:00
decodeexec.go prog, pkg/compiler: support fmt type 2018-07-08 22:52:24 +02:00
encoding_test.go executor: overhaul 2018-07-24 12:04:27 +02:00
encoding.go prog: make c.Ret optional 2018-05-05 10:25:45 +02:00
encodingexec_test.go executor: overhaul 2018-07-24 12:04:27 +02:00
encodingexec.go prog, pkg/compiler: support fmt type 2018-07-08 22:52:24 +02:00
export_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
generation.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
hints_test.go executor: overhaul 2018-07-24 12:04:27 +02:00
hints.go prog: sanitize calls after hints mutation 2018-07-12 12:40:30 +02:00
minimization_test.go prog: sanitize calls after hints mutation 2018-07-12 12:40:30 +02:00
minimization.go gometalinter: enable cyclomatic complexity checking 2018-05-04 18:03:46 +02:00
mutation_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
mutation.go prog: mutate fixed-size strings more 2018-06-12 19:09:26 +02:00
norace_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
parse_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
parse.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
prio.go prog: rework address allocation 2018-02-19 21:48:20 +01:00
prog_test.go executor: overhaul 2018-07-24 12:04:27 +02:00
prog.go prog, pkg/compiler: support fmt type 2018-07-08 22:52:24 +02:00
race_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
rand.go prog: don't generate filenames that escape sandbox 2018-07-08 22:52:24 +02:00
resources.go prog, pkg/compiler: support fmt type 2018-07-08 22:52:24 +02:00
size_test.go executor: overhaul 2018-07-24 12:04:27 +02:00
size.go all: fix gometalinter warnings 2018-03-08 18:48:26 +01:00
target.go all: fix gometalinter warnings 2018-03-08 18:48:26 +01:00
types.go prog: add missing Default() implementation for ConstType 2018-07-23 11:11:32 +02:00
validation.go prog: sanitize calls after hints mutation 2018-07-12 12:40:30 +02:00