syzkaller/prog
Dmitry Vyukov 55565fa037 prog: fix minimization bugs
Fix several nasty bugs in minimization that could lead
to almost arbitrary results. These bugs affected both
crash minimization and corpus population.
Extend the randomized test to catch these bugs.
Add additional asserts to code to catch similar bugs in future.

Reported-by @xairy
2019-07-02 14:49:44 +02:00
..
test all: fix some static analysis warnings 2019-04-23 17:58:54 +03:00
alloc_test.go .gometalinter.json: enable gofmt 2018-07-31 12:16:54 +02:00
alloc.go prog: fix a bunch of bugs in parsing 2019-03-29 08:56:02 +01:00
analysis.go prog: fix a bunch of bugs in parsing 2019-03-29 08:56:02 +01:00
any_test.go prog: introduce strict parsing mode 2018-12-10 16:37:01 +01: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 pkg/compiler: refactor len target checking 2019-05-14 19:28:01 +02:00
clone.go prog: introduce debugValidate 2018-08-02 16:57:31 +02:00
decl_test.go prog: fix TestTransitivelyEnabledCalls 2019-05-10 13:04:27 +02:00
decodeexec.go all: fix some static analysis warnings 2019-04-23 17:58:54 +03:00
encoding_test.go prog, pkg/csource: more readable serialization for strings 2018-12-15 15:17:13 +01:00
encoding.go prog: implement complex len target support 2019-05-14 19:28:01 +02:00
encodingexec_test.go prog: fix checksum dependencies 2019-02-01 16:52:54 +01:00
encodingexec.go prog, pkg/csource: more readable serialization for strings 2018-12-15 15:17:13 +01:00
export_test.go prog: fix minimization bugs 2019-07-02 14:49:44 +02:00
generation.go prog: introduce debugValidate 2018-08-02 16:57:31 +02:00
hints_test.go Update hints_test.go 2019-01-07 10:01:28 +01:00
hints.go prog: don't produce the same program when mutating with hints 2019-01-03 13:39:30 +01:00
minimization_test.go prog: fix minimization bugs 2019-07-02 14:49:44 +02:00
minimization.go prog: fix minimization bugs 2019-07-02 14:49:44 +02:00
mutation_test.go prog: speed up TestResourceCtors 2018-12-31 12:32:14 +01:00
mutation.go prog/mutation: Add internal comments 2019-06-07 14:03:39 +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: introduce strict parsing mode 2018-12-10 16:37:01 +01:00
prio_test.go prog: add a test for ChoiceTable 2019-02-21 10:08:34 +01:00
prio.go prog: detect invalid target.Syscalls in BuildChoiceTable 2018-12-11 11:14:20 +01:00
prog_test.go all: switch to Go 1.12 2019-03-14 14:55:59 +01:00
prog.go sys/linux: prohibit opening /proc/self/exe 2019-02-08 16:30:44 +01:00
race_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
rand_test.go prog: remove several sources of non-determinism 2019-01-03 12:23:57 +01:00
rand.go prog: fix crash in createResource 2019-04-23 18:59:49 +03:00
resources.go all: fix code formatting 2018-10-16 13:57:24 +02:00
size_test.go pkg/compiler: add offsetof type 2019-05-16 18:05:05 +02:00
size.go pkg/compiler: add offsetof type 2019-05-16 18:05:05 +02:00
target.go pkg/csource: add ability to annotate syscalls using comments in C reproducers 2019-05-24 22:33:56 +02:00
types.go pkg/compiler: add offsetof type 2019-05-16 18:05:05 +02:00
validation.go prog: fix a bunch of bugs in parsing 2019-03-29 08:56:02 +01:00