syzkaller/prog
Dmitry Vyukov a6d5f3ad13 prog: prune recursion for resourceCentric/createResource
Currently we only prune recursion for createResource.
But createResource can still recurse into resourceCentric,
this can produce huge programs and may be very slow
(esp. if we already in createResource doing failing attempts).

With this change:
$ CI=yes go test -run TestMutateCorpus -count=2 ./prog
passes in ~3 seconds. If I comment out inGenerateResource
logic, it times out after 100 seconds. So this can indeed
have significant effect on generation/mutation performance.
2020-08-23 11:46:14 +02:00
..
test prog: support disabled attribute 2020-05-04 20:56:20 +02:00
alloc_test.go prog/alloc: align address allocation for aligned[addr] 2020-07-14 12:20:37 +02:00
alloc.go prog/alloc: align address allocation for aligned[addr] 2020-07-14 12:20:37 +02:00
analysis.go all: fix comments format 2020-07-12 08:22:44 +02:00
any_test.go prog: support disabled attribute 2020-05-04 20:56:20 +02:00
any.go prog: use Ref as Arg type 2020-05-05 14:01:52 +02:00
big_endian.go ipc: fix endianness issues 2020-06-23 16:18:44 +02:00
checksum_test.go prog: reduce size of -short tests 2020-05-18 11:34:42 +02:00
checksum.go prog: introduce Field type 2020-05-02 12:16:06 +02:00
clone.go prog: extend panic messages 2019-11-26 14:29:58 +01:00
decl_test.go sys/linux: enhanced descs for io_uring 2020-07-24 18:51:04 +02:00
decodeexec.go ipc: fix endianness issues 2020-06-23 16:18:44 +02:00
encoding_test.go prog: support disabled attribute 2020-05-04 20:56:20 +02:00
encoding.go pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
encodingexec_test.go ipc: fix endianness issues 2020-06-23 16:18:44 +02:00
encodingexec.go prog: simplify execContext.write 2020-06-23 16:21:51 +02:00
export_test.go all: reformat code 2020-05-08 14:02:16 +02:00
generation.go prog: rename target.SanitizeCall to Neutralize 2020-03-17 21:19:13 +01:00
hints_test.go tools/syz-linter: fix comments check 2020-07-10 19:15:46 +02:00
hints.go all: fix comments format 2020-07-12 08:22:44 +02:00
little_endian.go prog: add support for riscv64 2020-06-25 18:35:04 +02:00
meta.go prog: dump orig prog if Deserialize panics 2020-02-21 10:22:07 +01:00
minimization_test.go prog: support disabled attribute 2020-05-04 20:56:20 +02:00
minimization.go all: fix comments format 2020-07-12 08:22:44 +02:00
mutation_test.go all: fix comments format 2020-07-12 08:22:44 +02:00
mutation.go prog: fix UnionType mutation for when per-field dir is specified 2020-08-14 11:02:10 +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: fix out-of-bounds access 2019-07-30 19:33:02 +02:00
prio_test.go prog: more interations in prio test 2020-07-21 16:47:38 +02:00
prio.go syz-fuzzer: don't include disabled syscall name in panics 2020-06-16 16:10:59 +02:00
prog_test.go sys/targets: fix mknod neutralize for netbsd 2020-06-23 16:54:07 +02:00
prog.go all: fix comments format 2020-07-12 08:22:44 +02:00
race_test.go prog: parallelize tests 2018-05-04 20:07:32 +02:00
rand_test.go prog: reduce size of -short tests 2020-05-18 11:34:42 +02:00
rand.go prog: prune recursion for resourceCentric/createResource 2020-08-23 11:46:14 +02:00
resources.go all: fix comments format 2020-07-12 08:22:44 +02:00
rotation_test.go prog: increase number of itereations in TestRotationCoverage 2020-06-05 12:23:19 +02:00
rotation.go prog: remove StructDesc 2020-05-03 12:55:42 +02:00
size_test.go prog: support disabled attribute 2020-05-04 20:56:20 +02:00
size.go prog: refactor ANY to not fabricate new types 2020-05-05 14:01:52 +02:00
target.go prog/alloc: align address allocation for aligned[addr] 2020-07-14 12:20:37 +02:00
test_util.go prog: fix size assignment for squashed args 2020-05-01 13:31:17 +02:00
types.go pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
validation.go pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00