syzkaller/prog
Dmitry Vyukov 4016fc5ad7 prog: fix hints of data args
Hints for data args don't work.
We do all the work, but at the final stage we patch
arg in the _old_ program, not in the _new_ one.
So programs passed to the callback are all the same
and don't contain any mutations.
Tests did not catch this because they work right before that point
(don't test the actual interface function MutateWithHints).

Fix that and add a test that catches this.
2017-12-08 10:45:11 +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: remove default target and all global state 2017-09-15 16:02:37 +02: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: fix hints of data args 2017-12-08 10:45:11 +01:00
hints.go prog: fix hints of data args 2017-12-08 10:45:11 +01:00
mutation_test.go prog: support bytesizeN for vma 2017-11-29 11:12:47 +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: repair arrays/buffers with incorrect size in Deserialize 2017-11-28 19:15:28 +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 sys/linux: improve AF_ALG alg name generation 2017-11-24 13:56:20 +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