// (unknown).
static SyscallTableEntry syscall_main_table[] = {
+ LINXY(__NR_io_setup, sys_io_setup), // 0
+ LINX_(__NR_io_destroy, sys_io_destroy), // 1
+ LINX_(__NR_io_submit, sys_io_submit), // 2
+ LINXY(__NR_io_cancel, sys_io_cancel), // 3
+ LINXY(__NR_io_getevents, sys_io_getevents), // 4
LINX_(__NR_setxattr, sys_setxattr), // 5
LINX_(__NR_lsetxattr, sys_lsetxattr), // 6
LINX_(__NR_fsetxattr, sys_fsetxattr), // 7
LINX_(__NR_lremovexattr, sys_lremovexattr), // 15
LINX_(__NR_fremovexattr, sys_fremovexattr), // 16
GENXY(__NR_getcwd, sys_getcwd), // 17
+ LINXY(__NR_lookup_dcookie, sys_lookup_dcookie), // 18
LINXY(__NR_eventfd2, sys_eventfd2), // 19
LINXY(__NR_epoll_create1, sys_epoll_create1), // 20
LINX_(__NR_epoll_ctl, sys_epoll_ctl), // 21
LINXY(__NR_epoll_pwait, sys_epoll_pwait), // 22
GENXY(__NR_dup, sys_dup), // 23
LINXY(__NR_dup3, sys_dup3), // 24
-
- // FIXME IS THIS CORRECT?
- LINXY(__NR3264_fcntl, sys_fcntl), // 25
-
+ LINXY(__NR_fcntl, sys_fcntl), // 25
LINXY(__NR_inotify_init1, sys_inotify_init1), // 26
LINX_(__NR_inotify_add_watch, sys_inotify_add_watch), // 27
LINX_(__NR_inotify_rm_watch, sys_inotify_rm_watch), // 28
LINXY(__NR_ioctl, sys_ioctl), // 29
+
GENX_(__NR_flock, sys_flock), // 32
LINX_(__NR_mknodat, sys_mknodat), // 33
LINX_(__NR_mkdirat, sys_mkdirat), // 34
LINX_(__NR_symlinkat, sys_symlinkat), // 36
LINX_(__NR_linkat, sys_linkat), // 37
LINX_(__NR_renameat, sys_renameat), // 38
+ LINX_(__NR_umount2, sys_umount), // 39
+ LINX_(__NR_mount, sys_mount), // 40
- LINX_(__NR_umount2, sys_umount), // 39
- LINX_(__NR_mount, sys_mount), // 40
-
- // FIXME IS THIS CORRECT? it may well not be.
- GENXY(__NR3264_statfs, sys_statfs), // 43
- GENXY(__NR3264_fstatfs, sys_fstatfs), // 44
-
- // FIXME IS THIS CORRECT? it may well not be.
- GENX_(__NR3264_ftruncate, sys_ftruncate), // 46
-
+ GENXY(__NR_statfs, sys_statfs), // 43
+ GENXY(__NR_fstatfs, sys_fstatfs), // 44
+ GENX_(__NR_truncate, sys_truncate), // 45
+ GENX_(__NR_ftruncate, sys_ftruncate), // 46
LINX_(__NR_fallocate, sys_fallocate), // 47
LINX_(__NR_faccessat, sys_faccessat), // 48
GENX_(__NR_chdir, sys_chdir), // 49
GENX_(__NR_fchown, sys_fchown), // 55
LINXY(__NR_openat, sys_openat), // 56
GENXY(__NR_close, sys_close), // 57
+ LINX_(__NR_vhangup, sys_vhangup), // 58
LINXY(__NR_pipe2, sys_pipe2), // 59
LINX_(__NR_quotactl, sys_quotactl), // 60
GENXY(__NR_getdents64, sys_getdents64), // 61
-
- // FIXME IS THIS CORRECT?
- LINX_(__NR3264_lseek, sys_lseek), // 62
-
+ LINX_(__NR_lseek, sys_lseek), // 62
GENXY(__NR_read, sys_read), // 63
GENX_(__NR_write, sys_write), // 64
GENXY(__NR_readv, sys_readv), // 65
GENX_(__NR_writev, sys_writev), // 66
GENXY(__NR_pread64, sys_pread64), // 67
GENX_(__NR_pwrite64, sys_pwrite64), // 68
+
+ LINXY(__NR_sendfile, sys_sendfile), // 71
LINXY(__NR_pselect6, sys_pselect6), // 72
LINXY(__NR_ppoll, sys_ppoll), // 73
LINXY(__NR_signalfd4, sys_signalfd4), // 74
- LINX_(__NR_readlinkat, sys_readlinkat), // 78
- // FIXME IS THIS CORRECT?
- LINXY(__NR3264_fstatat, sys_newfstatat), // 79
- GENXY(__NR3264_fstat, sys_newfstat), // 80
-
- LINX_(__NR_utimensat, sys_utimensat), // 88
+ LINX_(__NR_readlinkat, sys_readlinkat), // 78
+ LINXY(__NR_newfstatat, sys_newfstatat), // 79
+ GENXY(__NR_fstat, sys_newfstat), // 80
+ GENX_(__NR_sync, sys_sync), // 81
GENX_(__NR_fsync, sys_fsync), // 82
GENX_(__NR_fdatasync, sys_fdatasync), // 83
+
LINXY(__NR_timerfd_create, sys_timerfd_create), // 85
LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 86
LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 87
+ LINX_(__NR_utimensat, sys_utimensat), // 88
+ GENX_(__NR_acct, sys_acct), // 89
LINXY(__NR_capget, sys_capget), // 90
+ LINX_(__NR_capset, sys_capset), // 91
+ LINX_(__NR_personality, sys_personality), // 92
GENX_(__NR_exit, sys_exit), // 93
LINX_(__NR_exit_group, sys_exit_group), // 94
+
LINX_(__NR_set_tid_address, sys_set_tid_address), // 96
+
LINXY(__NR_futex, sys_futex), // 98
LINX_(__NR_set_robust_list, sys_set_robust_list), // 99
+
GENXY(__NR_nanosleep, sys_nanosleep), // 101
+ GENXY(__NR_getitimer, sys_getitimer), // 102
GENXY(__NR_setitimer, sys_setitimer), // 103
+ GENX_(__NR_kexec_load, sys_ni_syscall), // 104
+ LINX_(__NR_init_module, sys_init_module), // 105
+
+ LINXY(__NR_timer_create, sys_timer_create), // 107
+ LINXY(__NR_timer_settime, sys_timer_settime), // 108
+ LINXY(__NR_timer_gettime, sys_timer_gettime), // 109
+ LINX_(__NR_timer_getoverrun, sys_timer_getoverrun), // 110
+ LINX_(__NR_timer_delete, sys_timer_delete), // 111
+ LINX_(__NR_clock_settime, sys_clock_settime), // 112
LINXY(__NR_clock_gettime, sys_clock_gettime), // 113
LINXY(__NR_clock_getres, sys_clock_getres), // 114
+
LINXY(__NR_syslog, sys_syslog), // 116
+
+ LINXY(__NR_sched_setparam, sys_sched_setparam), // 118
+ LINX_(__NR_sched_setscheduler,sys_sched_setscheduler),// 119
+ LINX_(__NR_sched_getscheduler,sys_sched_getscheduler),// 120
+ LINXY(__NR_sched_getparam, sys_sched_getparam), // 121
LINX_(__NR_sched_setaffinity, sys_sched_setaffinity), // 122
LINXY(__NR_sched_getaffinity, sys_sched_getaffinity), // 123
LINX_(__NR_sched_yield, sys_sched_yield), // 124
+ LINX_(__NR_sched_get_priority_max, sys_sched_get_priority_max),// 125
+ LINX_(__NR_sched_get_priority_min, sys_sched_get_priority_min),// 126
+
GENX_(__NR_kill, sys_kill), // 129
+
LINX_(__NR_tgkill, sys_tgkill), // 131
GENXY(__NR_sigaltstack, sys_sigaltstack), // 132
LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 133
PLAX_(__NR_rt_sigreturn, sys_rt_sigreturn), // 139
GENX_(__NR_setpriority, sys_setpriority), // 140
GENX_(__NR_getpriority, sys_getpriority), // 141
+
GENX_(__NR_setregid, sys_setregid), // 143
GENX_(__NR_setgid, sys_setgid), // 144
GENX_(__NR_setreuid, sys_setreuid), // 145
LINXY(__NR_getresuid, sys_getresuid), // 148
LINX_(__NR_setresgid, sys_setresgid), // 149
LINXY(__NR_getresgid, sys_getresgid), // 150
+ LINX_(__NR_setfsuid, sys_setfsuid), // 151
+ LINX_(__NR_setfsgid, sys_setfsgid), // 152
GENXY(__NR_times, sys_times), // 153
GENX_(__NR_setpgid, sys_setpgid), // 154
GENX_(__NR_getpgid, sys_getpgid), // 155
GENXY(__NR_getgroups, sys_getgroups), // 158
GENX_(__NR_setgroups, sys_setgroups), // 159
GENXY(__NR_uname, sys_newuname), // 160
+
GENXY(__NR_getrlimit, sys_old_getrlimit), // 163
GENX_(__NR_setrlimit, sys_setrlimit), // 164
GENXY(__NR_getrusage, sys_getrusage), // 165
GENX_(__NR_umask, sys_umask), // 166
LINXY(__NR_prctl, sys_prctl), // 167
+
GENXY(__NR_gettimeofday, sys_gettimeofday), // 169
+ GENX_(__NR_settimeofday, sys_settimeofday), // 170
+
GENX_(__NR_getpid, sys_getpid), // 172
GENX_(__NR_getppid, sys_getppid), // 173
GENX_(__NR_getuid, sys_getuid), // 174
GENXY(__NR_munmap, sys_munmap), // 215
GENX_(__NR_mremap, sys_mremap), // 216
LINX_(__NR_add_key, sys_add_key), // 217
+
LINXY(__NR_keyctl, sys_keyctl), // 219
PLAX_(__NR_clone, sys_clone), // 220
GENX_(__NR_execve, sys_execve), // 221
-
- // FIXME IS THIS CORRECT?
- PLAX_(__NR3264_mmap, sys_mmap), // 222
- PLAX_(__NR3264_fadvise64, sys_fadvise64), // 223
+ PLAX_(__NR_mmap, sys_mmap), // 222
+ PLAX_(__NR_fadvise64, sys_fadvise64), // 223
GENXY(__NR_mprotect, sys_mprotect), // 226
GENX_(__NR_msync, sys_msync), // 227
GENX_(__NR_mlock, sys_mlock), // 228
+ GENX_(__NR_munlock, sys_munlock), // 229
GENX_(__NR_mlockall, sys_mlockall), // 230
+ LINX_(__NR_munlockall, sys_munlockall), // 231
+ GENXY(__NR_mincore, sys_mincore), // 232
GENX_(__NR_madvise, sys_madvise), // 233
LINX_(__NR_mbind, sys_mbind), // 235
LINXY(__NR_get_mempolicy, sys_get_mempolicy), // 236
//ZZ GENX_(__NR_nice, sys_nice), // 34
//ZZ
//ZZ // GENX_(__NR_ftime, sys_ni_syscall), // 35
-//ZZ GENX_(__NR_sync, sys_sync), // 36
//ZZ GENX_(__NR_rename, sys_rename), // 38
//ZZ GENX_(__NR_mkdir, sys_mkdir), // 39
//ZZ
//ZZ LINX_(__NR_geteuid, sys_geteuid16), // 49
//ZZ
//ZZ LINX_(__NR_getegid, sys_getegid16), // 50
-//ZZ GENX_(__NR_acct, sys_acct), // 51
//ZZ // GENX_(__NR_lock, sys_ni_syscall), // 53
//ZZ
//ZZ LINXY(__NR_fcntl, sys_fcntl), // 55
//ZZ //zz // (__NR_sethostname, sys_sethostname), // 74 */*
//ZZ //zz
//ZZ GENXY(__NR_getrlimit, sys_old_getrlimit), // 76
-//ZZ GENX_(__NR_settimeofday, sys_settimeofday), // 79
//ZZ
//ZZ LINXY(__NR_getgroups, sys_getgroups16), // 80
//ZZ LINX_(__NR_setgroups, sys_setgroups16), // 81
//ZZ // LINX_(__NR_ioperm, sys_ioperm), // 101
//ZZ LINXY(__NR_socketcall, sys_socketcall), // 102
//ZZ
-//ZZ GENXY(__NR_getitimer, sys_getitimer), // 105
//ZZ GENXY(__NR_stat, sys_newstat), // 106
//ZZ GENXY(__NR_lstat, sys_newlstat), // 107
//ZZ GENXY(__NR_fstat, sys_newfstat), // 108
//ZZ //zz // (__NR_olduname, sys_uname), // 109 -- obsolete
//ZZ //zz
//ZZ // GENX_(__NR_iopl, sys_iopl), // 110
-//ZZ LINX_(__NR_vhangup, sys_vhangup), // 111
//ZZ // GENX_(__NR_idle, sys_ni_syscall), // 112
//ZZ // PLAXY(__NR_vm86old, sys_vm86old), // 113 __NR_syscall... weird
//ZZ //zz
//ZZ LINXY(__NR_sigprocmask, sys_sigprocmask), // 126
//ZZ //zz // Nb: create_module() was removed 2.4-->2.6
//ZZ // GENX_(__NR_create_module, sys_ni_syscall), // 127
-//ZZ LINX_(__NR_init_module, sys_init_module), // 128
//ZZ LINX_(__NR_delete_module, sys_delete_module), // 129
//ZZ //zz
//ZZ //zz // Nb: get_kernel_syms() was removed 2.4-->2.6
//ZZ //zz // (__NR_bdflush, sys_bdflush), // 134 */Linux
//ZZ //zz
//ZZ //zz // (__NR_sysfs, sys_sysfs), // 135 SVr4
-//ZZ LINX_(__NR_personality, sys_personality), // 136
//ZZ // GENX_(__NR_afs_syscall, sys_ni_syscall), // 137
-//ZZ LINX_(__NR_setfsuid, sys_setfsuid16), // 138
-//ZZ LINX_(__NR_setfsgid, sys_setfsgid16), // 139
//ZZ
//ZZ LINXY(__NR__llseek, sys_llseek), // 140
//ZZ GENXY(__NR_getdents, sys_getdents), // 141
//ZZ
//ZZ LINXY(__NR__sysctl, sys_sysctl), // 149
//ZZ
-//ZZ GENX_(__NR_munlock, sys_munlock), // 151
-//ZZ LINX_(__NR_munlockall, sys_munlockall), // 153
-//ZZ LINXY(__NR_sched_setparam, sys_sched_setparam), // 154
-//ZZ
-//ZZ LINXY(__NR_sched_getparam, sys_sched_getparam), // 155
-//ZZ LINX_(__NR_sched_setscheduler, sys_sched_setscheduler), // 156
-//ZZ LINX_(__NR_sched_getscheduler, sys_sched_getscheduler), // 157
-//ZZ LINX_(__NR_sched_get_priority_max, sys_sched_get_priority_max),// 159
-//ZZ
-//ZZ LINX_(__NR_sched_get_priority_min, sys_sched_get_priority_min),// 160
//ZZ //zz //LINX?(__NR_sched_rr_get_interval, sys_sched_rr_get_interval), // 161 */*
//ZZ LINX_(__NR_setresuid, sys_setresuid16), // 164
//ZZ
//ZZ
//ZZ LINX_(__NR_chown, sys_chown16), // 182
//ZZ
-//ZZ LINX_(__NR_capset, sys_capset), // 185
//ZZ LINXY(__NR_sendfile, sys_sendfile), // 187
//ZZ // GENXY(__NR_getpmsg, sys_getpmsg), // 188
//ZZ // GENX_(__NR_putpmsg, sys_putpmsg), // 189
//ZZ LINX_(__NR_setfsuid32, sys_setfsuid), // 215
//ZZ LINX_(__NR_setfsgid32, sys_setfsgid), // 216
//ZZ //zz // (__NR_pivot_root, sys_pivot_root), // 217 */Linux
-//ZZ GENXY(__NR_mincore, sys_mincore), // 218
//ZZ
//ZZ LINXY(__NR_fcntl64, sys_fcntl64), // 221
//ZZ // GENX_(222, sys_ni_syscall), // 222
//ZZ // PLAXY(223, sys_syscall223), // 223 // sys_bproc?
//ZZ
//ZZ LINXY(__NR_tkill, sys_tkill), // 238 */Linux
-//ZZ LINXY(__NR_sendfile64, sys_sendfile64), // 239
//ZZ
//ZZ LINXY(__NR_futex, sys_futex), // 240
//ZZ LINXY(__NR_sched_getaffinity, sys_sched_getaffinity), // 242
//ZZ // PLAX_(__NR_set_thread_area, sys_set_thread_area), // 243
//ZZ // PLAX_(__NR_get_thread_area, sys_get_thread_area), // 244
//ZZ
-//ZZ LINXY(__NR_io_setup, sys_io_setup), // 245
-//ZZ LINX_(__NR_io_destroy, sys_io_destroy), // 246
-//ZZ LINXY(__NR_io_getevents, sys_io_getevents), // 247
-//ZZ LINX_(__NR_io_submit, sys_io_submit), // 248
-//ZZ LINXY(__NR_io_cancel, sys_io_cancel), // 249
-//ZZ
//ZZ // LINX_(__NR_fadvise64, sys_fadvise64), // 250 */(Linux?)
//ZZ GENX_(251, sys_ni_syscall), // 251
-//ZZ // GENXY(__NR_lookup_dcookie, sys_lookup_dcookie), // 253
//ZZ LINXY(__NR_epoll_create, sys_epoll_create), // 254
//ZZ
//ZZ LINX_(__NR_epoll_ctl, sys_epoll_ctl), // 255
//ZZ LINXY(__NR_epoll_wait, sys_epoll_wait), // 256
//ZZ //zz // (__NR_remap_file_pages, sys_remap_file_pages), // 257 */Linux
//ZZ LINX_(__NR_set_tid_address, sys_set_tid_address), // 258
-//ZZ LINXY(__NR_timer_create, sys_timer_create), // 259
-//ZZ
-//ZZ LINXY(__NR_timer_settime, sys_timer_settime), // (timer_create+1)
-//ZZ LINXY(__NR_timer_gettime, sys_timer_gettime), // (timer_create+2)
-//ZZ LINX_(__NR_timer_getoverrun, sys_timer_getoverrun),//(timer_create+3)
-//ZZ LINX_(__NR_timer_delete, sys_timer_delete), // (timer_create+4)
-//ZZ LINX_(__NR_clock_settime, sys_clock_settime), // (timer_create+5)
//ZZ
//ZZ LINXY(__NR_clock_getres, sys_clock_getres), // (timer_create+7)
//ZZ LINXY(__NR_clock_nanosleep, sys_clock_nanosleep),// (timer_create+8) */*
--- /dev/null
+/* This is the arm64 variant of memcheck/tests/x86-linux/scalar.c
+ syscalls are in x86 number order to make exp comparison easier. */
+#define _GNU_SOURCE
+#include "../../memcheck.h"
+#include "scalar.h"
+#include <unistd.h>
+#include <sched.h>
+#include <signal.h>
+#include <linux/mman.h> // MREMAP_FIXED
+
+// Here we are trying to trigger every syscall error (scalar errors and
+// memory errors) for every syscall. We do this by passing a lot of bogus
+// arguments, mostly 0 and 1 (often it's 1 because NULL ptr args often aren't
+// checked for memory errors, or in order to have a non-zero length used
+// with some buffer). So most of the syscalls don't actually succeed and do
+// anything.
+//
+// Occasionally we have to be careful not to cause Valgrind to seg fault in
+// its pre-syscall wrappers; it does so because it can't know in general
+// when memory is unaddressable, and so tries to dereference it when doing
+// PRE_MEM_READ/PRE_MEM_WRITE calls. (Note that Memcheck will
+// always issue an error message immediately before these seg faults occur).
+//
+// The output has numbers like "3s 2m" for each syscall. "s" is short for
+// "scalar", ie. the argument itself is undefined. "m" is short for "memory",
+// ie. the argument points to memory which is unaddressable.
+int main(void)
+{
+ // uninitialised, but we know px[0] is 0x0
+ long* px = malloc(sizeof(long));
+ long x0 = px[0];
+ long res;
+
+ // All __NR_xxx numbers are taken from x86
+
+ // __NR_restart_syscall 0 // XXX: not yet handled, perhaps should be...
+ GO(__NR_restart_syscall, "n/a");
+ //SY(__NR_restart_syscall); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_exit 1
+ GO(__NR_exit, "below");
+ // (see below)
+
+ // __NR_fork arm64 only has clone
+ //GO(__NR_fork, "other");
+ // (sse scalar_fork.c)
+
+ // __NR_read 3
+ // Nb: here we are also getting an error from the syscall arg itself.
+ GO(__NR_read, "1+3s 1m");
+ SY(__NR_read+x0, x0, x0, x0+1); FAILx(EFAULT);
+
+ // __NR_write 4
+ GO(__NR_write, "3s 1m");
+ SY(__NR_write, x0, x0, x0+1); FAIL;
+
+ // __NR_open arm64 only as openat.
+ //GO(__NR_open, "(2-args) 2s 1m");
+ //SY(__NR_open, x0, x0); FAIL;
+
+ // Only 1s 0m errors -- the other 2s 1m have been checked in the previous
+ // open test, and if we test them they may be commoned up but they also
+ // may not. arm64 only has openat.
+ //GO(__NR_open, "(3-args) 1s 0m");
+ //SY(__NR_open, "scalar.c", O_CREAT|O_EXCL, x0); FAIL;
+
+ // __NR_close 6
+ GO(__NR_close, "1s 0m");
+ SY(__NR_close, x0-1); FAIL;
+
+ // __NR_waitpid arm64 only has waitid.
+ //GO(__NR_waitpid, "3s 1m");
+ //SY(__NR_waitpid, x0, x0+1, x0); FAIL;
+
+ // __NR_creat arm64 only has openat
+ //GO(__NR_creat, "2s 1m");
+ //SY(__NR_creat, x0, x0); FAIL;
+
+ // __NR_link arm64 only has linkat
+ //GO(__NR_link, "2s 2m");
+ //SY(__NR_link, x0, x0); FAIL;
+
+ // __NR_unlink arm64 only has unlinkat
+ //GO(__NR_unlink, "1s 1m");
+ //SY(__NR_unlink, x0); FAIL;
+
+ // __NR_execve 11
+ // Nb: could have 3 memory errors if we pass x0+1 as the 2nd and 3rd
+ // args, except for bug #93174.
+ GO(__NR_execve, "3s 1m");
+ SY(__NR_execve, x0, x0, x0); FAIL;
+
+ // __NR_chdir 12
+ GO(__NR_chdir, "1s 1m");
+ SY(__NR_chdir, x0); FAIL;
+
+ // __NR_time on arm64 time is provided in the vdso
+ //GO(__NR_time, "1s 1m");
+ //SY(__NR_time, x0+1); FAIL;
+
+ // __NR_mknod arm64 only has mknodat
+ //GO(__NR_mknod, "3s 1m");
+ //SY(__NR_mknod, x0, x0, x0); FAIL;
+
+ // __NR_chmod arm64 only has chmodat
+ //GO(__NR_chmod, "2s 1m");
+ //SY(__NR_chmod, x0, x0); FAIL;
+
+ // __NR_lchown arm64 only has lchownat
+ //GO(__NR_lchown, "n/a");
+ //SY(__NR_lchown); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_break arm64 has no break
+ //GO(__NR_break, "ni");
+ //SY(__NR_break); FAIL;
+
+ // __NR_oldstat arm64 has no oldstat
+ //GO(__NR_oldstat, "n/a");
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_lseek 19
+ GO(__NR_lseek, "3s 0m");
+ SY(__NR_lseek, x0-1, x0, x0); FAILx(EBADF);
+
+ // __NR_getpid 20
+ GO(__NR_getpid, "0s 0m");
+ SY(__NR_getpid); SUCC;
+
+ // __NR_mount 21
+ GO(__NR_mount, "5s 3m");
+ SY(__NR_mount, x0, x0, x0, x0, x0); FAIL;
+
+ // __NR_umount arm64 only has umount2
+ //GO(__NR_umount, "1s 1m");
+ //SY(__NR_umount, x0); FAIL;
+
+ // __NR_setuid 23
+ GO(__NR_setuid, "1s 0m");
+ SY(__NR_setuid, x0); FAIL;
+
+ // __NR_getuid 24
+ GO(__NR_getuid, "0s 0m");
+ SY(__NR_getuid); SUCC;
+
+ // __NR_stime arm64 does not have stime
+ //GO(__NR_stime, "n/a");
+ //SY(__NR_stime); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_ptrace arm64 does not use PTRACE_GETREGS
+ // XXX: memory pointed to be arg3 goes unchecked... otherwise would be 2m
+ //GO(__NR_ptrace, "4s 1m");
+ //SY(__NR_ptrace, x0+PTRACE_GETREGS, x0, x0, x0); FAIL;
+
+ // __NR_alarm arm64 only has ualarm
+ //GO(__NR_alarm, "1s 0m");
+ //SY(__NR_alarm, x0); SUCC;
+
+ // __NR_oldfstat arm64 does not have oldfstat
+ //GO(__NR_oldfstat, "n/a");
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_pause arm64 does not have pause
+ //GO(__NR_pause, "ignore");
+ // (hard to test, and no args so not much to be gained -- don't bother)
+
+ // __NR_utime arm64 only has utimes
+ //GO(__NR_utime, "2s 2m");
+ //SY(__NR_utime, x0, x0+1); FAIL;
+
+ // __NR_stty arm64 doesn't have stty.
+ //GO(__NR_stty, "ni");
+ //SY(__NR_stty); FAIL;
+
+ // __NR_gtty arm64 doesm't have gtty.
+ //GO(__NR_gtty, "ni");
+ //SY(__NR_gtty); FAIL;
+
+ // __NR_access arm64 only has fsaccessat
+ //GO(__NR_access, "2s 1m");
+ //SY(__NR_access, x0, x0); FAIL;
+
+ // __NR_nice arm64 only has setpriority
+ //GO(__NR_nice, "1s 0m");
+ //SY(__NR_nice, x0); SUCC;
+
+ // __NR_ftime arm64 doesn't implement ftime
+ //GO(__NR_ftime, "ni");
+ //SY(__NR_ftime); FAIL;
+
+ // __NR_sync 36
+ GO(__NR_sync, "0s 0m");
+ SY(__NR_sync); SUCC;
+
+ // __NR_kill 37
+ GO(__NR_kill, "2s 0m");
+ SY(__NR_kill, x0, x0); SUCC;
+
+ // __NR_rename arm64 only has renameat
+ //GO(__NR_rename, "2s 2m");
+ //SY(__NR_rename, x0, x0); FAIL;
+
+ // __NR_mkdir arm64 only has mkdirat
+ //GO(__NR_mkdir, "2s 1m");
+ //SY(__NR_mkdir, x0, x0); FAIL;
+
+ // __NR_rmdir arm64 only has rmdirat
+ //GO(__NR_rmdir, "1s 1m");
+ //SY(__NR_rmdir, x0); FAIL;
+
+ // __NR_dup 41
+ GO(__NR_dup, "1s 0m");
+ SY(__NR_dup, x0-1); FAIL;
+
+ // __NR_pipe arm64 only has pipe2
+ //GO(__NR_pipe, "1s 1m");
+ //SY(__NR_pipe, x0); FAIL;
+
+ // __NR_times 43
+ GO(__NR_times, "1s 1m");
+ SY(__NR_times, x0+1); FAIL;
+
+ // __NR_prof arm64 doesn't implement prof
+ //GO(__NR_prof, "ni");
+ //SY(__NR_prof); FAIL;
+
+ // __NR_brk 45
+ GO(__NR_brk, "1s 0m");
+ SY(__NR_brk, x0); SUCC;
+
+ // __NR_setgid 46
+ GO(__NR_setgid, "1s 0m");
+ SY(__NR_setgid, x0); FAIL;
+
+ // __NR_getgid 47
+ GO(__NR_getgid, "0s 0m");
+ SY(__NR_getgid); SUCC;
+
+ // __NR_signal arm64 only has rt_sigaction
+ //GO(__NR_signal, "n/a");
+ //SY(__NR_signal); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_geteuid 49
+ GO(__NR_geteuid, "0s 0m");
+ SY(__NR_geteuid); SUCC;
+
+ // __NR_getegid 50
+ GO(__NR_getegid, "0s 0m");
+ SY(__NR_getegid); SUCC;
+
+ // __NR_acct 51
+ GO(__NR_acct, "1s 1m");
+ SY(__NR_acct, x0); FAIL;
+
+ // __NR_umount2 52
+ GO(__NR_umount2, "2s 1m");
+ SY(__NR_umount2, x0, x0); FAIL;
+
+ // __NR_lock arm64 doesn't implement lock
+ //GO(__NR_lock, "ni");
+ //SY(__NR_lock); FAIL;
+
+ // __NR_ioctl 54
+ #include <asm/ioctls.h>
+ GO(__NR_ioctl, "3s 1m");
+ SY(__NR_ioctl, x0, x0+TCSETS, x0); FAIL;
+
+ // __NR_fcntl 55
+ // As with sys_open(), the 'fd' error is suppressed for the later ones.
+ // For F_GETFD the 3rd arg is ignored
+ GO(__NR_fcntl, "(GETFD) 2s 0m");
+ SY(__NR_fcntl, x0-1, x0+F_GETFD, x0); FAILx(EBADF);
+
+ // For F_DUPFD the 3rd arg is 'arg'. We don't check the 1st two args
+ // because any errors may or may not be commoned up with the ones from
+ // the previous fcntl call.
+ GO(__NR_fcntl, "(DUPFD) 1s 0m");
+ SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF);
+
+ // For F_GETLK the 3rd arg is 'lock'. On x86, this fails w/EBADF. But
+ // on amd64 in 32-bit mode it fails w/EFAULT. We don't check the 1st two
+ // args for the reason given above.
+ GO(__NR_fcntl, "(GETLK) 1s 0m");
+ SY(__NR_fcntl, -1, F_GETLK, x0); FAIL; //FAILx(EBADF);
+
+ // __NR_mpx arm64 doesn't implement mpx
+ //GO(__NR_mpx, "ni");
+ //SY(__NR_mpx); FAIL;
+
+ // __NR_setpgid 57
+ GO(__NR_setpgid, "2s 0m");
+ SY(__NR_setpgid, x0, x0-1); FAIL;
+
+ // __NR_ulimit arm64 doesn't implement ulimit
+ //GO(__NR_ulimit, "ni");
+ //SY(__NR_ulimit); FAIL;
+
+ // __NR_oldolduname arm64 doesn't implement oldolduname,
+ //GO(__NR_oldolduname, "n/a");
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_umask 60
+ GO(__NR_umask, "1s 0m");
+ SY(__NR_umask, x0+022); SUCC;
+
+ // __NR_chroot 61
+ GO(__NR_chroot, "1s 1m");
+ SY(__NR_chroot, x0); FAIL;
+
+ // __NR_ustat arm64 only has statfs
+ //GO(__NR_ustat, "n/a");
+ // (deprecated, not handled by Valgrind)
+
+ // __NR_dup2 arm64 only has dup or dup3
+ //GO(__NR_dup2, "2s 0m");
+ //SY(__NR_dup2, x0-1, x0); FAIL;
+
+ // __NR_getppid 64
+ GO(__NR_getppid, "0s 0m");
+ SY(__NR_getppid); SUCC;
+
+ // __NR_getpgrp arm64 only has getpgid
+ //GO(__NR_getpgrp, "0s 0m");
+ //SY(__NR_getpgrp); SUCC;
+
+ // __NR_setsid 66
+ GO(__NR_setsid, "0s 0m");
+ SY(__NR_setsid); SUCC_OR_FAIL;
+
+ // __NR_sigaction arm64 only has rt_sigaction
+ //GO(__NR_sigaction, "3s 4m");
+ //SY(__NR_sigaction, x0, x0+&px[1], x0+&px[1]); FAIL;
+
+ // __NR_sgetmask arm64 only has rt_sigprocmask
+ //GO(__NR_sgetmask, "n/a");
+ //SY(__NR_sgetmask); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_ssetmask arm64 only has rt_sigprocmask
+ //GO(__NR_ssetmask, "n/a");
+ //SY(__NR_ssetmask); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_setreuid 70
+ GO(__NR_setreuid, "2s 0m");
+ SY(__NR_setreuid, x0, x0); FAIL;
+
+ // __NR_setregid 71
+ GO(__NR_setregid, "2s 0m");
+ SY(__NR_setregid, x0, x0); FAIL;
+
+ // __NR_sigsuspend arm64 only has rt_sigsuspend
+ // XXX: how do you use this function?
+ //GO(__NR_sigsuspend, "ignore");
+ // (I don't know how to test this...)
+
+ // __NR_sigpending arm64 only has rt_sigpending
+ //GO(__NR_sigpending, "1s 1m");
+ //SY(__NR_sigpending, x0); FAIL;
+
+ // __NR_sethostname 74
+ GO(__NR_sethostname, "n/a");
+ //SY(__NR_sethostname); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_setrlimit 75
+ GO(__NR_setrlimit, "2s 1m");
+ SY(__NR_setrlimit, x0, x0); FAIL;
+
+ // __NR_getrlimit 76
+ GO(__NR_getrlimit, "2s 1m");
+ SY(__NR_getrlimit, x0, x0); FAIL;
+
+ // __NR_getrusage 77
+ GO(__NR_getrusage, "2s 1m");
+ SY(__NR_getrusage, x0, x0); FAIL;
+
+ // __NR_gettimeofday 78
+ GO(__NR_gettimeofday, "2s 2m");
+ SY(__NR_gettimeofday, x0+1, x0+1); FAIL;
+
+ // __NR_settimeofday 79
+ GO(__NR_settimeofday, "2s 2m");
+ SY(__NR_settimeofday, x0+1, x0+1); FAIL;
+
+ // __NR_getgroups 80
+ GO(__NR_getgroups, "2s 1m");
+ SY(__NR_getgroups, x0+1, x0+1); FAIL;
+
+ // __NR_setgroups 81
+ GO(__NR_setgroups, "2s 1m");
+ SY(__NR_setgroups, x0+1, x0+1); FAIL;
+
+ // __NR_select arm64 only has pselect6
+ //{
+ // long args[5] = { x0+8, x0+0xffffffee, x0+1, x0+1, x0+1 };
+ // GO(__NR_select, "1s 5m");
+ // SY(__NR_select, args+x0); FAIL;
+ //}
+
+ // __NR_symlink arm64 only has symlinkat
+ //GO(__NR_symlink, "2s 2m");
+ //SY(__NR_symlink, x0, x0); FAIL;
+
+ // __NR_oldlstat arm64 doesn't implement oldlstat
+ //GO(__NR_oldlstat, "n/a");
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_readlink arm64 only has readlinkat
+ //GO(__NR_readlink, "3s 2m");
+ //SY(__NR_readlink, x0+1, x0+1, x0+1); FAIL;
+
+ // __NR_uselib arm64 doesn't implement uselib
+ //GO(__NR_uselib, "n/a");
+ //SY(__NR_uselib); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_swapon 87
+ GO(__NR_swapon, "n/a");
+ //SY(__NR_swapon); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_reboot 88
+ GO(__NR_reboot, "n/a");
+ //SY(__NR_reboot); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_readdir arm64 only implements getdents64
+ //GO(__NR_readdir, "n/a");
+ // (superseded, not handled by Valgrind)
+
+ // __NR_mmap 90
+ {
+ long args[6] = { x0, x0, x0, x0, x0-1, x0 };
+ GO(__NR_mmap, "1s 1m");
+ SY(__NR_mmap, args+x0); FAIL;
+ }
+
+ // __NR_munmap 91
+ GO(__NR_munmap, "2s 0m");
+ SY(__NR_munmap, x0, x0); FAIL;
+
+ // __NR_truncate 92
+ GO(__NR_truncate, "2s 1m");
+ SY(__NR_truncate, x0, x0); FAIL;
+
+ // __NR_ftruncate 93
+ GO(__NR_ftruncate, "2s 0m");
+ SY(__NR_ftruncate, x0, x0); FAIL;
+
+ // __NR_fchmod 94
+ GO(__NR_fchmod, "2s 0m");
+ SY(__NR_fchmod, x0-1, x0); FAIL;
+
+ // __NR_fchown 95
+ GO(__NR_fchown, "3s 0m");
+ SY(__NR_fchown, x0, x0, x0); FAIL;
+
+ // __NR_getpriority 96
+ GO(__NR_getpriority, "2s 0m");
+ SY(__NR_getpriority, x0-1, x0); FAIL;
+
+ // __NR_setpriority 97
+ GO(__NR_setpriority, "3s 0m");
+ SY(__NR_setpriority, x0-1, x0, x0); FAIL;
+
+ // __NR_profil arm64 doesn't implement profil.
+ //GO(__NR_profil, "ni");
+ //SY(__NR_profil); FAIL;
+
+ // __NR_statfs 99
+ GO(__NR_statfs, "2s 2m");
+ SY(__NR_statfs, x0, x0); FAIL;
+
+ // __NR_fstatfs 100
+ GO(__NR_fstatfs, "2s 1m");
+ SY(__NR_fstatfs, x0, x0); FAIL;
+
+ // __NR_ioperm arm64 doesn't implement ioperm
+ //GO(__NR_ioperm, "3s 0m");
+ //SY(__NR_ioperm, x0, x0, x0); FAIL;
+
+ // __NR_socketcall arm64 doesn't have socketcall.
+ //GO(__NR_socketcall, "XXX");
+ // (XXX: need to do all sub-cases properly)
+
+ // __NR_syslog 103
+ GO(__NR_syslog, "3s 1m");
+ SY(__NR_syslog, x0+2, x0, x0+1); FAIL;
+
+ // __NR_setitimer 104
+ GO(__NR_setitimer, "3s 2m");
+ SY(__NR_setitimer, x0, x0+1, x0+1); FAIL;
+
+ // __NR_getitimer 105
+ GO(__NR_getitimer, "2s 1m");
+ SY(__NR_getitimer, x0, x0, x0); FAIL;
+
+ // __NR_stat arm64 doesn't implement stat
+ //GO(__NR_stat, "2s 2m");
+ //SY(__NR_stat, x0, x0); FAIL;
+
+ // __NR_lstat arm64 doesn't implement lstat
+ //GO(__NR_lstat, "2s 2m");
+ //SY(__NR_lstat, x0, x0); FAIL;
+
+ // __NR_fstat 108
+ GO(__NR_fstat, "2s 1m");
+ SY(__NR_fstat, x0, x0); FAIL;
+
+ // __NR_olduname arm64 doesn't implement olduname
+ //GO(__NR_olduname, "n/a");
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_iopl arm64 doesn't implement iopl
+ //GO(__NR_iopl, "1s 0m");
+ //SY(__NR_iopl, x0+100); FAIL;
+
+ // __NR_vhangup 111
+ GO(__NR_vhangup, "0s 0m");
+ SY(__NR_vhangup); SUCC_OR_FAIL; // Will succeed for superuser
+
+ // __NR_idle arm64 doesn't implement idle.
+ //GO(__NR_idle, "ni");
+ //SY(__NR_idle); FAIL;
+
+ // __NR_vm86old arm64 doesn't implement vm86old
+ //GO(__NR_vm86old, "n/a");
+ // (will probably never be handled by Valgrind)
+
+ // __NR_wait4 114
+ GO(__NR_wait4, "4s 2m");
+ SY(__NR_wait4, x0, x0+1, x0, x0+1); FAIL;
+
+ // __NR_swapoff 115
+ GO(__NR_swapoff, "n/a");
+ //SY(__NR_swapoff); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_sysinfo 116
+ GO(__NR_sysinfo, "1s 1m");
+ SY(__NR_sysinfo, x0); FAIL;
+
+ // __NR_ipc arm64 has separate msgctl semctl shmctl system calls
+ // XXX: This is simplistic -- need to do all the sub-cases properly.
+ // XXX: Also, should be 6 scalar errors, except glibc's syscall() doesn't
+ // use the 6th one!
+ //GO(__NR_ipc, "5s 0m");
+ //SY(__NR_ipc, x0+4, x0, x0, x0, x0, x0); FAIL;
+
+ // __NR_fsync 118
+ GO(__NR_fsync, "1s 0m");
+ SY(__NR_fsync, x0-1); FAIL;
+
+ // __NR_sigreturn arm64 only has rt_sigreturn
+ //GO(__NR_sigreturn, "n/a");
+ //SY(__NR_sigreturn); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_clone 120
+#ifndef CLONE_PARENT_SETTID
+#define CLONE_PARENT_SETTID 0x00100000
+#endif
+ GO(__NR_clone, "5s 3m");
+ SY(__NR_clone, x0|CLONE_PARENT_SETTID|CLONE_SETTLS|CLONE_CHILD_SETTID|SIGCHLD, x0, x0, x0, x0); FAIL;
+ if (0 == res) {
+ SY(__NR_exit, 0); FAIL;
+ }
+
+ // __NR_setdomainname 121
+ GO(__NR_setdomainname, "n/a");
+ //SY(__NR_setdomainname); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_uname 122
+ GO(__NR_uname, "1s 1m");
+ SY(__NR_uname, x0); FAIL;
+
+ // __NR_modify_ldt arm64 doesn't implement modify_ldt
+ //GO(__NR_modify_ldt, "3s 1m");
+ //SY(__NR_modify_ldt, x0+1, x0, x0+1); FAILx(EINVAL);
+
+ // __NR_adjtimex 124
+ // XXX: need to do properly, but deref'ing NULL causing Valgrind to crash...
+ GO(__NR_adjtimex, "XXX");
+// SY(__NR_adjtimex, x0); FAIL;
+
+ // __NR_mprotect 125
+ GO(__NR_mprotect, "3s 0m");
+ SY(__NR_mprotect, x0+1, x0, x0); FAILx(EINVAL);
+
+ // __NR_sigprocmask arm64 has rt_sigprocmask
+ //GO(__NR_sigprocmask, "3s 2m");
+ //SY(__NR_sigprocmask, x0, x0+&px[1], x0+&px[1]); SUCC;
+
+ // __NR_create_module arm64 doesn't implement create_module.
+ //GO(__NR_create_module, "ni");
+ //SY(__NR_create_module); FAIL;
+
+ // __NR_init_module 128
+ GO(__NR_init_module, "3s 2m");
+ SY(__NR_init_module, x0, x0+1, x0); FAIL;
+
+ // __NR_delete_module 129
+ GO(__NR_delete_module, "n/a");
+ //SY(__NR_delete_module); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_get_kernel_syms arm64 doesn't implement get_kernel_syms
+ //GO(__NR_get_kernel_syms, "ni");
+ //SY(__NR_get_kernel_syms); FAIL;
+
+ // __NR_quotactl 131
+ GO(__NR_quotactl, "4s 1m");
+ SY(__NR_quotactl, x0, x0, x0, x0); FAIL;
+
+ // __NR_getpgid 132
+ GO(__NR_getpgid, "1s 0m");
+ SY(__NR_getpgid, x0-1); FAIL;
+
+ // __NR_fchdir 133
+ GO(__NR_fchdir, "1s 0m");
+ SY(__NR_fchdir, x0-1); FAIL;
+
+ // __NR_bdflush arm64 doesn't implement bdflush
+ //GO(__NR_bdflush, "n/a");
+ //SY(__NR_bdflush); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_sysfs arm64 doesn't handle sysfs, use proc.
+ //GO(__NR_sysfs, "n/a");
+ //SY(__NR_sysfs); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_personality 136
+ GO(__NR_personality, "1s 0m");
+ SY(__NR_personality, x0+0xffffffff); SUCC;
+
+ // __NR_afs_syscall arm64 doesn't implement afs_syscall
+ //GO(__NR_afs_syscall, "ni");
+ //SY(__NR_afs_syscall); FAIL;
+
+ // __NR_setfsuid 138
+ GO(__NR_setfsuid, "1s 0m");
+ SY(__NR_setfsuid, x0); SUCC; // This syscall has a stupid return value
+
+ // __NR_setfsgid 139
+ GO(__NR_setfsgid, "1s 0m");
+ SY(__NR_setfsgid, x0); SUCC; // This syscall has a stupid return value
+
+ // __NR__llseek arm64 doesn't implement _llseek
+ //GO(__NR__llseek, "5s 1m");
+ //SY(__NR__llseek, x0, x0, x0, x0, x0); FAIL;
+
+ // __NR_getdents arm64 only has getdents64
+ //GO(__NR_getdents, "3s 1m");
+ //SY(__NR_getdents, x0, x0, x0+1); FAIL;
+
+ // __NR__newselect arm64 doesn't implement _newselect
+ //GO(__NR__newselect, "5s 4m");
+ //SY(__NR__newselect, x0+8, x0+0xffffffff, x0+1, x0+1, x0+1); FAIL;
+
+ // __NR_flock 143
+ GO(__NR_flock, "2s 0m");
+ SY(__NR_flock, x0, x0); FAIL;
+
+ // __NR_msync 144
+ GO(__NR_msync, "3s 1m");
+ SY(__NR_msync, x0, x0+1, x0); FAIL;
+
+ // __NR_readv 145
+ GO(__NR_readv, "3s 1m");
+ SY(__NR_readv, x0, x0, x0+1); FAIL;
+
+ // __NR_writev 146
+ GO(__NR_writev, "3s 1m");
+ SY(__NR_writev, x0, x0, x0+1); FAIL;
+
+ // __NR_getsid 147
+ GO(__NR_getsid, "1s 0m");
+ SY(__NR_getsid, x0-1); FAIL;
+
+ // __NR_fdatasync 148
+ GO(__NR_fdatasync, "1s 0m");
+ SY(__NR_fdatasync, x0-1); FAIL;
+
+ // __NR__sysctl arm64 doesn't implement sysctl, use /proc
+ //GO(__NR__sysctl, "1s 1m");
+ //SY(__NR__sysctl, x0); FAIL;
+
+ // __NR_mlock 150
+ GO(__NR_mlock, "2s 0m");
+ SY(__NR_mlock, x0, x0+1); FAIL;
+
+ // __NR_munlock 151
+ GO(__NR_munlock, "2s 0m");
+ SY(__NR_munlock, x0, x0+1); FAIL;
+
+ // __NR_mlockall 152
+ GO(__NR_mlockall, "1s 0m");
+ SY(__NR_mlockall, x0-1); FAIL;
+
+ // __NR_munlockall 153
+ GO(__NR_munlockall, "0s 0m");
+ SY(__NR_munlockall); SUCC_OR_FAILx(EPERM);
+
+ // __NR_sched_setparam 154
+ GO(__NR_sched_setparam, "2s 1m");
+ SY(__NR_sched_setparam, x0, x0); FAIL;
+
+ // __NR_sched_getparam 155
+ GO(__NR_sched_getparam, "2s 1m");
+ SY(__NR_sched_getparam, x0, x0); FAIL;
+
+ // __NR_sched_setscheduler 156
+ GO(__NR_sched_setscheduler, "3s 1m");
+ SY(__NR_sched_setscheduler, x0-1, x0, x0+1); FAIL;
+
+ // __NR_sched_getscheduler 157
+ GO(__NR_sched_getscheduler, "1s 0m");
+ SY(__NR_sched_getscheduler, x0-1); FAIL;
+
+ // __NR_sched_yield 158
+ GO(__NR_sched_yield, "0s 0m");
+ SY(__NR_sched_yield); SUCC;
+
+ // __NR_sched_get_priority_max 159
+ GO(__NR_sched_get_priority_max, "1s 0m");
+ SY(__NR_sched_get_priority_max, x0-1); FAIL;
+
+ // __NR_sched_get_priority_min 160
+ GO(__NR_sched_get_priority_min, "1s 0m");
+ SY(__NR_sched_get_priority_min, x0-1); FAIL;
+
+ // __NR_sched_rr_get_interval 161
+ GO(__NR_sched_rr_get_interval, "n/a");
+ //SY(__NR_sched_rr_get_interval); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_nanosleep 162
+ GO(__NR_nanosleep, "2s 2m");
+ SY(__NR_nanosleep, x0, x0+1); FAIL;
+
+ // __NR_mremap 163
+ GO(__NR_mremap, "5s 0m");
+ SY(__NR_mremap, x0+1, x0, x0, x0+MREMAP_FIXED, x0); FAILx(EINVAL);
+
+ // __NR_setresuid 164
+ GO(__NR_setresuid, "3s 0m");
+ SY(__NR_setresuid, x0, x0, x0); FAIL;
+
+ // __NR_getresuid 165
+ GO(__NR_getresuid, "3s 3m");
+ SY(__NR_getresuid, x0, x0, x0); FAIL;
+
+ // __NR_vm86 arm64 doesn't implement vm86
+ //GO(__NR_vm86, "n/a");
+ // (will probably never be handled by Valgrind)
+
+ // __NR_query_module arm64 doesn't implement query_module
+ //GO(__NR_query_module, "ni");
+ //SY(__NR_query_module); FAIL;
+
+ // __NR_poll arm64 only has ppoll
+ //GO(__NR_poll, "3s 1m");
+ //SY(__NR_poll, x0, x0+1, x0); FAIL;
+
+ // __NR_nfsservctl 169
+ GO(__NR_nfsservctl, "n/a");
+ //SY(__NR_nfsservctl); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_setresgid 170
+ GO(__NR_setresgid, "3s 0m");
+ SY(__NR_setresgid, x0, x0, x0); FAIL;
+
+ // __NR_getresgid 171
+ GO(__NR_getresgid, "3s 3m");
+ SY(__NR_getresgid, x0, x0, x0); FAIL;
+
+ // __NR_prctl 172
+ GO(__NR_prctl, "5s 0m");
+ SY(__NR_prctl, x0, x0, x0, x0, x0); FAIL;
+
+ // __NR_rt_sigreturn 173
+ GO(__NR_rt_sigreturn, "n/a");
+ //SY(__NR_rt_sigreturn); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_rt_sigaction 174
+ GO(__NR_rt_sigaction, "4s 4m");
+ SY(__NR_rt_sigaction, x0, x0+&px[2], x0+&px[2], x0); FAIL;
+
+ // __NR_rt_sigprocmask 175
+ GO(__NR_rt_sigprocmask, "4s 2m");
+ SY(__NR_rt_sigprocmask, x0, x0+1, x0+1, x0); FAIL;
+
+ // __NR_rt_sigpending 176
+ GO(__NR_rt_sigpending, "2s 1m");
+ SY(__NR_rt_sigpending, x0, x0+1); FAIL;
+
+ // __NR_rt_sigtimedwait 177
+ GO(__NR_rt_sigtimedwait, "4s 3m");
+ SY(__NR_rt_sigtimedwait, x0+1, x0+1, x0+1, x0); FAIL;
+
+ // __NR_rt_sigqueueinfo 178
+ GO(__NR_rt_sigqueueinfo, "3s 1m");
+ SY(__NR_rt_sigqueueinfo, x0, x0+1, x0); FAIL;
+
+ // __NR_rt_sigsuspend 179
+ GO(__NR_rt_sigsuspend, "ignore");
+ // (I don't know how to test this...)
+
+ // __NR_pread64 180
+ GO(__NR_pread64, "5s 1m");
+ SY(__NR_pread64, x0, x0, x0+1, x0, x0); FAIL;
+
+ // __NR_pwrite64 181
+ GO(__NR_pwrite64, "5s 1m");
+ SY(__NR_pwrite64, x0, x0, x0+1, x0, x0); FAIL;
+
+ // __NR_chown arm64 only has chownat
+ //GO(__NR_chown, "3s 1m");
+ //SY(__NR_chown, x0, x0, x0); FAIL;
+
+ // __NR_getcwd 183
+ GO(__NR_getcwd, "2s 1m");
+ SY(__NR_getcwd, x0, x0+1); FAIL;
+
+ // __NR_capget 184
+ GO(__NR_capget, "2s 2m");
+ SY(__NR_capget, x0, x0+1); FAIL;
+
+ // __NR_capset 185
+ GO(__NR_capset, "2s 2m");
+ SY(__NR_capset, x0, x0); FAIL;
+
+ // __NR_sigaltstack 186
+ {
+ struct our_sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+ } ss;
+ ss.ss_sp = NULL;
+ ss.ss_flags = 0;
+ ss.ss_size = 0;
+ VALGRIND_MAKE_MEM_NOACCESS(& ss, sizeof(struct our_sigaltstack));
+ GO(__NR_sigaltstack, "2s 2m");
+ SY(__NR_sigaltstack, x0+&ss, x0+&ss); SUCC;
+ }
+
+ // __NR_sendfile 187
+ GO(__NR_sendfile, "4s 1m");
+ SY(__NR_sendfile, x0, x0, x0+1, x0); FAIL;
+
+ // __NR_getpmsg arm64 doesn't implement getpmsg
+ // Could do 5s 4m with more effort, but I can't be bothered for this
+ // crappy non-standard syscall.
+ //GO(__NR_getpmsg, "5s 0m");
+ //SY(__NR_getpmsg, x0, x0, x0, x0); FAIL;
+
+ // __NR_putpmsg arm64 doesn't implement putpmsg
+ // Could do 5s 2m with more effort, but I can't be bothered for this
+ // crappy non-standard syscall.
+ //GO(__NR_putpmsg, "5s 0m");
+ //SY(__NR_putpmsg, x0, x0, x0, x0, x0); FAIL;
+
+ // __NR_vfork arm64 only has clone
+ //GO(__NR_vfork, "other");
+ // (sse scalar_vfork.c)
+
+ // __NR_ugetrlimit arm64 only has getrlimit and prlimit64
+ //GO(__NR_ugetrlimit, "2s 1m");
+ //SY(__NR_ugetrlimit, x0, x0); FAIL;
+
+ // __NR_mmap2 arm64 doesn't implement mmap2
+ //GO(__NR_mmap2, "6s 0m");
+ //SY(__NR_mmap2, x0, x0, x0, x0, x0-1, x0); FAIL;
+
+ // __NR_truncate64 arm64 just has truncate
+ //GO(__NR_truncate64, "3s 1m");
+ //SY(__NR_truncate64, x0, x0, x0); FAIL;
+
+ // __NR_ftruncate64 arm64 just has ftruncate
+ //GO(__NR_ftruncate64, "3s 0m");
+ //SY(__NR_ftruncate64, x0, x0, x0); FAIL;
+
+ // __NR_stat64 arm64 doesn't implement stat64
+ //GO(__NR_stat64, "2s 2m");
+ //SY(__NR_stat64, x0, x0); FAIL;
+
+ // __NR_lstat64 196
+ //GO(__NR_lstat64, "2s 2m");
+ //SY(__NR_lstat64, x0, x0); FAIL;
+
+ // __NR_fstat64 197
+ //GO(__NR_fstat64, "2s 1m");
+ //SY(__NR_fstat64, x0, x0); FAIL;
+
+ // __NR_lchown32 198
+ //GO(__NR_lchown32, "3s 1m");
+ //SY(__NR_lchown32, x0, x0, x0); FAIL;
+
+ // __NR_getuid32 199
+ //GO(__NR_getuid32, "0s 0m");
+ //SY(__NR_getuid32); SUCC;
+
+ // __NR_getgid32 200
+ //GO(__NR_getgid32, "0s 0m");
+ //SY(__NR_getgid32); SUCC;
+
+ // __NR_geteuid32 201
+ //GO(__NR_geteuid32, "0s 0m");
+ //SY(__NR_geteuid32); SUCC;
+
+ // __NR_getegid32 202
+ //GO(__NR_getegid32, "0s 0m");
+ //SY(__NR_getegid32); SUCC;
+
+ // __NR_setreuid32 203
+ //GO(__NR_setreuid32, "2s 0m");
+ //SY(__NR_setreuid32, x0, x0); FAIL;
+
+ // __NR_setregid32 204
+ //GO(__NR_setregid32, "2s 0m");
+ //SY(__NR_setregid32, x0, x0); FAIL;
+
+ // __NR_getgroups32 205
+ //GO(__NR_getgroups32, "2s 1m");
+ //SY(__NR_getgroups32, x0+1, x0+1); FAIL;
+
+ // __NR_setgroups32 206
+ //GO(__NR_setgroups32, "2s 1m");
+ //SY(__NR_setgroups32, x0+1, x0+1); FAIL;
+
+ // __NR_fchown32 207
+ //GO(__NR_fchown32, "3s 0m");
+ //SY(__NR_fchown32, x0, x0, x0); FAIL;
+
+ // __NR_setresuid32 208
+ //GO(__NR_setresuid32, "3s 0m");
+ //SY(__NR_setresuid32, x0, x0, x0); FAIL;
+
+ // __NR_getresuid32 209
+ //GO(__NR_getresuid32, "3s 3m");
+ //SY(__NR_getresuid32, x0, x0, x0); FAIL;
+
+ // __NR_setresgid32 210
+ //GO(__NR_setresgid32, "3s 0m");
+ //SY(__NR_setresgid32, x0, x0, x0); FAIL;
+
+ // __NR_getresgid32 211
+ //GO(__NR_getresgid32, "3s 3m");
+ //SY(__NR_getresgid32, x0, x0, x0); FAIL;
+
+ // __NR_chown32 212
+ //GO(__NR_chown32, "3s 1m");
+ //SY(__NR_chown32, x0, x0, x0); FAIL;
+
+ // __NR_setuid32 213
+ //GO(__NR_setuid32, "1s 0m");
+ //SY(__NR_setuid32, x0); FAIL;
+
+ // __NR_setgid32 214
+ //GO(__NR_setgid32, "1s 0m");
+ //SY(__NR_setgid32, x0); FAIL;
+
+ // __NR_setfsuid32 215
+ //GO(__NR_setfsuid32, "1s 0m");
+ //SY(__NR_setfsuid32, x0); SUCC; // This syscall has a stupid return value
+
+ // __NR_setfsgid32 216
+ //GO(__NR_setfsgid32, "1s 0m");
+ //SY(__NR_setfsgid32, x0); SUCC; // This syscall has a stupid return value
+
+ // __NR_pivot_root 217
+ GO(__NR_pivot_root, "n/a");
+ //SY(__NR_pivot_root); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_mincore 218
+ GO(__NR_mincore, "3s 1m");
+ SY(__NR_mincore, x0, x0+40960, x0); FAIL;
+
+ // __NR_madvise 219
+ GO(__NR_madvise, "3s 0m");
+ SY(__NR_madvise, x0, x0+1, x0); FAILx(ENOMEM);
+
+ // __NR_getdents64 220
+ GO(__NR_getdents64, "3s 1m");
+ SY(__NR_getdents64, x0, x0, x0+1); FAIL;
+
+ // __NR_fcntl64 221
+ // As with sys_open(), we don't trigger errors for the 1st two args for
+ // the later ones.
+ // For F_GETFD the 3rd arg is ignored.
+ //GO(__NR_fcntl64, "(GETFD) 2s 0m");
+ //SY(__NR_fcntl64, x0-1, x0+F_GETFD, x0); FAILx(EBADF);
+
+ // For F_DUPFD the 3rd arg is 'arg'
+ //GO(__NR_fcntl64, "(DUPFD) 1s 0m");
+ //SY(__NR_fcntl64, -1, F_DUPFD, x0); FAILx(EBADF);
+
+ // For F_GETLK the 3rd arg is 'lock'.
+ // On x86, this fails w/EBADF. But on amd64 in 32-bit mode it fails
+ // w/EFAULT.
+ //GO(__NR_fcntl64, "(GETLK) 1s 0m");
+ //SY(__NR_fcntl64, -1, +F_GETLK, x0); FAIL; //FAILx(EBADF);
+
+ // 222
+ //GO(222, "ni");
+ //SY(222); FAIL;
+
+ // 223
+ //GO(223, "ni");
+ //SY(223); FAIL;
+
+ // __NR_gettid 224
+ GO(__NR_gettid, "n/a");
+ //SY(__NR_gettid); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_readahead 225
+ GO(__NR_readahead, "n/a");
+ //SY(__NR_readahead); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_setxattr 226
+ GO(__NR_setxattr, "5s 3m");
+ SY(__NR_setxattr, x0, x0, x0, x0+1, x0); FAIL;
+
+ // __NR_lsetxattr 227
+ GO(__NR_lsetxattr, "5s 3m");
+ SY(__NR_lsetxattr, x0, x0, x0, x0+1, x0); FAIL;
+
+ // __NR_fsetxattr 228
+ GO(__NR_fsetxattr, "5s 2m");
+ SY(__NR_fsetxattr, x0, x0, x0, x0+1, x0); FAIL;
+
+ // __NR_getxattr 229
+ GO(__NR_getxattr, "4s 3m");
+ SY(__NR_getxattr, x0, x0, x0, x0+1); FAIL;
+
+ // __NR_lgetxattr 230
+ GO(__NR_lgetxattr, "4s 3m");
+ SY(__NR_lgetxattr, x0, x0, x0, x0+1); FAIL;
+
+ // __NR_fgetxattr 231
+ GO(__NR_fgetxattr, "4s 2m");
+ SY(__NR_fgetxattr, x0, x0, x0, x0+1); FAIL;
+
+ // __NR_listxattr 232
+ GO(__NR_listxattr, "3s 2m");
+ SY(__NR_listxattr, x0, x0, x0+1); FAIL;
+
+ // __NR_llistxattr 233
+ GO(__NR_llistxattr, "3s 2m");
+ SY(__NR_llistxattr, x0, x0, x0+1); FAIL;
+
+ // __NR_flistxattr 234
+ GO(__NR_flistxattr, "3s 1m");
+ SY(__NR_flistxattr, x0-1, x0, x0+1); FAIL; /* kernel returns EBADF, but both seem correct */
+
+ // __NR_removexattr 235
+ GO(__NR_removexattr, "2s 2m");
+ SY(__NR_removexattr, x0, x0); FAIL;
+
+ // __NR_lremovexattr 236
+ GO(__NR_lremovexattr, "2s 2m");
+ SY(__NR_lremovexattr, x0, x0); FAIL;
+
+ // __NR_fremovexattr 237
+ GO(__NR_fremovexattr, "2s 1m");
+ SY(__NR_fremovexattr, x0, x0); FAIL;
+
+ // __NR_tkill 238
+ GO(__NR_tkill, "n/a");
+ //SY(__NR_tkill); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_sendfile64 239
+ //GO(__NR_sendfile64, "4s 1m");
+ //SY(__NR_sendfile64, x0, x0, x0+1, x0); FAIL;
+
+ // __NR_futex 240
+ #ifndef FUTEX_WAIT
+ #define FUTEX_WAIT 0
+ #endif
+ // XXX: again, glibc not doing 6th arg means we have only 5s errors
+ GO(__NR_futex, "5s 2m");
+ SY(__NR_futex, x0+FUTEX_WAIT, x0, x0, x0+1, x0, x0); FAIL;
+
+ // __NR_sched_setaffinity 241
+ GO(__NR_sched_setaffinity, "3s 1m");
+ SY(__NR_sched_setaffinity, x0, x0+1, x0); FAIL;
+
+ // __NR_sched_getaffinity 242
+ GO(__NR_sched_getaffinity, "3s 1m");
+ SY(__NR_sched_getaffinity, x0, x0+1, x0); FAIL;
+
+ // __NR_set_thread_area 243
+ //GO(__NR_set_thread_area, "1s 1m");
+ //SY(__NR_set_thread_area, x0); FAILx(EFAULT);
+
+ // __NR_get_thread_area 244
+ //GO(__NR_get_thread_area, "1s 1m");
+ //SY(__NR_get_thread_area, x0); FAILx(EFAULT);
+
+ // __NR_io_setup 245
+ GO(__NR_io_setup, "2s 1m");
+ SY(__NR_io_setup, x0, x0); FAIL;
+
+ // __NR_io_destroy 246
+ {
+ // jump through hoops to prevent the PRE(io_destroy) wrapper crashing.
+ struct fake_aio_ring {
+ unsigned id; /* kernel internal index number */
+ unsigned nr; /* number of io_events */
+ // There are more fields in the real aio_ring, but the 'nr' field is
+ // the only one used by the PRE() wrapper.
+ } ring = { 0, 0 };
+ struct fake_aio_ring* ringptr = ˚
+ GO(__NR_io_destroy, "1s 0m");
+ SY(__NR_io_destroy, x0+&ringptr); FAIL;
+ }
+
+ // __NR_io_getevents 247
+ GO(__NR_io_getevents, "5s 2m");
+ SY(__NR_io_getevents, x0, x0, x0+1, x0, x0+1); FAIL;
+
+ // __NR_io_submit 248
+ GO(__NR_io_submit, "3s 1m");
+ SY(__NR_io_submit, x0, x0+1, x0); FAIL;
+
+ // __NR_io_cancel 249
+ GO(__NR_io_cancel, "3s 2m");
+ SY(__NR_io_cancel, x0, x0, x0); FAIL;
+
+ // __NR_fadvise64 250
+ GO(__NR_fadvise64, "n/a");
+ //SY(__NR_fadvise64); // (Not yet handled by Valgrind) FAIL;
+
+ // 251
+ //GO(251, "ni");
+ //SY(251); FAIL;
+
+ // __NR_exit_group 252
+ GO(__NR_exit_group, "other");
+ // (see scalar_exit_group.c)
+
+ // __NR_lookup_dcookie 253
+ GO(__NR_lookup_dcookie, "4s 1m");
+ SY(__NR_lookup_dcookie, x0, x0, x0, x0+1); FAIL;
+
+ // __NR_epoll_create arm64 only has epoll_create1
+ //GO(__NR_epoll_create, "1s 0m");
+ //SY(__NR_epoll_create, x0); SUCC_OR_FAIL;
+
+ // __NR_epoll_ctl 255
+ GO(__NR_epoll_ctl, "4s 1m");
+ SY(__NR_epoll_ctl, x0, x0, x0, x0); FAIL;
+
+ // __NR_epoll_wait arm64 only has epoll_pwait
+ //GO(__NR_epoll_wait, "4s 1m");
+ //SY(__NR_epoll_wait, x0, x0, x0+1, x0); FAIL;
+
+ // __NR_remap_file_pages 257
+ GO(__NR_remap_file_pages, "n/a");
+ //SY(__NR_remap_file_pages); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_set_tid_address 258
+ GO(__NR_set_tid_address, "1s 0m");
+ SY(__NR_set_tid_address, x0); SUCC_OR_FAILx(ENOSYS);
+
+ // __NR_timer_create 259
+ GO(__NR_timer_create, "3s 2m");
+ SY(__NR_timer_create, x0, x0+1, x0); FAIL;
+
+ // __NR_timer_settime (__NR_timer_create+1)
+ GO(__NR_timer_settime, "4s 2m");
+ SY(__NR_timer_settime, x0, x0, x0, x0+1); FAIL;
+
+ // __NR_timer_gettime (__NR_timer_create+2)
+ GO(__NR_timer_gettime, "2s 1m");
+ SY(__NR_timer_gettime, x0, x0); FAIL;
+
+ // __NR_timer_getoverrun (__NR_timer_create+3)
+ GO(__NR_timer_getoverrun, "1s 0m");
+ SY(__NR_timer_getoverrun, x0); FAIL;
+
+ // __NR_timer_delete (__NR_timer_create+4)
+ GO(__NR_timer_delete, "1s 0m");
+ SY(__NR_timer_delete, x0); FAIL;
+
+ // __NR_clock_settime (__NR_timer_create+5)
+ GO(__NR_clock_settime, "2s 1m");
+ SY(__NR_clock_settime, x0, x0); FAIL; FAIL;
+
+ // __NR_clock_gettime (__NR_timer_create+6)
+ GO(__NR_clock_gettime, "2s 1m");
+ SY(__NR_clock_gettime, x0, x0); FAIL;
+
+ // __NR_clock_getres (__NR_timer_create+7)
+ GO(__NR_clock_getres, "2s 1m");
+ SY(__NR_clock_getres, x0+1, x0+1); FAIL; FAIL;
+
+ // __NR_clock_nanosleep (__NR_timer_create+8)
+ GO(__NR_clock_nanosleep, "n/a");
+ //SY(__NR_clock_nanosleep); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_statfs64 268
+ //GO(__NR_statfs64, "3s 2m");
+ //SY(__NR_statfs64, x0, x0+1, x0); FAIL;
+
+ // __NR_fstatfs64 269
+ //GO(__NR_fstatfs64, "3s 1m");
+ //SY(__NR_fstatfs64, x0, x0+1, x0); FAIL;
+
+ // __NR_tgkill 270
+ GO(__NR_tgkill, "n/a");
+ //SY(__NR_tgkill); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_utimes arm64 only has utimensat
+ //GO(__NR_utimes, "2s 2m");
+ //SY(__NR_utimes, x0, x0+1); FAIL;
+
+ // __NR_fadvise64_64 272
+ //GO(__NR_fadvise64_64, "n/a");
+ //SY(__NR_fadvise64_64); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_vserver 273
+ //GO(__NR_vserver, "ni");
+ //SY(__NR_vserver); FAIL;
+
+ // __NR_mbind 274
+ GO(__NR_mbind, "n/a");
+ //SY(__NR_mbind); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_get_mempolicy 275
+ GO(__NR_get_mempolicy, "n/a");
+ //SY(__NR_get_mempolicy); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_set_mempolicy 276
+ GO(__NR_set_mempolicy, "n/a");
+ //SY(__NR_set_mempolicy); // (Not yet handled by Valgrind) FAIL;
+
+ // __NR_mq_open 277
+ GO(__NR_mq_open, "4s 3m");
+ SY(__NR_mq_open, x0, x0+O_CREAT, x0, x0+1); FAIL;
+
+ // __NR_mq_unlink (__NR_mq_open+1)
+ GO(__NR_mq_unlink, "1s 1m");
+ SY(__NR_mq_unlink, x0); FAIL;
+
+ // __NR_mq_timedsend (__NR_mq_open+2)
+ GO(__NR_mq_timedsend, "5s 2m");
+ SY(__NR_mq_timedsend, x0, x0, x0+1, x0, x0+1); FAIL;
+
+ // __NR_mq_timedreceive (__NR_mq_open+3)
+ GO(__NR_mq_timedreceive, "5s 3m");
+ SY(__NR_mq_timedreceive, x0, x0, x0+1, x0+1, x0+1); FAIL;
+
+ // __NR_mq_notify (__NR_mq_open+4)
+ GO(__NR_mq_notify, "2s 1m");
+ SY(__NR_mq_notify, x0, x0+1); FAIL;
+
+ // __NR_mq_getsetattr (__NR_mq_open+5)
+ GO(__NR_mq_getsetattr, "3s 2m");
+ SY(__NR_mq_getsetattr, x0, x0+1, x0+1); FAIL;
+
+ // __NR_kexec_load 283
+ GO(__NR_kexec_load, "ni");
+ SY(__NR_kexec_load); FAIL;
+
+ // __NR_epoll_create1 329
+ GO(__NR_epoll_create1, "1s 0m");
+ SY(__NR_epoll_create1, x0); SUCC_OR_FAIL;
+
+ // __NR_process_vm_readv 347
+ GO(__NR_process_vm_readv, "6s 2m");
+ SY(__NR_process_vm_readv, x0, x0, x0+1, x0, x0+1, x0); FAIL;
+
+ // __NR_process_vm_writev 348
+ GO(__NR_process_vm_writev, "6s 2m");
+ SY(__NR_process_vm_writev, x0, x0, x0+1, x0, x0+1, x0); FAIL;
+
+ // no such syscall...
+ GO(9999, "1e");
+ SY(9999); FAIL;
+
+ // __NR_exit 1
+ GO(__NR_exit, "1s 0m");
+ SY(__NR_exit, x0); FAIL;
+
+ assert(0);
+}
+
--- /dev/null
+-----------------------------------------------------
+128:__NR_restart_syscall n/a
+-----------------------------------------------------
+-----------------------------------------------------
+ 93: __NR_exit below
+-----------------------------------------------------
+-----------------------------------------------------
+ 63: __NR_read 1+3s 1m
+-----------------------------------------------------
+Syscall param (syscallno) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:51)
+
+Syscall param read(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:51)
+
+Syscall param read(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:51)
+
+Syscall param read(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:51)
+
+Syscall param read(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:51)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 64: __NR_write 3s 1m
+-----------------------------------------------------
+Syscall param write(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:55)
+
+Syscall param write(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:55)
+
+Syscall param write(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:55)
+
+Syscall param write(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:55)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 57: __NR_close 1s 0m
+-----------------------------------------------------
+Syscall param close(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:69)
+
+-----------------------------------------------------
+221: __NR_execve 3s 1m
+-----------------------------------------------------
+Syscall param execve(filename) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:91)
+
+Syscall param execve(argv) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:91)
+
+Syscall param execve(envp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:91)
+
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:91)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 49: __NR_chdir 1s 1m
+-----------------------------------------------------
+Syscall param chdir(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:95)
+
+Syscall param chdir(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:95)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 62: __NR_lseek 3s 0m
+-----------------------------------------------------
+Syscall param lseek(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:123)
+
+Syscall param lseek(offset) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:123)
+
+Syscall param lseek(whence) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:123)
+
+-----------------------------------------------------
+172: __NR_getpid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+ 40: __NR_mount 5s 3m
+-----------------------------------------------------
+Syscall param mount(source) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+
+Syscall param mount(target) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+
+Syscall param mount(type) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+
+Syscall param mount(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+
+Syscall param mount(data) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+
+Syscall param mount(target) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mount(type) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:131)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+146: __NR_setuid 1s 0m
+-----------------------------------------------------
+Syscall param setuid(uid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:139)
+
+-----------------------------------------------------
+174: __NR_getuid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+ 81: __NR_sync 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+129: __NR_kill 2s 0m
+-----------------------------------------------------
+Syscall param kill(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:196)
+
+Syscall param kill(signal) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:196)
+
+-----------------------------------------------------
+ 23: __NR_dup 1s 0m
+-----------------------------------------------------
+Syscall param dup(oldfd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:212)
+
+-----------------------------------------------------
+153: __NR_times 1s 1m
+-----------------------------------------------------
+Syscall param times(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:220)
+
+Syscall param times(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:220)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+214: __NR_brk 1s 0m
+-----------------------------------------------------
+Syscall param brk(end_data_segment) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:228)
+
+-----------------------------------------------------
+144: __NR_setgid 1s 0m
+-----------------------------------------------------
+Syscall param setgid(gid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:232)
+
+-----------------------------------------------------
+176: __NR_getgid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+175: __NR_geteuid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+177: __NR_getegid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+ 89: __NR_acct 1s 1m
+-----------------------------------------------------
+Syscall param acct(filename) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:252)
+
+Syscall param acct(filename) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:252)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 39: __NR_umount2 2s 1m
+-----------------------------------------------------
+Syscall param umount2(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:256)
+
+Syscall param umount2(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:256)
+
+Syscall param umount2(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:256)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 29: __NR_ioctl 3s 1m
+-----------------------------------------------------
+Syscall param ioctl(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:265)
+
+Syscall param ioctl(request) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:265)
+
+Syscall param ioctl(arg) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:265)
+
+Syscall param ioctl(TCSET{S,SW,SF}) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:265)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 25: __NR_fcntl (GETFD) 2s 0m
+-----------------------------------------------------
+Syscall param fcntl(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:271)
+
+Syscall param fcntl(cmd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:271)
+
+-----------------------------------------------------
+ 25: __NR_fcntl (DUPFD) 1s 0m
+-----------------------------------------------------
+Syscall param fcntl(arg) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:277)
+
+-----------------------------------------------------
+ 25: __NR_fcntl (GETLK) 1s 0m
+-----------------------------------------------------
+Syscall param fcntl(lock) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:283)
+
+-----------------------------------------------------
+154: __NR_setpgid 2s 0m
+-----------------------------------------------------
+Syscall param setpgid(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:291)
+
+Syscall param setpgid(pgid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:291)
+
+-----------------------------------------------------
+166: __NR_umask 1s 0m
+-----------------------------------------------------
+Syscall param umask(mask) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:303)
+
+-----------------------------------------------------
+ 51: __NR_chroot 1s 1m
+-----------------------------------------------------
+Syscall param chroot(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:307)
+
+Syscall param chroot(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:307)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+173: __NR_getppid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+157: __NR_setsid 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+145: __NR_setreuid 2s 0m
+-----------------------------------------------------
+Syscall param setreuid(ruid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:343)
+
+Syscall param setreuid(euid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:343)
+
+-----------------------------------------------------
+143: __NR_setregid 2s 0m
+-----------------------------------------------------
+Syscall param setregid(rgid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:347)
+
+Syscall param setregid(egid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:347)
+
+-----------------------------------------------------
+161: __NR_sethostname n/a
+-----------------------------------------------------
+-----------------------------------------------------
+164: __NR_setrlimit 2s 1m
+-----------------------------------------------------
+Syscall param setrlimit(resource) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:364)
+
+Syscall param setrlimit(rlim) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:364)
+
+Syscall param setrlimit(rlim) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:364)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+163: __NR_getrlimit 2s 1m
+-----------------------------------------------------
+Syscall param old_getrlimit(resource) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:368)
+
+Syscall param old_getrlimit(rlim) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:368)
+
+Syscall param old_getrlimit(rlim) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:368)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+165: __NR_getrusage 2s 1m
+-----------------------------------------------------
+Syscall param getrusage(who) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:372)
+
+Syscall param getrusage(usage) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:372)
+
+Syscall param getrusage(usage) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:372)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+169: __NR_gettimeofday 2s 2m
+-----------------------------------------------------
+Syscall param gettimeofday(tv) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:376)
+
+Syscall param gettimeofday(tz) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:376)
+
+Syscall param gettimeofday(tv) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:376)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param gettimeofday(tz) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:376)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+170: __NR_settimeofday 2s 2m
+-----------------------------------------------------
+Syscall param settimeofday(tv) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:380)
+
+Syscall param settimeofday(tz) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:380)
+
+Syscall param settimeofday(tv) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:380)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param settimeofday(tz) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:380)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+158: __NR_getgroups 2s 1m
+-----------------------------------------------------
+Syscall param getgroups(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:384)
+
+Syscall param getgroups(list) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:384)
+
+Syscall param getgroups(list) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:384)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+159: __NR_setgroups 2s 1m
+-----------------------------------------------------
+Syscall param setgroups(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:388)
+
+Syscall param setgroups(list) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:388)
+
+Syscall param setgroups(list) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:388)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+224: __NR_swapon n/a
+-----------------------------------------------------
+-----------------------------------------------------
+142: __NR_reboot n/a
+-----------------------------------------------------
+-----------------------------------------------------
+222: __NR_mmap 1s 1m
+-----------------------------------------------------
+Syscall param mmap(start) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:429)
+
+-----------------------------------------------------
+215: __NR_munmap 2s 0m
+-----------------------------------------------------
+Syscall param munmap(start) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:434)
+
+Syscall param munmap(length) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:434)
+
+-----------------------------------------------------
+ 45: __NR_truncate 2s 1m
+-----------------------------------------------------
+Syscall param truncate(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:438)
+
+Syscall param truncate(length) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:438)
+
+Syscall param truncate(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:438)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 46: __NR_ftruncate 2s 0m
+-----------------------------------------------------
+Syscall param ftruncate(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:442)
+
+Syscall param ftruncate(length) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:442)
+
+-----------------------------------------------------
+ 52: __NR_fchmod 2s 0m
+-----------------------------------------------------
+Syscall param fchmod(fildes) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:446)
+
+Syscall param fchmod(mode) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:446)
+
+-----------------------------------------------------
+ 55: __NR_fchown 3s 0m
+-----------------------------------------------------
+Syscall param fchown(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:450)
+
+Syscall param fchown(owner) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:450)
+
+Syscall param fchown(group) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:450)
+
+-----------------------------------------------------
+141: __NR_getpriority 2s 0m
+-----------------------------------------------------
+Syscall param getpriority(which) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:454)
+
+Syscall param getpriority(who) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:454)
+
+-----------------------------------------------------
+140: __NR_setpriority 3s 0m
+-----------------------------------------------------
+Syscall param setpriority(which) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:458)
+
+Syscall param setpriority(who) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:458)
+
+Syscall param setpriority(prio) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:458)
+
+-----------------------------------------------------
+ 43: __NR_statfs 2s 2m
+-----------------------------------------------------
+Syscall param statfs(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:466)
+
+Syscall param statfs(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:466)
+
+Syscall param statfs(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:466)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+
+More than 100 errors detected. Subsequent errors
+will still be recorded, but in less detail than before.
+Syscall param statfs(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:466)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 44: __NR_fstatfs 2s 1m
+-----------------------------------------------------
+Syscall param fstatfs(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:470)
+
+Syscall param fstatfs(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:470)
+
+Syscall param fstatfs(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:470)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+116: __NR_syslog 3s 1m
+-----------------------------------------------------
+Syscall param syslog(type) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:482)
+
+Syscall param syslog(bufp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:482)
+
+Syscall param syslog(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:482)
+
+Syscall param syslog(bufp) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:482)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+103: __NR_setitimer 3s 2m
+-----------------------------------------------------
+Syscall param setitimer(which) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+
+Syscall param setitimer(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+
+Syscall param setitimer(ovalue) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+
+Syscall param setitimer(&value->it_interval) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setitimer(&value->it_value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setitimer(&ovalue->it_interval) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setitimer(&ovalue->it_value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:486)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+102: __NR_getitimer 2s 1m
+-----------------------------------------------------
+Syscall param getitimer(which) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:490)
+
+Syscall param getitimer(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:490)
+
+Syscall param getitimer(&value->it_interval) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:490)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getitimer(&value->it_value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:490)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 80: __NR_fstat 2s 1m
+-----------------------------------------------------
+Syscall param fstat(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:502)
+
+Syscall param fstat(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:502)
+
+Syscall param fstat(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:502)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 58: __NR_vhangup 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+260: __NR_wait4 4s 2m
+-----------------------------------------------------
+Syscall param wait4(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:526)
+
+Syscall param wait4(status) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:526)
+
+Syscall param wait4(options) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:526)
+
+Syscall param wait4(rusage) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:526)
+
+Syscall param wait4(status) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:526)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param wait4(rusage) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:526)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+225: __NR_swapoff n/a
+-----------------------------------------------------
+-----------------------------------------------------
+179: __NR_sysinfo 1s 1m
+-----------------------------------------------------
+Syscall param sysinfo(info) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:534)
+
+Syscall param sysinfo(info) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:534)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 82: __NR_fsync 1s 0m
+-----------------------------------------------------
+Syscall param fsync(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:545)
+
+-----------------------------------------------------
+220: __NR_clone 5s 3m
+-----------------------------------------------------
+Syscall param clone(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:556)
+
+Syscall param clone(child_stack) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:556)
+
+Syscall param clone(parent_tidptr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:556)
+
+Syscall param clone(child_tls) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:556)
+
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:556)
+
+Syscall param clone(parent_tidptr) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:556)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+162: __NR_setdomainname n/a
+-----------------------------------------------------
+-----------------------------------------------------
+160: __NR_uname 1s 1m
+-----------------------------------------------------
+Syscall param uname(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:567)
+
+Syscall param uname(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:567)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+171: __NR_adjtimex XXX
+-----------------------------------------------------
+-----------------------------------------------------
+226: __NR_mprotect 3s 0m
+-----------------------------------------------------
+Syscall param mprotect(addr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:580)
+
+Syscall param mprotect(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:580)
+
+Syscall param mprotect(prot) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:580)
+
+-----------------------------------------------------
+105: __NR_init_module 3s 2m
+-----------------------------------------------------
+Syscall param init_module(umod) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:592)
+
+Syscall param init_module(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:592)
+
+Syscall param init_module(uargs) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:592)
+
+Syscall param init_module(umod) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:592)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param init_module(uargs) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:592)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+106: __NR_delete_module n/a
+-----------------------------------------------------
+-----------------------------------------------------
+ 60: __NR_quotactl 4s 1m
+-----------------------------------------------------
+Syscall param quotactl(cmd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:604)
+
+Syscall param quotactl(special) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:604)
+
+Syscall param quotactl(id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:604)
+
+Syscall param quotactl(addr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:604)
+
+Syscall param quotactl(special) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:604)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+155: __NR_getpgid 1s 0m
+-----------------------------------------------------
+Syscall param getpgid(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:608)
+
+-----------------------------------------------------
+ 50: __NR_fchdir 1s 0m
+-----------------------------------------------------
+Syscall param fchdir(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:612)
+
+-----------------------------------------------------
+ 92: __NR_personality 1s 0m
+-----------------------------------------------------
+Syscall param personality(persona) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:624)
+
+-----------------------------------------------------
+151: __NR_setfsuid 1s 0m
+-----------------------------------------------------
+Syscall param setfsuid(uid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:632)
+
+-----------------------------------------------------
+152: __NR_setfsgid 1s 0m
+-----------------------------------------------------
+Syscall param setfsgid(gid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:636)
+
+-----------------------------------------------------
+ 32: __NR_flock 2s 0m
+-----------------------------------------------------
+Syscall param flock(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:652)
+
+Syscall param flock(operation) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:652)
+
+-----------------------------------------------------
+227: __NR_msync 3s 1m
+-----------------------------------------------------
+Syscall param msync(start) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:656)
+
+Syscall param msync(length) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:656)
+
+Syscall param msync(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:656)
+
+Syscall param msync(start) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:656)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 65: __NR_readv 3s 1m
+-----------------------------------------------------
+Syscall param readv(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:660)
+
+Syscall param readv(vector) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:660)
+
+Syscall param readv(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:660)
+
+Syscall param readv(vector) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:660)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 66: __NR_writev 3s 1m
+-----------------------------------------------------
+Syscall param writev(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:664)
+
+Syscall param writev(vector) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:664)
+
+Syscall param writev(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:664)
+
+Syscall param writev(vector) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:664)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+156: __NR_getsid 1s 0m
+-----------------------------------------------------
+Syscall param getsid(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:668)
+
+-----------------------------------------------------
+ 83: __NR_fdatasync 1s 0m
+-----------------------------------------------------
+Syscall param fdatasync(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:672)
+
+-----------------------------------------------------
+228: __NR_mlock 2s 0m
+-----------------------------------------------------
+Syscall param mlock(addr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:680)
+
+Syscall param mlock(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:680)
+
+-----------------------------------------------------
+229: __NR_munlock 2s 0m
+-----------------------------------------------------
+Syscall param munlock(addr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:684)
+
+Syscall param munlock(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:684)
+
+-----------------------------------------------------
+230: __NR_mlockall 1s 0m
+-----------------------------------------------------
+Syscall param mlockall(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:688)
+
+-----------------------------------------------------
+231: __NR_munlockall 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+118: __NR_sched_setparam 2s 1m
+-----------------------------------------------------
+Syscall param sched_setparam(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:696)
+
+Syscall param sched_setparam(p) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:696)
+
+Syscall param sched_setparam(p) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:696)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+121: __NR_sched_getparam 2s 1m
+-----------------------------------------------------
+Syscall param sched_getparam(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:700)
+
+Syscall param sched_getparam(p) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:700)
+
+Syscall param sched_getparam(p) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:700)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+119:__NR_sched_setscheduler 3s 1m
+-----------------------------------------------------
+Syscall param sched_setscheduler(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:704)
+
+Syscall param sched_setscheduler(policy) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:704)
+
+Syscall param sched_setscheduler(p) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:704)
+
+Syscall param sched_setscheduler(p) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:704)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+120:__NR_sched_getscheduler 1s 0m
+-----------------------------------------------------
+Syscall param sched_getscheduler(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:708)
+
+-----------------------------------------------------
+124: __NR_sched_yield 0s 0m
+-----------------------------------------------------
+-----------------------------------------------------
+125:__NR_sched_get_priority_max 1s 0m
+-----------------------------------------------------
+Syscall param sched_get_priority_max(policy) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:716)
+
+-----------------------------------------------------
+126:__NR_sched_get_priority_min 1s 0m
+-----------------------------------------------------
+Syscall param sched_get_priority_min(policy) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:720)
+
+-----------------------------------------------------
+127:__NR_sched_rr_get_interval n/a
+-----------------------------------------------------
+-----------------------------------------------------
+101: __NR_nanosleep 2s 2m
+-----------------------------------------------------
+Syscall param nanosleep(req) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:728)
+
+Syscall param nanosleep(rem) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:728)
+
+Syscall param nanosleep(req) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:728)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param nanosleep(rem) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:728)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+216: __NR_mremap 5s 0m
+-----------------------------------------------------
+Syscall param mremap(old_addr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:732)
+
+Syscall param mremap(old_size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:732)
+
+Syscall param mremap(new_size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:732)
+
+Syscall param mremap(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:732)
+
+Syscall param mremap(new_addr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:732)
+
+-----------------------------------------------------
+147: __NR_setresuid 3s 0m
+-----------------------------------------------------
+Syscall param setresuid(ruid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:736)
+
+Syscall param setresuid(euid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:736)
+
+Syscall param setresuid(suid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:736)
+
+-----------------------------------------------------
+148: __NR_getresuid 3s 3m
+-----------------------------------------------------
+Syscall param getresuid(ruid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:740)
+
+Syscall param getresuid(euid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:740)
+
+Syscall param getresuid(suid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:740)
+
+Syscall param getresuid(ruid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:740)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getresuid(euid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:740)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getresuid(suid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:740)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 42: __NR_nfsservctl n/a
+-----------------------------------------------------
+-----------------------------------------------------
+149: __NR_setresgid 3s 0m
+-----------------------------------------------------
+Syscall param setresgid(rgid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:760)
+
+Syscall param setresgid(egid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:760)
+
+Syscall param setresgid(sgid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:760)
+
+-----------------------------------------------------
+150: __NR_getresgid 3s 3m
+-----------------------------------------------------
+Syscall param getresgid(rgid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:764)
+
+Syscall param getresgid(egid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:764)
+
+Syscall param getresgid(sgid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:764)
+
+Syscall param getresgid(rgid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:764)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getresgid(egid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:764)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getresgid(sgid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:764)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+167: __NR_prctl 5s 0m
+-----------------------------------------------------
+Syscall param prctl(option) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:768)
+
+Syscall param prctl(arg2) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:768)
+
+Syscall param prctl(arg3) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:768)
+
+Syscall param prctl(arg4) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:768)
+
+Syscall param prctl(arg5) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:768)
+
+-----------------------------------------------------
+139: __NR_rt_sigreturn n/a
+-----------------------------------------------------
+-----------------------------------------------------
+134: __NR_rt_sigaction 4s 4m
+-----------------------------------------------------
+Syscall param rt_sigaction(signum) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+
+Syscall param rt_sigaction(act) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+
+Syscall param rt_sigaction(oldact) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+
+Syscall param rt_sigaction(sigsetsize) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+
+Syscall param rt_sigaction(act->sa_handler) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+ Address 0x........ is 8 bytes after a block of size 8 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (scalar.c:30)
+
+Syscall param rt_sigaction(act->sa_mask) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+ Address 0x........ is 24 bytes after a block of size 16 in arena "client"
+
+Syscall param rt_sigaction(act->sa_flags) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+ Address 0x........ is 16 bytes after a block of size 8 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (scalar.c:30)
+
+Syscall param rt_sigaction(oldact) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:776)
+ Address 0x........ is 8 bytes after a block of size 8 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (scalar.c:30)
+
+-----------------------------------------------------
+135: __NR_rt_sigprocmask 4s 2m
+-----------------------------------------------------
+Syscall param rt_sigprocmask(how) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:780)
+
+Syscall param rt_sigprocmask(set) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:780)
+
+Syscall param rt_sigprocmask(oldset) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:780)
+
+Syscall param rt_sigprocmask(sigsetsize) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:780)
+
+Syscall param rt_sigprocmask(set) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:780)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param rt_sigprocmask(oldset) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:780)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+136: __NR_rt_sigpending 2s 1m
+-----------------------------------------------------
+Syscall param rt_sigpending(set) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:784)
+
+Syscall param rt_sigpending(sigsetsize) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:784)
+
+Syscall param rt_sigpending(set) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:784)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+137:__NR_rt_sigtimedwait 4s 3m
+-----------------------------------------------------
+Syscall param rt_sigtimedwait(set) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+
+Syscall param rt_sigtimedwait(info) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+
+Syscall param rt_sigtimedwait(timeout) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+
+Syscall param rt_sigtimedwait(sigsetsize) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+
+Syscall param rt_sigtimedwait(set) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param rt_sigtimedwait(info) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param rt_sigtimedwait(timeout) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:788)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+138:__NR_rt_sigqueueinfo 3s 1m
+-----------------------------------------------------
+Syscall param rt_sigqueueinfo(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:792)
+
+Syscall param rt_sigqueueinfo(sig) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:792)
+
+Syscall param rt_sigqueueinfo(uinfo) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:792)
+
+Syscall param rt_sigqueueinfo(uinfo) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:792)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+133: __NR_rt_sigsuspend ignore
+-----------------------------------------------------
+-----------------------------------------------------
+ 67: __NR_pread64 5s 1m
+-----------------------------------------------------
+Syscall param pread64(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:800)
+
+Syscall param pread64(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:800)
+
+Syscall param pread64(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:800)
+
+Syscall param pread64(offset) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:800)
+
+Syscall param pread64(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:800)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 68: __NR_pwrite64 5s 1m
+-----------------------------------------------------
+Syscall param pwrite64(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:804)
+
+Syscall param pwrite64(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:804)
+
+Syscall param pwrite64(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:804)
+
+Syscall param pwrite64(offset) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:804)
+
+Syscall param pwrite64(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:804)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 17: __NR_getcwd 2s 1m
+-----------------------------------------------------
+Syscall param getcwd(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:812)
+
+Syscall param getcwd(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:812)
+
+Syscall param getcwd(buf) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:812)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 90: __NR_capget 2s 2m
+-----------------------------------------------------
+Syscall param capget(header) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:816)
+
+Syscall param capget(data) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:816)
+
+Syscall param capget(header) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:816)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param capget(data) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:816)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 91: __NR_capset 2s 2m
+-----------------------------------------------------
+Syscall param capset(header) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:820)
+
+Syscall param capset(data) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:820)
+
+Syscall param capset(header) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:820)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param capset(data) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:820)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+132: __NR_sigaltstack 2s 2m
+-----------------------------------------------------
+Syscall param sigaltstack(ss) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:834)
+
+Syscall param sigaltstack(oss) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:834)
+
+Syscall param sigaltstack(ss) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:834)
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by main (scalar.c:28)
+
+Syscall param sigaltstack(oss) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:834)
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by main (scalar.c:28)
+
+-----------------------------------------------------
+ 71: __NR_sendfile 4s 1m
+-----------------------------------------------------
+Syscall param sendfile(out_fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:839)
+
+Syscall param sendfile(in_fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:839)
+
+Syscall param sendfile(offset) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:839)
+
+Syscall param sendfile(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:839)
+
+Syscall param sendfile(offset) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:839)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 41: __NR_pivot_root n/a
+-----------------------------------------------------
+-----------------------------------------------------
+232: __NR_mincore 3s 1m
+-----------------------------------------------------
+Syscall param mincore(start) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:967)
+
+Syscall param mincore(length) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:967)
+
+Syscall param mincore(vec) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:967)
+
+Syscall param mincore(vec) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:967)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+233: __NR_madvise 3s 0m
+-----------------------------------------------------
+Syscall param madvise(start) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:971)
+
+Syscall param madvise(length) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:971)
+
+Syscall param madvise(advice) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:971)
+
+-----------------------------------------------------
+ 61: __NR_getdents64 3s 1m
+-----------------------------------------------------
+Syscall param getdents64(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:975)
+
+Syscall param getdents64(dirp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:975)
+
+Syscall param getdents64(count) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:975)
+
+Syscall param getdents64(dirp) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:975)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+178: __NR_gettid n/a
+-----------------------------------------------------
+-----------------------------------------------------
+213: __NR_readahead n/a
+-----------------------------------------------------
+-----------------------------------------------------
+ 5: __NR_setxattr 5s 3m
+-----------------------------------------------------
+Syscall param setxattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+
+Syscall param setxattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+
+Syscall param setxattr(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+
+Syscall param setxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+
+Syscall param setxattr(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+
+Syscall param setxattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setxattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param setxattr(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1012)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 6: __NR_lsetxattr 5s 3m
+-----------------------------------------------------
+Syscall param lsetxattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+
+Syscall param lsetxattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+
+Syscall param lsetxattr(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+
+Syscall param lsetxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+
+Syscall param lsetxattr(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+
+Syscall param lsetxattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lsetxattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lsetxattr(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1016)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 7: __NR_fsetxattr 5s 2m
+-----------------------------------------------------
+Syscall param fsetxattr(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+
+Syscall param fsetxattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+
+Syscall param fsetxattr(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+
+Syscall param fsetxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+
+Syscall param fsetxattr(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+
+Syscall param fsetxattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param fsetxattr(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1020)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 8: __NR_getxattr 4s 3m
+-----------------------------------------------------
+Syscall param getxattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+
+Syscall param getxattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+
+Syscall param getxattr(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+
+Syscall param getxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+
+Syscall param getxattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getxattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param getxattr(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1024)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 9: __NR_lgetxattr 4s 3m
+-----------------------------------------------------
+Syscall param lgetxattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+
+Syscall param lgetxattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+
+Syscall param lgetxattr(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+
+Syscall param lgetxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+
+Syscall param lgetxattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lgetxattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lgetxattr(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1028)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 10: __NR_fgetxattr 4s 2m
+-----------------------------------------------------
+Syscall param fgetxattr(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1032)
+
+Syscall param fgetxattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1032)
+
+Syscall param fgetxattr(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1032)
+
+Syscall param fgetxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1032)
+
+Syscall param fgetxattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1032)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param fgetxattr(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1032)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 11: __NR_listxattr 3s 2m
+-----------------------------------------------------
+Syscall param listxattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1036)
+
+Syscall param listxattr(list) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1036)
+
+Syscall param listxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1036)
+
+Syscall param listxattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1036)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param listxattr(list) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1036)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 12: __NR_llistxattr 3s 2m
+-----------------------------------------------------
+Syscall param llistxattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1040)
+
+Syscall param llistxattr(list) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1040)
+
+Syscall param llistxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1040)
+
+Syscall param llistxattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1040)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param llistxattr(list) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1040)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 13: __NR_flistxattr 3s 1m
+-----------------------------------------------------
+Syscall param flistxattr(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1044)
+
+Syscall param flistxattr(list) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1044)
+
+Syscall param flistxattr(size) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1044)
+
+Syscall param flistxattr(list) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1044)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 14: __NR_removexattr 2s 2m
+-----------------------------------------------------
+Syscall param removexattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1048)
+
+Syscall param removexattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1048)
+
+Syscall param removexattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1048)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param removexattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1048)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 15: __NR_lremovexattr 2s 2m
+-----------------------------------------------------
+Syscall param lremovexattr(path) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1052)
+
+Syscall param lremovexattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1052)
+
+Syscall param lremovexattr(path) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1052)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param lremovexattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1052)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 16: __NR_fremovexattr 2s 1m
+-----------------------------------------------------
+Syscall param fremovexattr(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1056)
+
+Syscall param fremovexattr(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1056)
+
+Syscall param fremovexattr(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1056)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+130: __NR_tkill n/a
+-----------------------------------------------------
+-----------------------------------------------------
+ 98: __NR_futex 5s 2m
+-----------------------------------------------------
+Syscall param futex(futex) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1072)
+
+Syscall param futex(op) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1072)
+
+Syscall param futex(val) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1072)
+
+Syscall param futex(utime) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1072)
+
+Syscall param futex(futex) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1072)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param futex(timeout) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1072)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+122:__NR_sched_setaffinity 3s 1m
+-----------------------------------------------------
+Syscall param sched_setaffinity(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1076)
+
+Syscall param sched_setaffinity(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1076)
+
+Syscall param sched_setaffinity(mask) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1076)
+
+Syscall param sched_setaffinity(mask) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1076)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+123:__NR_sched_getaffinity 3s 1m
+-----------------------------------------------------
+Syscall param sched_getaffinity(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1080)
+
+Syscall param sched_getaffinity(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1080)
+
+Syscall param sched_getaffinity(mask) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1080)
+
+Syscall param sched_getaffinity(mask) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1080)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 0: __NR_io_setup 2s 1m
+-----------------------------------------------------
+Syscall param io_setup(nr_events) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1092)
+
+Syscall param io_setup(ctxp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1092)
+
+Syscall param io_setup(ctxp) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1092)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 1: __NR_io_destroy 1s 0m
+-----------------------------------------------------
+Syscall param io_destroy(ctx) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1105)
+
+-----------------------------------------------------
+ 4: __NR_io_getevents 5s 2m
+-----------------------------------------------------
+Syscall param io_getevents(ctx_id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+
+Syscall param io_getevents(min_nr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+
+Syscall param io_getevents(nr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+
+Syscall param io_getevents(events) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+
+Syscall param io_getevents(timeout) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+
+Syscall param io_getevents(events) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param io_getevents(timeout) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1110)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 2: __NR_io_submit 3s 1m
+-----------------------------------------------------
+Syscall param io_submit(ctx_id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1114)
+
+Syscall param io_submit(nr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1114)
+
+Syscall param io_submit(iocbpp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1114)
+
+Syscall param io_submit(iocbpp) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1114)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 3: __NR_io_cancel 3s 2m
+-----------------------------------------------------
+Syscall param io_cancel(ctx_id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1118)
+
+Syscall param io_cancel(iocb) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1118)
+
+Syscall param io_cancel(result) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1118)
+
+Syscall param io_cancel(iocb) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1118)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param io_cancel(result) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1118)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+223: __NR_fadvise64 n/a
+-----------------------------------------------------
+-----------------------------------------------------
+ 94: __NR_exit_group other
+-----------------------------------------------------
+-----------------------------------------------------
+ 18: __NR_lookup_dcookie 4s 1m
+-----------------------------------------------------
+Syscall param lookup_dcookie(cookie) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1134)
+
+Syscall param lookup_dcookie(buf) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1134)
+
+Syscall param lookup_dcookie(len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1134)
+
+-----------------------------------------------------
+ 21: __NR_epoll_ctl 4s 1m
+-----------------------------------------------------
+Syscall param epoll_ctl(epfd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1142)
+
+Syscall param epoll_ctl(op) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1142)
+
+Syscall param epoll_ctl(fd) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1142)
+
+Syscall param epoll_ctl(event) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1142)
+
+Syscall param epoll_ctl(event) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1142)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+234:__NR_remap_file_pages n/a
+-----------------------------------------------------
+-----------------------------------------------------
+ 96:__NR_set_tid_address 1s 0m
+-----------------------------------------------------
+Syscall param set_tid_address(tidptr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1154)
+
+-----------------------------------------------------
+107: __NR_timer_create 3s 2m
+-----------------------------------------------------
+Syscall param timer_create(clockid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+
+Syscall param timer_create(evp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+
+Syscall param timer_create(timerid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+
+Syscall param timer_create(evp.sigev_value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param timer_create(evp.sigev_signo) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param timer_create(evp.sigev_notify) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param timer_create(timerid) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1158)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+110: __NR_timer_settime 4s 2m
+-----------------------------------------------------
+Syscall param timer_settime(timerid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1162)
+
+Syscall param timer_settime(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1162)
+
+Syscall param timer_settime(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1162)
+
+Syscall param timer_settime(ovalue) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1162)
+
+Syscall param timer_settime(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1162)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param timer_settime(ovalue) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1162)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+108: __NR_timer_gettime 2s 1m
+-----------------------------------------------------
+Syscall param timer_gettime(timerid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1166)
+
+Syscall param timer_gettime(value) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1166)
+
+Syscall param timer_gettime(value) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1166)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+109:__NR_timer_getoverrun 1s 0m
+-----------------------------------------------------
+Syscall param timer_getoverrun(timerid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1170)
+
+-----------------------------------------------------
+111: __NR_timer_delete 1s 0m
+-----------------------------------------------------
+Syscall param timer_delete(timerid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1174)
+
+-----------------------------------------------------
+112: __NR_clock_settime 2s 1m
+-----------------------------------------------------
+Syscall param clock_settime(clk_id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1178)
+
+Syscall param clock_settime(tp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1178)
+
+Syscall param clock_settime(tp) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1178)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+113: __NR_clock_gettime 2s 1m
+-----------------------------------------------------
+Syscall param clock_gettime(clk_id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1182)
+
+Syscall param clock_gettime(tp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1182)
+
+Syscall param clock_gettime(tp) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1182)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+114: __NR_clock_getres 2s 1m
+-----------------------------------------------------
+Syscall param clock_getres(clk_id) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1186)
+
+Syscall param clock_getres(res) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1186)
+
+Syscall param clock_getres(res) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1186)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+115:__NR_clock_nanosleep n/a
+-----------------------------------------------------
+-----------------------------------------------------
+131: __NR_tgkill n/a
+-----------------------------------------------------
+-----------------------------------------------------
+235: __NR_mbind n/a
+-----------------------------------------------------
+-----------------------------------------------------
+236: __NR_get_mempolicy n/a
+-----------------------------------------------------
+-----------------------------------------------------
+237: __NR_set_mempolicy n/a
+-----------------------------------------------------
+-----------------------------------------------------
+180: __NR_mq_open 4s 3m
+-----------------------------------------------------
+Syscall param mq_open(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+
+Syscall param mq_open(oflag) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+
+Syscall param mq_open(mode) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+
+Syscall param mq_open(attr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+
+Syscall param mq_open(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mq_open(attr->mq_maxmsg) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mq_open(attr->mq_msgsize) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1230)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+181: __NR_mq_unlink 1s 1m
+-----------------------------------------------------
+Syscall param mq_unlink(name) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1234)
+
+Syscall param mq_unlink(name) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1234)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+182: __NR_mq_timedsend 5s 2m
+-----------------------------------------------------
+Syscall param mq_timedsend(mqdes) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+
+Syscall param mq_timedsend(msg_ptr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+
+Syscall param mq_timedsend(msg_len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+
+Syscall param mq_timedsend(msg_prio) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+
+Syscall param mq_timedsend(abs_timeout) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+
+Syscall param mq_timedsend(msg_ptr) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mq_timedsend(abs_timeout) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1238)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+183:__NR_mq_timedreceive 5s 3m
+-----------------------------------------------------
+Syscall param mq_timedreceive(mqdes) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+
+Syscall param mq_timedreceive(msg_ptr) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+
+Syscall param mq_timedreceive(msg_len) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+
+Syscall param mq_timedreceive(msg_prio) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+
+Syscall param mq_timedreceive(abs_timeout) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+
+Syscall param mq_timedreceive(msg_ptr) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mq_timedreceive(msg_prio) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mq_timedreceive(abs_timeout) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1242)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+184: __NR_mq_notify 2s 1m
+-----------------------------------------------------
+Syscall param mq_notify(mqdes) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1246)
+
+Syscall param mq_notify(notification) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1246)
+
+Syscall param mq_notify(notification) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1246)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+185: __NR_mq_getsetattr 3s 2m
+-----------------------------------------------------
+Syscall param mq_getsetattr(mqdes) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1250)
+
+Syscall param mq_getsetattr(mqstat) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1250)
+
+Syscall param mq_getsetattr(omqstat) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1250)
+
+Syscall param mq_getsetattr(mqstat->mq_flags) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1250)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param mq_getsetattr(omqstat) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1250)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+104: __NR_kexec_load ni
+-----------------------------------------------------
+-----------------------------------------------------
+ 20: __NR_epoll_create1 1s 0m
+-----------------------------------------------------
+Syscall param epoll_create1(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1258)
+
+-----------------------------------------------------
+270:__NR_process_vm_readv 6s 2m
+-----------------------------------------------------
+Syscall param process_vm_readv(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+
+Syscall param process_vm_readv(lvec) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+
+Syscall param process_vm_readv(liovcnt) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+
+Syscall param process_vm_readv(rvec) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+
+Syscall param process_vm_readv(riovcnt) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+
+Syscall param process_vm_readv(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+
+Syscall param process_vm_readv(lvec) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param process_vm_readv(rvec) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1262)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+271:__NR_process_vm_writev 6s 2m
+-----------------------------------------------------
+Syscall param process_vm_writev(pid) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+
+Syscall param process_vm_writev(lvec) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+
+Syscall param process_vm_writev(liovcnt) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+
+Syscall param process_vm_writev(rvec) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+
+Syscall param process_vm_writev(riovcnt) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+
+Syscall param process_vm_writev(flags) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+
+Syscall param process_vm_writev(lvec) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param process_vm_writev(rvec) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:1266)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+9999: 9999 1e
+-----------------------------------------------------
+WARNING: unhandled arm64-linux syscall: 9999
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
+-----------------------------------------------------
+ 93: __NR_exit 1s 0m
+-----------------------------------------------------
+Syscall param exit(status) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:1274)
+