From 7be89aef83ea5859da22ba7967ad59c5c4cbd1de Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sun, 14 Nov 2004 20:06:27 +0000 Subject: [PATCH] Converted some more syscalls. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2998 --- coregrind/vg_syscalls.c | 146 ++++++++++----------- memcheck/tests/scalar.c | 86 +++++++------ memcheck/tests/scalar.stderr.exp | 214 +++++++++++++++++++++++++++++++ 3 files changed, 332 insertions(+), 114 deletions(-) diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c index f34016d57..7779bea9e 100644 --- a/coregrind/vg_syscalls.c +++ b/coregrind/vg_syscalls.c @@ -1469,10 +1469,16 @@ POSTx(sys_lookup_dcookie) POST_MEM_WRITE( arg3, res); } -PRE(fdatasync) +PREx(sys_fsync, MayBlock) { - /* int fdatasync(int fd); */ - PRINT("fdatasync ( %d )", arg1); + PRINT("sys_fsync ( %d )", arg1); + PRE_REG_READ1(long, "fsync", unsigned int, fd); +} + +PREx(sys_fdatasync, MayBlock) +{ + PRINT("sys_fdatasync ( %d )", arg1); + PRE_REG_READ1(long, "fdatasync", unsigned int, fd); } PREx(sys_msync, MayBlock) @@ -1558,20 +1564,20 @@ POST(getitimer) } } -PRE(syslog) +PREx(sys_syslog, MayBlock) { - /* int syslog(int type, char *bufp, int len); */ - PRINT("syslog (%d, %p, %d)",arg1,arg2,arg3); - switch(arg1) { + PRINT("sys_syslog (%d, %p, %d)", arg1,arg2,arg3); + PRE_REG_READ3(long, "syslog", int, type, char *, bufp, int, len); + switch (arg1) { case 2: case 3: case 4: - PRE_MEM_WRITE( "syslog(buf)", arg2, arg3); + PRE_MEM_WRITE( "syslog(bufp)", arg2, arg3); break; default: break; } } -POST(syslog) +POSTx(sys_syslog) { switch (arg1) { case 2: case 3: case 4: @@ -1691,16 +1697,16 @@ PRE(sched_get_priority_min) PRINT("sched_get_priority_min ( %d )", arg1); } -PRE(setpriority) +PREx(sys_setpriority, 0) { - /* int setpriority(int which, int who, int prio); */ - PRINT("setpriority ( %d, %d, %d )", arg1, arg2, arg3); + PRINT("sys_setpriority ( %d, %d, %d )", arg1, arg2, arg3); + PRE_REG_READ3(long, "setpriority", int, which, int, who, int, prio); } -PRE(getpriority) +PREx(sys_getpriority, 0) { - /* int getpriority(int which, int who); */ - PRINT("getpriority ( %d, %d )", arg1, arg2); + PRINT("sys_getpriority ( %d, %d )", arg1, arg2); + PRE_REG_READ2(long, "getpriority", int, which, int, who); } PREx(sys_setfsgid16, 0) @@ -1779,26 +1785,28 @@ PREx(sys_sync, MayBlock) PRE_REG_READ0(long, "sync"); } -PRE(fstatfs) +PREx(sys_fstatfs, 0) { - /* int fstatfs(int fd, struct statfs *buf); */ - PRINT("fstatfs ( %d, %p )",arg1,arg2); - PRE_MEM_WRITE( "stat(buf)", arg2, sizeof(struct vki_statfs) ); + PRINT("sys_fstatfs ( %d, %p )",arg1,arg2); + PRE_REG_READ2(long, "fstatfs", + unsigned int, fd, struct statfs *, buf); + PRE_MEM_WRITE( "fstatfs(buf)", arg2, sizeof(struct vki_statfs) ); } -POST(fstatfs) +POSTx(sys_fstatfs) { POST_MEM_WRITE( arg2, sizeof(struct vki_statfs) ); } -PRE(fstatfs64) +PREx(sys_fstatfs64, 0) { - /* int fstatfs64(int fd, size_t sz, struct statfs *buf); */ - PRINT("fstatfs64 ( %d, %llu, %p )",arg1,(ULong)arg2,arg3); - PRE_MEM_WRITE( "stat(buf)", arg3, arg2 ); + PRINT("sys_fstatfs64 ( %d, %llu, %p )",arg1,(ULong)arg2,arg3); + PRE_REG_READ3(long, "fstatfs64", + unsigned int, fd, vki_size_t, size, struct statfs64 *, buf); + PRE_MEM_WRITE( "fstatfs64(buf)", arg3, arg2 ); } -POST(fstatfs64) +POSTx(sys_fstatfs64) { POST_MEM_WRITE( arg3, arg2 ); } @@ -1846,10 +1854,11 @@ PRE(init_module) PRE_MEM_READ( "init_module(image)", arg2, VKI_SIZEOF_STRUCT_MODULE ); } -PRE(ioperm) +PREx(sys_ioperm, 0) { - /* int ioperm(unsigned long from, unsigned long num, int turn_on); */ PRINT("ioperm ( %d, %d, %d )", arg1, arg2, arg3 ); + PRE_REG_READ3(long, "ioperm", + unsigned long, from, unsigned long, num, int, turn_on); } PRE(capget) @@ -2181,10 +2190,10 @@ PREx(sys_fchown, 0) unsigned int, fd, vki_uid_t, owner, vki_gid_t, group); } -PRE(fchmod) +PREx(sys_fchmod, 0) { - /* int fchmod(int fildes, mode_t mode); */ PRINT("fchmod ( %d, %d )", arg1,arg2); + PRE_REG_READ2(long, "fchmod", unsigned int, fildes, vki_mode_t, mode); } // XXX: wrapper only suitable for 32-bit systems @@ -2287,12 +2296,6 @@ PRE(clone) } } -PRE(fsync) -{ - /* int fsync(int fd); */ - PRINT("fsync ( %d )", arg1); -} - PREx(sys_ftruncate, MayBlock) { PRINT("sys_ftruncate ( %d, %lld )", arg1,(ULong)arg2); @@ -5049,10 +5052,11 @@ PREx(sys_setuid, 0) PRE_REG_READ1(long, "setuid", vki_uid_t, uid); } -PRE(socketcall) +PREx(sys_socketcall, MayBlock) { - /* int socketcall(int call, unsigned long *args); */ - PRINT("socketcall ( %d, %p )",arg1,arg2); + PRINT("sys_socketcall ( %d, %p )",arg1,arg2); + PRE_REG_READ2(long, "socketcall", int, call, unsigned long *, args); + switch (arg1 /* request */) { case VKI_SYS_SOCKETPAIR: @@ -5249,11 +5253,8 @@ PRE(socketcall) } } -POST(socketcall) +POSTx(sys_socketcall) { - /* int socketcall(int call, unsigned long *args); */ - PRINT("socketcall ( %d, %p )",arg1,arg2); - switch (arg1 /* request */) { case VKI_SYS_SOCKETPAIR: { @@ -5413,28 +5414,29 @@ POSTx(sys_newstat) POST_MEM_WRITE( arg2, sizeof(struct vki_stat) ); } -PRE(statfs) +PREx(sys_statfs, 0) { - /* int statfs(const char *path, struct statfs *buf); */ - PRINT("statfs ( %p, %p )",arg1,arg2); + PRINT("sys_statfs ( %p, %p )",arg1,arg2); + PRE_REG_READ2(long, "statfs", const char *, path, struct statfs *, buf); PRE_MEM_RASCIIZ( "statfs(path)", arg1 ); PRE_MEM_WRITE( "statfs(buf)", arg2, sizeof(struct vki_statfs) ); } -POST(statfs) +POSTx(sys_statfs) { POST_MEM_WRITE( arg2, sizeof(struct vki_statfs) ); } -PRE(statfs64) +PREx(sys_statfs64, 0) { - /* int statfs64(const char *path, size_t sz, struct statfs64 *buf); */ - PRINT("statfs64 ( %p, %llu, %p )",arg1,(ULong)arg2,arg3); + PRINT("sys_statfs64 ( %p, %llu, %p )",arg1,(ULong)arg2,arg3); + PRE_REG_READ3(long, "statfs64", + const char *, path, vki_size_t, size, struct statfs64 *, buf); PRE_MEM_RASCIIZ( "statfs64(path)", arg1 ); PRE_MEM_WRITE( "statfs64(buf)", arg3, arg2 ); } -POST(statfs64) +POSTx(sys_statfs64) { POST_MEM_WRITE( arg3, arg2 ); } @@ -5472,14 +5474,14 @@ POSTx(sys_fstat64) POST_MEM_WRITE( arg2, sizeof(struct vki_stat64) ); } -PRE(sysinfo) +PREx(sys_sysinfo, 0) { - /* int sysinfo(struct sysinfo *info); */ - PRINT("sysinfo ( %p )",arg1); + PRINT("sys_sysinfo ( %p )",arg1); + PRE_REG_READ1(long, "sysinfo", struct sysinfo *, info); PRE_MEM_WRITE( "sysinfo(info)", arg1, sizeof(struct vki_sysinfo) ); } -POST(sysinfo) +POSTx(sys_sysinfo) { POST_MEM_WRITE( arg1, sizeof(struct vki_sysinfo) ); } @@ -5614,11 +5616,11 @@ PRE(prctl) PRINT( "prctl ( %d, %d, %d, %d, %d )", arg1, arg2, arg3, arg4, arg5 ); } -PRE(adjtimex) +PREx(sys_adjtimex, 0) { struct vki_timex *tx = (struct vki_timex *)arg1; - PRINT("adjtimex ( %p )", arg1); - + PRINT("sys_adjtimex ( %p )", arg1); + PRE_REG_READ1(long, "adjtimex", struct timex *, buf); PRE_MEM_READ( "adjtimex(timex->modes)", arg1, sizeof(tx->modes)); #define ADJX(bit,field) \ @@ -5636,7 +5638,7 @@ PRE(adjtimex) PRE_MEM_WRITE( "adjtimex(timex)", arg1, sizeof(struct vki_timex)); } -POST(adjtimex) +POSTx(sys_adjtimex) { VG_TRACK(post_mem_write, arg1, sizeof(struct vki_timex)); } @@ -6391,18 +6393,18 @@ static const struct sys_info sys_info[] = { SYSXY(__NR_munmap, sys_munmap), // 91 * P SYSX_(__NR_truncate, sys_truncate), // 92 * P SYSX_(__NR_ftruncate, sys_ftruncate), // 93 * P - SYSB_(__NR_fchmod, sys_fchmod, 0), // 94 * + SYSX_(__NR_fchmod, sys_fchmod), // 94 * P SYSX_(__NR_fchown, sys_fchown16), // 95 ## (SVr4,BSD4.3) - SYSB_(__NR_getpriority, sys_getpriority, 0), // 96 * - SYSB_(__NR_setpriority, sys_setpriority, 0), // 97 * + SYSX_(__NR_getpriority, sys_getpriority), // 96 * (SVr4,4.4BSD) + SYSX_(__NR_setpriority, sys_setpriority), // 97 * (SVr4,4.4BSD) // (__NR_profil, sys_ni_syscall), // 98 * P -- unimplemented - SYSBA(__NR_statfs, sys_statfs, 0), // 99 * + SYSXY(__NR_statfs, sys_statfs), // 99 * (P-ish) - SYSBA(__NR_fstatfs, sys_fstatfs, 0), // 100 * - SYSB_(__NR_ioperm, sys_ioperm, 0), // 101 * - SYSBA(__NR_socketcall, sys_socketcall, MayBlock), // 102 * - SYSBA(__NR_syslog, sys_syslog, MayBlock), // 103 * + SYSXY(__NR_fstatfs, sys_fstatfs), // 100 * (P-ish) + SYSX_(__NR_ioperm, sys_ioperm), // 101 * L + SYSXY(__NR_socketcall, sys_socketcall), // 102 * L + SYSXY(__NR_syslog, sys_syslog), // 103 * L SYSBA(__NR_setitimer, sys_setitimer, NBRunInLWP), // 104 * SYSBA(__NR_getitimer, sys_getitimer, NBRunInLWP), // 105 * @@ -6418,16 +6420,16 @@ static const struct sys_info sys_info[] = { SYSBA(__NR_wait4, sys_wait4, MayBlock), // 114 * // (__NR_swapoff, sys_swapoff), // 115 * L - SYSBA(__NR_sysinfo, sys_sysinfo, 0), // 116 * + SYSXY(__NR_sysinfo, sys_sysinfo), // 116 * L SYSBA(__NR_ipc, sys_ipc, 0), // 117 - SYSB_(__NR_fsync, sys_fsync, MayBlock), // 118 * + SYSX_(__NR_fsync, sys_fsync), // 118 * L // (__NR_sigreturn, sys_sigreturn), // 119 () L SYSB_(__NR_clone, sys_clone, Special), // 120 (very non-gen) L // (__NR_setdomainname, sys_setdomainname),// 121 * (non-P?) SYSXY(__NR_uname, sys_newuname), // 122 * P SYSB_(__NR_modify_ldt, sys_modify_ldt, Special), // 123 (x86,amd64) L - SYSBA(__NR_adjtimex, sys_adjtimex, 0), // 124 * + SYSXY(__NR_adjtimex, sys_adjtimex), // 124 * L SYSXY(__NR_mprotect, sys_mprotect), // 125 * P SYSBA(__NR_sigprocmask, sys_sigprocmask, SIG_SIM), // 126 * @@ -6458,7 +6460,7 @@ static const struct sys_info sys_info[] = { SYSBA(__NR_readv, sys_readv, MayBlock), // 145 * SYSB_(__NR_writev, sys_writev, MayBlock), // 146 * SYSB_(__NR_getsid, sys_getsid, 0), // 147 * - SYSB_(__NR_fdatasync, sys_fdatasync, MayBlock), // 148 * + SYSX_(__NR_fdatasync, sys_fdatasync), // 148 * P SYSBA(__NR__sysctl, sys_sysctl, 0), // 149 * SYSX_(__NR_mlock, sys_mlock), // 150 * P @@ -6607,8 +6609,8 @@ static const struct sys_info sys_info[] = { SYSBA(__NR_clock_getres, sys_clock_getres, 0), // (timer_create+7) * // (__NR_clock_nanosleep, sys_clock_nanosleep), // (timer_create+8) * P? - SYSBA(__NR_statfs64, sys_statfs64, 0), // 268 * - SYSBA(__NR_fstatfs64, sys_fstatfs64, 0), // 269 * + SYSXY(__NR_statfs64, sys_statfs64), // 268 * (?) + SYSXY(__NR_fstatfs64, sys_fstatfs64), // 269 * (?) // (__NR_tgkill, sys_tgkill), // 270 * () SYSB_(__NR_utimes, sys_utimes, 0), // 271 * diff --git a/memcheck/tests/scalar.c b/memcheck/tests/scalar.c index 8aa488ddb..de51be664 100644 --- a/memcheck/tests/scalar.c +++ b/memcheck/tests/scalar.c @@ -378,45 +378,46 @@ int main(void) GO(__NR_ftruncate, "2s 0m"); SY(__NR_ftruncate, x0, x0); - // __NR_fchmod 94 - //GO(__NR_fchmod, ".s .m"); - //SY(__NR_fchmod); + // __NR_fchmod 94 --> sys_fchmod() + GO(__NR_fchmod, "2s 0m"); + SY(__NR_fchmod, x0-1, x0); // __NR_fchown 95 --> sys_fchown16 GO(__NR_fchown, "3s 0m"); SY(__NR_fchown, x0, x0, x0); - // __NR_getpriority 96 - //GO(__NR_getpriority, ".s .m"); - //SY(__NR_getpriority); + // __NR_getpriority 96 --> sys_getpriority() + GO(__NR_getpriority, "2s 0m"); + SY(__NR_getpriority, x0, x0); - // __NR_setpriority 97 - //GO(__NR_setpriority, ".s .m"); - //SY(__NR_setpriority); + // __NR_setpriority 97 --> sys_setpriority() + GO(__NR_setpriority, "3s 0m"); + SY(__NR_setpriority, x0, x0, x0); // __NR_profil 98 //GO(__NR_profil, ".s .m"); //SY(__NR_profil); - // __NR_statfs 99 - //GO(__NR_statfs, ".s .m"); - //SY(__NR_statfs); + // __NR_statfs 99 --> sys_statfs() + GO(__NR_statfs, "2s 2m"); + SY(__NR_statfs, x0, x0); - // __NR_fstatfs 100 - //GO(__NR_fstatfs, ".s .m"); - //SY(__NR_fstatfs); + // __NR_fstatfs 100 --> sys_fstatfs() + GO(__NR_fstatfs, "2s 1m"); + SY(__NR_fstatfs, x0, x0); - // __NR_ioperm 101 - //GO(__NR_ioperm, ".s .m"); - //SY(__NR_ioperm); + // __NR_ioperm 101 --> sys_ioperm() + GO(__NR_ioperm, "3s 0m"); + SY(__NR_ioperm, x0, x0, x0); - // __NR_socketcall 102 - //GO(__NR_socketcall, ".s .m"); - //SY(__NR_socketcall); + // __NR_socketcall 102 --> sys_socketcall() + // XXX: need to do properly +// GO(__NR_socketcall, "2s 1m"); +// SY(__NR_socketcall, x0+SYS_SOCKETPAIR, x0); - // __NR_syslog 103 - //GO(__NR_syslog, ".s .m"); - //SY(__NR_syslog); + // __NR_syslog 103 --> sys_syslog() + GO(__NR_syslog, "3s 1m"); + SY(__NR_syslog, x0+2, x0, x0+1); // __NR_setitimer 104 //GO(__NR_setitimer, ".s .m"); @@ -465,17 +466,17 @@ int main(void) //GO(__NR_swapoff, ".s .m"); //SY(__NR_swapoff); - // __NR_sysinfo 116 - //GO(__NR_sysinfo, ".s .m"); - //SY(__NR_sysinfo); + // __NR_sysinfo 116 --> sys_sysinfo() + GO(__NR_sysinfo, "1s 1m"); + SY(__NR_sysinfo, x0); // __NR_ipc 117 //GO(__NR_ipc, ".s .m"); //SY(__NR_ipc); - // __NR_fsync 118 - //GO(__NR_fsync, ".s .m"); - //SY(__NR_fsync); + // __NR_fsync 118 --> sys_fsync() + GO(__NR_fsync, "1s 0m"); + SY(__NR_fsync, x0-1); // __NR_sigreturn 119 //GO(__NR_sigreturn, ".s .m"); @@ -497,9 +498,10 @@ int main(void) //GO(__NR_modify_ldt, ".s .m"); //SY(__NR_modify_ldt); - // __NR_adjtimex 124 - //GO(__NR_adjtimex, ".s .m"); - //SY(__NR_adjtimex); + // __NR_adjtimex 124 --> sys_adjtimex() + // XXX: need to do properly, but deref'ing NULL... +// GO(__NR_adjtimex, "1s 1m"); +// SY(__NR_adjtimex, x0); // __NR_mprotect 125 --> sys_mprotect() GO(__NR_mprotect, "3s 0m"); @@ -593,9 +595,9 @@ int main(void) //GO(__NR_getsid, ".s .m"); //SY(__NR_getsid); - // __NR_fdatasync 148 - //GO(__NR_fdatasync, ".s .m"); - //SY(__NR_fdatasync); + // __NR_fdatasync 148 --> sys_fdatasync() + GO(__NR_fdatasync, "1s 0m"); + SY(__NR_fdatasync, x0-1); // __NR__sysctl 149 //GO(__NR__sysctl, ".s .m"); @@ -1072,13 +1074,13 @@ int main(void) //GO(__NR_clock_nanosleep, ".s .m"); //SY(__NR_clock_nanosleep); - // __NR_statfs64 268 - //GO(__NR_statfs64, ".s .m"); - //SY(__NR_statfs64); + // __NR_statfs64 268 --> sys_statfs64() + GO(__NR_statfs64, "3s 2m"); + SY(__NR_statfs64, x0, x0+1, x0); - // __NR_fstatfs64 269 - //GO(__NR_fstatfs64, ".s .m"); - //SY(__NR_fstatfs64); + // __NR_fstatfs64 269 --> sys_fstatfs64() + GO(__NR_fstatfs64, "3s 1m"); + SY(__NR_fstatfs64, x0, x0+1, x0); // __NR_tgkill 270 //GO(__NR_tgkill, ".s .m"); diff --git a/memcheck/tests/scalar.stderr.exp b/memcheck/tests/scalar.stderr.exp index f4fc109f9..09ab77f31 100644 --- a/memcheck/tests/scalar.stderr.exp +++ b/memcheck/tests/scalar.stderr.exp @@ -1085,6 +1085,19 @@ Syscall param ftruncate(length) contains uninitialised byte(s) at 0x........: syscall (in /...libc...) by 0x........: __libc_start_main (...libc...) by 0x........: ... +----------------------------------------------------- + 94: __NR_fchmod 2s 0m +----------------------------------------------------- + +Syscall param fchmod(fildes) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param fchmod(mode) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... ----------------------------------------------------- 95: __NR_fchown 3s 0m ----------------------------------------------------- @@ -1103,6 +1116,123 @@ Syscall param fchown16(group) contains uninitialised byte(s) at 0x........: syscall (in /...libc...) by 0x........: __libc_start_main (...libc...) by 0x........: ... +----------------------------------------------------- + 96: __NR_getpriority 2s 0m +----------------------------------------------------- + +Syscall param getpriority(which) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param getpriority(who) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... +----------------------------------------------------- + 97: __NR_setpriority 3s 0m +----------------------------------------------------- + +Syscall param setpriority(which) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param setpriority(who) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param setpriority(prio) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... +----------------------------------------------------- + 99: __NR_statfs 2s 2m +----------------------------------------------------- + +Syscall param statfs(path) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param statfs(buf) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param statfs(path) 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 statfs(buf) 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 +----------------------------------------------------- +100: __NR_fstatfs 2s 1m +----------------------------------------------------- + +Syscall param fstatfs(fd) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param fstatfs(buf) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param fstatfs(buf) 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 +----------------------------------------------------- +101: __NR_ioperm 3s 0m +----------------------------------------------------- + +Syscall param ioperm(from) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param ioperm(num) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param ioperm(turn_on) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... +----------------------------------------------------- +103: __NR_syslog 3s 1m +----------------------------------------------------- + +Syscall param syslog(type) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param syslog(bufp) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param syslog(len) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param syslog(bufp) 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 ----------------------------------------------------- 106: __NR_stat 2s 2m ----------------------------------------------------- @@ -1179,6 +1309,28 @@ Syscall param fstat(buf) points to unaddressable byte(s) 112: __NR_idle 0e ----------------------------------------------------- ----------------------------------------------------- +116: __NR_sysinfo 1s 1m +----------------------------------------------------- + +Syscall param sysinfo(info) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param sysinfo(info) 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 +----------------------------------------------------- +118: __NR_fsync 1s 0m +----------------------------------------------------- + +Syscall param fsync(fd) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... +----------------------------------------------------- 122: __NR_uname 1s 1m ----------------------------------------------------- @@ -1343,6 +1495,14 @@ Syscall param msync(flags) contains uninitialised byte(s) by 0x........: __libc_start_main (...libc...) by 0x........: ... ----------------------------------------------------- +148: __NR_fdatasync 1s 0m +----------------------------------------------------- + +Syscall param fdatasync(fd) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... +----------------------------------------------------- 150: __NR_mlock 2s 0m ----------------------------------------------------- @@ -2426,6 +2586,60 @@ Syscall param lookup_dcookie(buf) points to unaddressable byte(s) by 0x........: ... Address 0x........ is not stack'd, malloc'd or (recently) free'd ----------------------------------------------------- +268: __NR_statfs64 3s 2m +----------------------------------------------------- + +Syscall param statfs64(path) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param statfs64(size) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param statfs64(buf) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param statfs64(path) 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 statfs64(buf) 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 +----------------------------------------------------- +269: __NR_fstatfs64 3s 1m +----------------------------------------------------- + +Syscall param fstatfs64(fd) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param fstatfs64(size) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param fstatfs64(buf) contains uninitialised byte(s) + at 0x........: syscall (in /...libc...) + by 0x........: __libc_start_main (...libc...) + by 0x........: ... + +Syscall param fstatfs64(buf) 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 +----------------------------------------------------- 9999: 9999 1e ----------------------------------------------------- WARNING: unhandled syscall: 9999