aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-31 15:14:40 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-06 17:40:43 +0100
commit8a67aa70b05cbdf2dd5702f4c3ba302f2feba0cf (patch)
treeadf889fef0b095a74c2bc77b7429dcf5b556b477 /executor
parent8e6b9eeb2711705b01229614891c4150c7df261a (diff)
prog: add test for len mutation
Test we actually can get an unnatural len value.
Diffstat (limited to 'executor')
-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 afa382e73..9dc11ffe4 100644
--- a/executor/syscalls_test.h
+++ b/executor/syscalls_test.h
@@ -2,10 +2,10 @@
#if 0
#define GOARCH "32"
-#define SYZ_REVISION "8c02e54cecec155266defed68d83abae3e8b3b6e"
+#define SYZ_REVISION "cedc2016e286bbf40c6139517be44a4da4597d76"
#define __NR_syz_test 1000000
-unsigned syscall_count = 78;
+unsigned syscall_count = 79;
call_t syscalls[] = {
{"mmap", 0, (syscall_t)mmap},
{"mutate0", 0, (syscall_t)mutate0},
@@ -15,6 +15,7 @@ call_t syscalls[] = {
{"mutate4", 0, (syscall_t)mutate4},
{"mutate5", 0, (syscall_t)mutate5},
{"mutate6", 0, (syscall_t)mutate6},
+ {"mutate7", 0, (syscall_t)mutate7},
{"serialize0", 0, (syscall_t)serialize0},
{"serialize1", 0, (syscall_t)serialize1},
{"syz_test", 1000000, (syscall_t)syz_test},
@@ -91,10 +92,10 @@ call_t syscalls[] = {
#if 0
#define GOARCH "64"
-#define SYZ_REVISION "767ec15608b35d263504ecca77154e1d4d6ee7ce"
+#define SYZ_REVISION "ffa97db9c46ed8fe481729806726c7dc313618e2"
#define __NR_syz_test 1000000
-unsigned syscall_count = 78;
+unsigned syscall_count = 79;
call_t syscalls[] = {
{"mmap", 0, (syscall_t)mmap},
{"mutate0", 0, (syscall_t)mutate0},
@@ -104,6 +105,7 @@ call_t syscalls[] = {
{"mutate4", 0, (syscall_t)mutate4},
{"mutate5", 0, (syscall_t)mutate5},
{"mutate6", 0, (syscall_t)mutate6},
+ {"mutate7", 0, (syscall_t)mutate7},
{"serialize0", 0, (syscall_t)serialize0},
{"serialize1", 0, (syscall_t)serialize1},
{"syz_test", 1000000, (syscall_t)syz_test},