syzkaller/prog
Dmitry Vyukov 9150b3e544 prog: lazily initialize targets
We now have a bunch of targets compiled into each binary.
All targets are initialized eagerly on startup time.
As the result a do nothing binary starts for ~0.58s and
consumes ~21MB.

Initialize targets lazily. Usually only 1 target is used.
This reduces startup time to ~0.00s and memory consumption
to ~5.4MB.
2017-12-17 11:39:14 +01:00
..
analysis.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
checksum_test.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
checksum.go prog, sys: move types to prog 2017-09-05 15:52:42 +02:00
clone.go prog: speedup and simplify hints code 2017-12-08 12:27:39 +01:00
decl_test.go sys/linux: assorted improvements to descriptions 2017-11-27 09:09:06 +01:00
encoding_test.go prog: repair arrays/buffers with incorrect size in Deserialize 2017-11-28 19:15:28 +01:00
encoding.go prog: repair arrays/buffers with incorrect size in Deserialize 2017-11-28 19:15:28 +01:00
encodingexec_test.go pkg/ipc: don't send program padding to executor 2017-10-12 19:08:18 +02:00
encodingexec.go pkg/ipc: don't send program padding to executor 2017-10-12 19:08:18 +02:00
export_test.go sys/linux: improve AF_ALG alg name generation 2017-11-24 13:56:20 +01:00
generation.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
hints_test.go prog: speedup and simplify hints code 2017-12-08 12:27:39 +01:00
hints.go prog: speedup and simplify hints code 2017-12-08 12:27:39 +01:00
mutation_test.go prog: add benchmark for Mutate 2017-12-17 11:39:14 +01:00
mutation.go prog: append a bunch of bytes during mutation 2017-12-08 10:22:56 +01:00
parse_test.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
parse.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
prio.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
prog_test.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
prog.go prog: simplify MakeResultArg 2017-12-17 11:39:14 +01:00
rand.go syz-ci: test images before using them 2017-11-30 14:50:50 +01:00
resources.go prog: remove default target and all global state 2017-09-15 16:02:37 +02:00
size_test.go prog: support bytesizeN for vma 2017-11-29 11:12:47 +01:00
size.go prog: support bytesizeN for vma 2017-11-29 11:12:47 +01:00
target.go prog: lazily initialize targets 2017-12-17 11:39:14 +01:00
types.go sys: compile all supported targets into the package 2017-09-15 16:02:37 +02:00
validation.go prog: repair arrays/buffers with incorrect size in Deserialize 2017-11-28 19:15:28 +01:00