aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls_test.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-23 11:38:53 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-23 11:38:53 +0100
commit3d76cc40d99e9f984db1ecc9310a8ea2004ec901 (patch)
treef80644ea1b67d6a9d9c5475c7d3737082c866102 /executor/syscalls_test.h
parent14d1e424b6a582d021c73c88e1f0c5f0962ecc9d (diff)
pkg/compiler: fix len of parent template struct
Consider the following example: type len_templ1[DATA1, DATA2] { data DATA1 inner len_temp2[DATA2] } type len_temp2[DATA] { data DATA len len[len_templ1, int8] } Here len refers to a parent struct, but the struct is a template, so it's actual name is something like "len_templ1[int8, int16]". Currently this does not work as compiler barks at incorrect len target. Make this work.
Diffstat (limited to 'executor/syscalls_test.h')
-rw-r--r--executor/syscalls_test.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/executor/syscalls_test.h b/executor/syscalls_test.h
index ef41f93e5..9dd549579 100644
--- a/executor/syscalls_test.h
+++ b/executor/syscalls_test.h
@@ -2,8 +2,8 @@
#if 0
#define GOARCH "32"
-#define SYZ_REVISION "fc60324436788273405b8a20470b8bd1db88f8ef"
-unsigned syscall_count = 81;
+#define SYZ_REVISION "b9cbeaf95275aebd2bf6f299b1071f67344453a5"
+unsigned syscall_count = 82;
call_t syscalls[] = {
{"mmap", 0, (syscall_t)mmap},
{"mutate0", 0, (syscall_t)mutate0},
@@ -57,6 +57,7 @@ call_t syscalls[] = {
{"syz_test$length20", 0, (syscall_t)syz_test},
{"syz_test$length21", 0, (syscall_t)syz_test},
{"syz_test$length22", 0, (syscall_t)syz_test},
+ {"syz_test$length23", 0, (syscall_t)syz_test},
{"syz_test$length3", 0, (syscall_t)syz_test},
{"syz_test$length4", 0, (syscall_t)syz_test},
{"syz_test$length5", 0, (syscall_t)syz_test},
@@ -92,8 +93,8 @@ call_t syscalls[] = {
#if 0
#define GOARCH "64"
-#define SYZ_REVISION "7fe3e225b3424934ecc51f978cbb1e9eca5c0649"
-unsigned syscall_count = 81;
+#define SYZ_REVISION "ed5cfa6417cbae5ddc998f597dcdbb96fea761c3"
+unsigned syscall_count = 82;
call_t syscalls[] = {
{"mmap", 0, (syscall_t)mmap},
{"mutate0", 0, (syscall_t)mutate0},
@@ -147,6 +148,7 @@ call_t syscalls[] = {
{"syz_test$length20", 0, (syscall_t)syz_test},
{"syz_test$length21", 0, (syscall_t)syz_test},
{"syz_test$length22", 0, (syscall_t)syz_test},
+ {"syz_test$length23", 0, (syscall_t)syz_test},
{"syz_test$length3", 0, (syscall_t)syz_test},
{"syz_test$length4", 0, (syscall_t)syz_test},
{"syz_test$length5", 0, (syscall_t)syz_test},