aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/syscalls_test.h')
-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 715d402cf..2643a0db3 100644
--- a/executor/syscalls_test.h
+++ b/executor/syscalls_test.h
@@ -6,8 +6,8 @@
#define SYZ_PAGE_SIZE 8192
#define SYZ_NUM_PAGES 2048
#define SYZ_DATA_OFFSET 536870912
-unsigned syscall_count = 97;
-call_t syscalls[] = {
+#define SYZ_SYSCALL_COUNT 97
+const call_t syscalls[] = {
{"foo$any0", 0, (syscall_t)foo},
{"foo$anyres", 0, (syscall_t)foo},
{"mutate0", 0, (syscall_t)mutate0},
@@ -115,8 +115,8 @@ call_t syscalls[] = {
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
-unsigned syscall_count = 97;
-call_t syscalls[] = {
+#define SYZ_SYSCALL_COUNT 97
+const call_t syscalls[] = {
{"foo$any0", 0, (syscall_t)foo},
{"foo$anyres", 0, (syscall_t)foo},
{"mutate0", 0, (syscall_t)mutate0},