//SY(__NR_getrusage);
// __NR_gettimeofday 78 --> sys_gettimeofday()
- // XXX: it succeeds when I give it two NULL pointers... kernel bug?
-// GO(__NR_gettimeofday, "2s 2m");
-// SY(__NR_gettimeofday, x0, x0);
+ GO(__NR_gettimeofday, "2s 2m");
+ SY(__NR_gettimeofday, x0, x0+1);
// __NR_settimeofday 79 --> sys_settimeofday()
GO(__NR_settimeofday, "2s 2m");
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is not stack'd, malloc'd or (recently) free'd
+-----------------------------------------------------
+ 78: __NR_gettimeofday 2s 2m
+-----------------------------------------------------
+
+Syscall param gettimeofday(tv) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param gettimeofday(tz) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param gettimeofday(tv) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param gettimeofday(tz) points to unaddressable byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
79: __NR_settimeofday 2s 2m
-----------------------------------------------------