aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-10 15:49:04 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-10 16:37:02 +0100
commit28bd3e371b1f31cb243f0df56b9c7720971a89db (patch)
treeac2ff223b4b855f0bcb554bc65dcff07a2f4e49c /executor
parentc7ba317e9bfa7672d851df1217c2c3ea045c55f1 (diff)
prog: support AUTO args in programs
AUTO arguments can be used for: - consts - lens - pointers For const's and len's AUTO is replaced with the natural value, addresses for AUTO pointers are allocated linearly. This greatly simplifies writing test programs by hand as most of the time we want these natural values. Update tests to use AUTO.
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h8
-rw-r--r--executor/syscalls.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 59329f471..486a521dd 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -20,7 +20,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "d990a6df2ded440a9df7303f0bfb0cddcc0d448f"
+#define SYZ_REVISION "a2e13b0f6d7d5dbce4abfd304a9e7a187eb4224e"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -115,7 +115,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "700e6f258d2aab7d3f9dcbb0bf34ad24dc98b899"
+#define SYZ_REVISION "a1a8ff2d3390c03118bf259766cd9af823ea9f9c"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -130,7 +130,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "f94278824a33df295bd09539047df0b8e25da251"
+#define SYZ_REVISION "ea9d720726fb2c8bf7bed9d5c405e627d5ce3467"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -165,7 +165,7 @@
#if GOARCH_64
#define GOARCH "64"
-#define SYZ_REVISION "82736d421a5d52db6df0775561f1e59cc6cb9014"
+#define SYZ_REVISION "ece48c7de48771745acdea340f4c52c47e058e65"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
diff --git a/executor/syscalls.h b/executor/syscalls.h
index e720e664c..3629d04b1 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -13542,6 +13542,7 @@ const call_t syscalls[] = {
{"test$array0", 0},
{"test$array1", 0},
{"test$array2", 0},
+ {"test$auto0", 0},
{"test$bf0", 0},
{"test$bf1", 0},
{"test$csum_encode", 0},