aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-08 10:45:11 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-08 10:45:11 +0100
commit4016fc5ad7f3a4760c28fa7c6c3c1fa30e2ba1de (patch)
tree037d7746187ebe8cd7470cf28f6f124e6c5187f1 /sys/linux/test.txt
parent5c1e6a291b4c23d3ace93651996d989be3b7939d (diff)
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.
Diffstat (limited to 'sys/linux/test.txt')
-rw-r--r--sys/linux/test.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/test.txt b/sys/linux/test.txt
index 9e4b91fdb..9451d5558 100644
--- a/sys/linux/test.txt
+++ b/sys/linux/test.txt
@@ -541,3 +541,7 @@ syz_use_missing {
a0 syz_missing_const_res
a1 syz_missing_const_struct
}
+
+# Hints tests.
+
+syz_test$hint_data(a0 ptr[in, array[int8]])