aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-05-06 16:58:38 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-05-06 16:58:38 +0200
commitcda1fcb742f957d6396e32c75f95575d81543fd4 (patch)
treeac3402599468128738811206ae4a03eea3c4a255 /executor
parent037b77dc65b054baa4bd72db8a4f4940d87b695d (diff)
sys: dedup mmap code across OSes
Update #538
Diffstat (limited to 'executor')
-rw-r--r--executor/syscalls_test.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/executor/syscalls_test.h b/executor/syscalls_test.h
index 12a6a969e..715d402cf 100644
--- a/executor/syscalls_test.h
+++ b/executor/syscalls_test.h
@@ -2,7 +2,7 @@
#if 0
#define GOARCH "32"
-#define SYZ_REVISION "e64e7aa2b83bf3882517a64e4d760868ce7e378f"
+#define SYZ_REVISION "03eb61c17cd6775babc6992bed09fd510eec1467"
#define SYZ_PAGE_SIZE 8192
#define SYZ_NUM_PAGES 2048
#define SYZ_DATA_OFFSET 536870912
@@ -10,7 +10,6 @@ unsigned syscall_count = 97;
call_t syscalls[] = {
{"foo$any0", 0, (syscall_t)foo},
{"foo$anyres", 0, (syscall_t)foo},
- {"mmap", 0, (syscall_t)mmap},
{"mutate0", 0, (syscall_t)mutate0},
{"mutate1", 0, (syscall_t)mutate1},
{"mutate2", 0, (syscall_t)mutate2},
@@ -22,6 +21,7 @@ call_t syscalls[] = {
{"mutate8", 0, (syscall_t)mutate8},
{"serialize0", 0, (syscall_t)serialize0},
{"serialize1", 0, (syscall_t)serialize1},
+ {"syz_mmap", 0, (syscall_t)syz_mmap},
{"syz_test", 0, (syscall_t)syz_test},
{"syz_test$align0", 0, (syscall_t)syz_test},
{"syz_test$align1", 0, (syscall_t)syz_test},
@@ -111,7 +111,7 @@ call_t syscalls[] = {
#if 0
#define GOARCH "64"
-#define SYZ_REVISION "d9251ec1f9c31ffae40648c5410d8d7624136f72"
+#define SYZ_REVISION "d00f8c6b2c92c5a3d3155c34bcafacc4ee1efce3"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
@@ -119,7 +119,6 @@ unsigned syscall_count = 97;
call_t syscalls[] = {
{"foo$any0", 0, (syscall_t)foo},
{"foo$anyres", 0, (syscall_t)foo},
- {"mmap", 0, (syscall_t)mmap},
{"mutate0", 0, (syscall_t)mutate0},
{"mutate1", 0, (syscall_t)mutate1},
{"mutate2", 0, (syscall_t)mutate2},
@@ -131,6 +130,7 @@ call_t syscalls[] = {
{"mutate8", 0, (syscall_t)mutate8},
{"serialize0", 0, (syscall_t)serialize0},
{"serialize1", 0, (syscall_t)serialize1},
+ {"syz_mmap", 0, (syscall_t)syz_mmap},
{"syz_test", 0, (syscall_t)syz_test},
{"syz_test$align0", 0, (syscall_t)syz_test},
{"syz_test$align1", 0, (syscall_t)syz_test},