aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-05-15 13:45:42 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-15 13:48:59 +0200
commit491919b14f915df3e3b76960582e0dbb8427e259 (patch)
treea4956b6988e01b94573c3e781ad5da82534c960e /executor
parent3345130d0ff55e38f6a00f98fd796d433d915a0e (diff)
pkg/compiler: work around 0-array-size errors due to missing consts
A const can be used as array size. Then if the const is not present on all arches, compiler will produce an error about 0-sized-array. There is no easy way to work around this for a user. Use value of 1 for missing consts. It's just a bit safer.
Diffstat (limited to 'executor')
-rw-r--r--executor/defs.h4
-rw-r--r--executor/syscalls.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 3263ee38a..a6ec85997 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -90,7 +90,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "2ad9682cfcaa80da61b92de0ec6ac412968a2a6f"
+#define SYZ_REVISION "2985c756052d76b2393a2556b2caf5a8e0e54d0c"
#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 "613638e7dbb407c7f6ab73b2c116d763b8311d78"
+#define SYZ_REVISION "e07c8657b55348a9385e59d435ee7ad303ccc728"
#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 d42deeeca..8c6e6f0fb 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -15419,6 +15419,7 @@ const call_t syscalls[] = {
{"fallback$1", 0},
{"foo$any0", 0},
{"foo$anyres", 0},
+ {"foo$arch_specific_const_as_array_size", 0},
{"foo$fmt0", 0},
{"foo$fmt1", 0},
{"foo$fmt2", 0},