|
From: Nicholas N. <nj...@ca...> - 2003-10-30 09:11:33
|
CVS commit by nethercote:
Added a regtest that uses pthreads -- there weren't any.
A pth_once.stderr.exp 1.1
A pth_once.stdout.exp 1.1
A pth_once.vgtest 1.1
M +1 -0 Makefile.am 1.29
--- valgrind/memcheck/tests/Makefile.am #1.28:1.29
@@ -45,4 +45,5 @@
null_socket.stderr.exp null_socket.vgtest \
overlap.stderr.exp overlap.stdout.exp overlap.vgtest \
+ pth_once.stderr.exp pth_once.stdout.exp pth_once.vgtest \
pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
realloc1.stderr.exp realloc1.vgtest \
|
|
From: Jeremy F. <je...@go...> - 2003-11-21 09:07:23
|
CVS commit by fitzhardinge:
fprintf needs more than 8k of stack, so boost the sigaltstack size.
M +1 -1 sigaltstack.c 1.4
--- valgrind/memcheck/tests/sigaltstack.c #1.3:1.4
@@ -15,5 +15,5 @@ int main(int argv, char** argc) {
stack_t sigstk;
struct sigaction act;
- static const int size = SIGSTKSZ;
+ static const int size = SIGSTKSZ*8;
char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
sigstk.ss_sp = stk;
|
|
From: Jeremy F. <je...@go...> - 2003-11-21 09:22:36
|
CVS commit by fitzhardinge:
*8 is probably overkill
M +1 -1 sigaltstack.c 1.5
--- valgrind/memcheck/tests/sigaltstack.c #1.4:1.5
@@ -15,5 +15,5 @@ int main(int argv, char** argc) {
stack_t sigstk;
struct sigaction act;
- static const int size = SIGSTKSZ*8;
+ static const int size = SIGSTKSZ*2;
char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
sigstk.ss_sp = stk;
|
|
From: Dirk M. <mu...@kd...> - 2004-01-03 14:18:41
|
CVS commit by mueller:
Fix compilation on FreeBSD. extracted from patch by Doug Rabson <df...@nl...>
M +1 -1 custom_alloc.c 1.2
M +2 -2 filter_allocs 1.3
M +1 -1 filter_leak_check_size 1.4
M +1 -1 filter_stderr 1.9
M +1 -1 manuel2.c 1.3
M +1 -1 manuel3.c 1.3
M +1 -1 metadata.c 1.2
M +1 -1 nanoleak.c 1.3
M +1 -1 realloc2.c 1.3
M +2 -2 sigaltstack.c 1.7
M +4 -4 zeropage.c 1.2
--- valgrind/memcheck/tests/custom_alloc.c #1.1:1.2
@@ -15,5 +15,5 @@ void* get_superblock(void)
{
void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC,
- MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 );
+ MAP_PRIVATE|MAP_ANON, -1, 0 );
assert(p != ((void*)(-1)));
--- valgrind/memcheck/tests/filter_allocs #1.2:1.3
@@ -2,5 +2,5 @@
./filter_stderr |
-sed "s/malloc\/free: in use at exit: [0-9]\+ bytes in [0-9]\+ blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" |
-sed "s/malloc.free: [0-9]\+ allocs, [0-9]\+ frees, [0-9]\+ bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"
+sed "s/malloc\/free: in use at exit: [0-9]* bytes in [0-9]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" |
+sed "s/malloc.free: [0-9]* allocs, [0-9]* frees, [0-9]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"
--- valgrind/memcheck/tests/filter_leak_check_size #1.3:1.4
@@ -2,3 +2,3 @@
./filter_stderr |
-sed "s/checked [0-9]\+ bytes./checked ... bytes./"
+sed "s/checked [0-9]* bytes./checked ... bytes./"
--- valgrind/memcheck/tests/filter_stderr #1.8:1.9
@@ -9,5 +9,5 @@
# Anonymise line numbers in mac_replace_strmem.c
-sed "s/mac_replace_strmem.c:[0-9]\+/mac_replace_strmem.c:.../" |
+sed "s/mac_replace_strmem.c:[0-9]*/mac_replace_strmem.c:.../" |
$dir/../../tests/filter_test_paths |
--- valgrind/memcheck/tests/manuel2.c #1.2:1.3
@@ -1,4 +1,4 @@
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
int main ()
--- valgrind/memcheck/tests/manuel3.c #1.2:1.3
@@ -1,4 +1,4 @@
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
int gcc_cant_inline_me ( int );
--- valgrind/memcheck/tests/metadata.c #1.1:1.2
@@ -1,5 +1,5 @@
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "../memcheck.h"
--- valgrind/memcheck/tests/nanoleak.c #1.2:1.3
@@ -1,4 +1,4 @@
-#include <malloc.h>
+#include <stdlib.h>
int main ( void )
--- valgrind/memcheck/tests/realloc2.c #1.2:1.3
@@ -4,5 +4,5 @@
without error. */
-#include <malloc.h>
+#include <stdlib.h>
#include <stdio.h>
--- valgrind/memcheck/tests/sigaltstack.c #1.6:1.7
@@ -2,5 +2,5 @@
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <signal.h>
#include <sys/mman.h>
@@ -16,5 +16,5 @@ int main(int argv, char** argc) {
struct sigaction act;
static const int size = SIGSTKSZ*2;
- char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
+ char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0);
sigstk.ss_sp = stk;
--- valgrind/memcheck/tests/zeropage.c #1.1:1.2
@@ -13,5 +13,5 @@ int main(void)
/* mmap(0x0, ... FIXED) should fail */
int* m = mmap(0x0, 1000000, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0);
+ MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
if (m != (int*)-1)
printf("succeeded?!\n");
@@ -19,5 +19,5 @@ int main(void)
/* mmap(0x1000, ... FIXED) should fail */
m = mmap((void*)0x1000, 1000000, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0);
+ MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
if (m != (int*)-1)
printf("succeeded?!\n");
@@ -25,5 +25,5 @@ int main(void)
/* mmap(0xa000, ... FIXED) should fail */
m = mmap((void*)0xa000, 1000000, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0);
+ MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
if (m != (int*)-1)
printf("succeeded?!\n");
@@ -31,5 +31,5 @@ int main(void)
/* mmap(0x10000, ... FIXED) should fail */
m = mmap((void*)0x10000, 1000000, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0);
+ MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
if (m == (int*)-1)
printf("failed?!\n");
|
|
From: Tom H. <th...@cy...> - 2004-03-09 09:25:40
|
CVS commit by thughes: Add an alternate (appropriately filtered) result for some systems. A writev.stderr.exp2 1.1 M +3 -0 filter_stderr 1.10 --- valgrind/memcheck/tests/filter_stderr #1.9:1.10 @@ -16,4 +16,7 @@ sed "s/(in \/.*libc.*)$/(in \/...libc...)/" | +# Anonymise paths like "(within /foo/bar/libc-baz.so)" +sed "s/(within \/.*libc.*)$/(within \/...libc...)/" | + # Anonymise paths like "__libc_start_main (../foo/bar/libc-quux.c:129)" sed "s/__libc_\(.*\) (.*)$/__libc_\1 (...libc...)/" |
|
From: Nicholas N. <nj...@ca...> - 2004-04-10 00:53:48
|
CVS commit by nethercote: Added 2nd expected stderr output for trivialleak; often one of the 1000 blocks by chance retains a pointer. A trivialleak.stderr.exp2 1.1 |
|
From: Robert W. <rj...@du...> - 2004-04-13 19:08:40
|
CVS commit by rjwalsh:
Update test for recent "recently" fix.
M +1 -1 buflen_check.stderr.exp 1.9
--- valgrind/memcheck/tests/buflen_check.stderr.exp #1.8:1.9
@@ -9,5 +9,5 @@
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
- Address 0x........ is not stack'd, malloc'd or free'd
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
getsockname(1) failed
getsockname(2) failed
|
|
From: Robert W. <rj...@du...> - 2004-04-13 19:11:32
|
CVS commit by rjwalsh:
Fix new override test.
A new_override.stdout.exp 1.1
M +1 -1 new_override.cpp 1.3
--- valgrind/memcheck/tests/new_override.cpp #1.2:1.3
@@ -7,5 +7,5 @@ public:
};
-void *operator new(size_t size)
+void *operator new[](size_t size)
{
void *ret = malloc(size);
|
|
From: Nicholas N. <nj...@ca...> - 2004-07-18 12:05:46
|
CVS commit by nethercote:
Include new_override.stdout.exp in 'make dist'.
M +1 -1 Makefile.am 1.38
--- valgrind/memcheck/tests/Makefile.am #1.37:1.38
@@ -50,5 +50,5 @@
nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \
new_nothrow.stderr.exp new_nothrow.vgtest \
- new_override.stderr.exp new_override.vgtest \
+ new_override.stderr.exp new_override.stdout.exp new_override.vgtest \
null_socket.stderr.exp null_socket.vgtest \
overlap.stderr.exp overlap.stdout.exp overlap.vgtest \
|
|
From: Nicholas N. <nj...@ca...> - 2004-09-03 14:04:55
|
CVS commit by nethercote:
Avoid spurious warning about using posix_memalign()
M +28 -14 memalign2.c 1.2
--- valgrind/memcheck/tests/memalign2.c #1.1:1.2
@@ -1,2 +1,15 @@
+
+// These #defines attempt to ensure that posix_memalign() is declared, and
+// so no spurious warning is given about using it.
+
+// Advertise compliance of the code to the XSI (a POSIX superset that
+// defines what a system must be like to be called "UNIX")
+#undef _XOPEN_SOURCE
+#define _XOPEN_SOURCE 600
+
+// Advertise compliance to POSIX
+#undef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 200112L
+
#include <stdlib.h>
#include <stdio.h>
@@ -33,22 +46,23 @@ int main ( void )
p = memalign(4097, 100); assert(0 == (long)p % 8192);
- res = posix_memalign(&p, -1,100); assert(EINVAL == res);
- res = posix_memalign(&p, 0, 100); assert(0 == res && 0 == (long)p % 8);
- res = posix_memalign(&p, 1, 100); assert(EINVAL == res);
- res = posix_memalign(&p, 2, 100); assert(EINVAL == res);
- res = posix_memalign(&p, 3, 100); assert(EINVAL == res);
- res = posix_memalign(&p, sizeof(void*), 100);
- assert(0 == res &&
- 0 == (long)p % sizeof(void*));
+ #define PM(a,b,c) posix_memalign((void**)a, b, c)
- res = posix_memalign(&p, 31, 100); assert(EINVAL == res);
- res = posix_memalign(&p, 32, 100); assert(0 == res &&
+ res = PM(&p, -1,100); assert(EINVAL == res);
+ res = PM(&p, 0, 100); assert(0 == res && 0 == (long)p % 8);
+ res = PM(&p, 1, 100); assert(EINVAL == res);
+ res = PM(&p, 2, 100); assert(EINVAL == res);
+ res = PM(&p, 3, 100); assert(EINVAL == res);
+ res = PM(&p, sizeof(void*), 100);
+ assert(0 == res && 0 == (long)p % sizeof(void*));
+
+ res = PM(&p, 31, 100); assert(EINVAL == res);
+ res = PM(&p, 32, 100); assert(0 == res &&
0 == (long)p % 32);
- res = posix_memalign(&p, 33, 100); assert(EINVAL == res);
+ res = PM(&p, 33, 100); assert(EINVAL == res);
- res = posix_memalign(&p, 4095, 100); assert(EINVAL == res);
- res = posix_memalign(&p, 4096, 100); assert(0 == res &&
+ res = PM(&p, 4095, 100); assert(EINVAL == res);
+ res = PM(&p, 4096, 100); assert(0 == res &&
0 == (long)p % 4096);
- res = posix_memalign(&p, 4097, 100); assert(EINVAL == res);
+ res = PM(&p, 4097, 100); assert(EINVAL == res);
return 0;
|
|
From: Nicholas N. <nj...@ca...> - 2004-10-12 08:39:10
|
CVS commit by nethercote:
Update second expected output to match the first.
M +3 -3 writev.stderr.exp2 1.2
--- valgrind/memcheck/tests/writev.stderr.exp2 #1.1:1.2
@@ -4,5 +4,5 @@
at 0x........: (within /...libc...)
by 0x........: main (writev.c:56)
- Address 0x........ is not stack'd, malloc'd or free'd
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EFAULT as expected
@@ -10,5 +10,5 @@
at 0x........: (within /...libc...)
by 0x........: main (writev.c:68)
- Address 0x........ is not stack'd, malloc'd or free'd
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EINVAL as expected
@@ -16,5 +16,5 @@
at 0x........: readv (in /...libc...)
by 0x........: main (writev.c:76)
- Address 0x........ is not stack'd, malloc'd or free'd
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EINVAL as expected
|
|
From: Nicholas N. <nj...@ca...> - 2004-10-14 09:48:58
|
CVS commit by nethercote:
Avoid warning about not returning a value from main().
M +2 -0 fpeflags.c 1.2
--- valgrind/memcheck/tests/fpeflags.c #1.1:1.2
@@ -18,3 +18,5 @@ int main(int argc, char** argv)
if (g == 1.0f)
return 0;
+ else
+ return 1;
}
|
|
From: Nicholas N. <nj...@ca...> - 2004-10-27 12:06:10
|
CVS commit by nethercote:
Jump through a hoop to make vgtest_ume work again on PIE-supporting systems.
M +11 -0 Makefile.am 1.51
--- valgrind/memcheck/tests/Makefile.am #1.50:1.51
@@ -148,6 +148,17 @@
# Valgrind unit self-tests
hello_SOURCES = hello.c
+## If we support PIE, build hello as a PIE, otherwise vgtest_ume cannot load
+## (I'm not completely sure why, since stage2 can load both PIEs and non-PIEs,
+## maybe it's because stage2 is loaded up high; anyway, it doesn't really
+## matter so long as vgtest_ume can load hello ok. --njn)
+if USE_PIE
+hello_CFLAGS = $(AM_CFLAGS) -fpie
+hello_LDFLAGS = -pie
+else
hello_LDFLAGS = -Wl,-defsym,kickstart_base=0x50000000 \
-Wl,-T,../../coregrind/${VG_ARCH}/stage2.lds
+hello_DEPENDENCIES = ../../coregrind/${VG_ARCH}/stage2.lds
+endif
+
vgtest_ume_SOURCES = vgtest_ume.c
vgtest_ume_LDADD = ../../coregrind/ume.o \
|
|
From: Tom H. <th...@cy...> - 2004-10-28 13:52:55
|
CVS commit by thughes: Update expected output for pth_once in memcheck tests. M +10 -10 pth_once.stdout.exp 1.3 --- valgrind/memcheck/tests/pth_once.stdout.exp #1.2:1.3 @@ -1,12 +1,12 @@ welcome: Welcome -identify_yourself: Hi, I'm thread # 0 -identify_yourself: Hi, I'm thread # 1 -identify_yourself: Hi, I'm thread # 2 -identify_yourself: Hi, I'm thread # 3 -identify_yourself: Hi, I'm thread # 4 -identify_yourself: Hi, I'm thread # 5 -identify_yourself: Hi, I'm thread # 6 -identify_yourself: Hi, I'm thread # 7 -identify_yourself: Hi, I'm thread # 8 -identify_yourself: Hi, I'm thread # 9 +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread +identify_yourself: Hi, I'm a thread main: Goodbye |
|
From: Nicholas N. <nj...@ca...> - 2004-11-05 11:10:07
|
CVS commit by nethercote: Order wibble M +9 -9 .cvsignore 1.21 --- valgrind/memcheck/tests/.cvsignore #1.20:1.21 @@ -6,4 +6,7 @@ badjump2 badloop +badrw +brk +brk2 buflen_check clientperm @@ -34,7 +37,9 @@ memcmptest mempool +metadata mismatches mmaptest nanoleak +new_nothrow new_override null_socket @@ -42,4 +47,5 @@ realloc1 realloc2 +realloc3 sigaltstack signal2 @@ -47,18 +53,12 @@ supp2 suppfree +threadederrno trivialleak vgtest_ume weirdioctl +writev +zeropage *.stdout.diff *.stderr.diff* *.stdout.out *.stderr.out -badrw -brk -brk2 -metadata -new_nothrow -realloc3 -threadederrno -writev -zeropage |
|
From: Nicholas N. <nj...@ca...> - 2004-11-05 13:46:00
|
CVS commit by nethercote:
Remove writev.stderr.exp3 -- not necessary if we pass -q to Valgrind.
Add writev.stderr.exp2 to the Makefile.am so it gets included in the distro.
M +1 -1 Makefile.am 1.53
M +0 -7 writev.stderr.exp 1.7
M +0 -7 writev.stderr.exp2 1.3
M +1 -0 writev.vgtest 1.2
R writev.stderr.exp3 1.1
--- valgrind/memcheck/tests/Makefile.am #1.52:1.53
@@ -66,5 +66,5 @@
threadederrno.vgtest \
vgtest_ume.stderr.exp vgtest_ume.vgtest \
- writev.stderr.exp writev.vgtest \
+ writev.stderr.exp writev.stderr.exp2 writev.vgtest \
zeropage.stderr.exp zeropage.stderr.exp2 zeropage.vgtest
--- valgrind/memcheck/tests/writev.stderr.exp #1.6:1.7
@@ -1,3 +1,2 @@
-
Test file created.
Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s)
@@ -18,8 +17,2 @@
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EINVAL as expected
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
--- valgrind/memcheck/tests/writev.stderr.exp2 #1.2:1.3
@@ -1,3 +1,2 @@
-
Test file created.
Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s)
@@ -18,8 +17,2 @@
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EINVAL as expected
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
--- valgrind/memcheck/tests/writev.vgtest #1.1:1.2
@@ -1 +1,2 @@
prog: writev
+vgopts: -q
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-08 19:30:15
|
CVS commit by nethercote:
Improved memcheck/tests/scalar so that it shows an example whereby the syscall
number itself is undefined.
M +2 -0 .cvsignore 1.23
M +7 -3 scalar.c 1.2
M +9 -4 scalar.stderr.exp 1.2
M +1 -1 scalar.supp 1.2
M +7 -2 scalar_supp.stderr.exp 1.2
--- valgrind/memcheck/tests/.cvsignore #1.22:1.23
@@ -49,6 +49,8 @@
realloc2
realloc3
+scalar
sigaltstack
signal2
+str_tester
supp1
supp2
--- valgrind/memcheck/tests/scalar.c #1.1:1.2
@@ -1,4 +1,5 @@
#include <stdlib.h>
#include <unistd.h>
+#include <sys/syscall.h>
int main(void)
@@ -10,7 +11,10 @@ int main(void)
char** pc = malloc(sizeof(char*));
- // Four errors: each of the scalar args are undefined, plus the 2nd arg
- // points to unaddressable memory.
- write(pi[0], pc[0], pi[0]+1);
+ // Five errors:
+ // - the syscall number itself is undefined (but we know it's
+ // 0 + __NR_write :)
+ // - each of the scalar args are undefined
+ // - the 2nd arg points to unaddressable memory.
+ syscall(pi[0]+__NR_write, pi[0], pc[0], pi[0]+1);
return 0;
--- valgrind/memcheck/tests/scalar.stderr.exp #1.1:1.2
@@ -1,19 +1,24 @@
+Syscall param (syscallno) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
Syscall param write(fd) contains uninitialised byte(s)
- at 0x........: write (in /...libc...)
+ at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Syscall param write(buf) contains uninitialised byte(s)
- at 0x........: write (in /...libc...)
+ at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Syscall param write(count) contains uninitialised byte(s)
- at 0x........: write (in /...libc...)
+ at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Syscall param write(buf) points to unaddressable byte(s)
- at 0x........: write (in /...libc...)
+ at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
--- valgrind/memcheck/tests/scalar.supp #1.1:1.2
@@ -4,5 +4,5 @@
Memcheck:Param
write(buf)
- fun:__write_nocancel
+ fun:syscall
fun:__libc_start_main
}
--- valgrind/memcheck/tests/scalar_supp.stderr.exp #1.1:1.2
@@ -1,9 +1,14 @@
+Syscall param (syscallno) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
Syscall param write(fd) contains uninitialised byte(s)
- at 0x........: write (in /...libc...)
+ at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Syscall param write(count) contains uninitialised byte(s)
- at 0x........: write (in /...libc...)
+ at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-10 18:59:59
|
CVS commit by nethercote:
augmented scalar
M +3 -0 scalar.c 1.5
M +4 -0 scalar.stderr.exp 1.5
--- valgrind/memcheck/tests/scalar.c #1.4:1.5
@@ -338,4 +338,7 @@ int main(void)
// __NR_sys_kexec_load 283
+ GO("bogus constant, 1 message");
+ syscall(9999);
+
// __NR_exit 1 --> sys_exit()
GO("__NR_exit, 1 scalar error");
--- valgrind/memcheck/tests/scalar.stderr.exp #1.4:1.5
@@ -110,4 +110,8 @@
Address 0x........ is not stack'd, malloc'd or (recently) free'd
---------- __NR_getppid, 0 errors
+---------- bogus constant, 1 message
+WARNING: unhandled syscall: 9999
+Do not panic. You may be able to fix this easily.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
---------- __NR_exit, 1 scalar error
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-12 11:25:41
|
CVS commit by nethercote: CVS fixups: cvs add files I forgot to before; add .cvsignore entries. A scalar_fork.c 1.1 [no copyright] A scalar_fork.stderr.exp 1.1 A scalar_fork.vgtest 1.1 M +2 -0 .cvsignore 1.24 --- valgrind/memcheck/tests/.cvsignore #1.23:1.24 @@ -50,4 +50,6 @@ realloc3 scalar +scalar_fork +scalar_supp sigaltstack signal2 |
|
From: Nicholas N. <nj...@ca...> - 2004-11-12 17:12:08
|
CVS commit by nethercote: Use our own unistd.h, because the system one might be missing some of the constants. M +7 -1 scalar.h 1.3 --- valgrind/memcheck/tests/scalar.h #1.2:1.3 @@ -1,7 +1,9 @@ +// XXX: x86-specific, so these should be in x86/, or something +#include "../../coregrind/x86-linux/vki_unistd.h" + #include <assert.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <sys/syscall.h> #include <sys/stat.h> @@ -9,4 +11,8 @@ #include <sys/types.h> +// Since we use vki_unistd.h, we can't include <unistd.h>. So we have to +// declare this ourselves. +extern long int syscall (long int __sysno, ...) __THROW; + // Thorough syscall scalar arg checking. Also serves as thorough checking // for (very) basic syscall use. Generally not trying to do anything |
|
From: Nicholas N. <nj...@ca...> - 2004-11-12 18:21:19
|
CVS commit by nethercote:
renamed variables
M +45 -49 scalar.c 1.16
--- valgrind/memcheck/tests/scalar.c #1.15:1.16
@@ -3,11 +3,7 @@
int main(void)
{
- // uninitialised, but we know pi[0] is 0x0
- int* pi = malloc(sizeof(int));
- int i0 = pi[0];
-
- // uninitialised, but we know pc[0] points to 0x0
- char** pc = malloc(sizeof(char*));
- char* s0 = pc[0];
+ // uninitialised, but we know px[0] is 0x0
+ long* px = malloc(sizeof(long));
+ long x0 = px[0];
// All __NR_xxx numbers are taken from x86
@@ -24,58 +20,58 @@ int main(void)
// Nb: here we are also getting an error from the syscall arg itself.
GO(__NR_read, "1+3s 1m");
- SY(__NR_read+i0, i0, s0, i0+1);
+ SY(__NR_read+x0, x0, x0, x0+1);
// __NR_write 4 --> sys_write()
GO(__NR_write, "3s 1m");
- SY(__NR_write, i0, s0, i0+1);
+ SY(__NR_write, x0, x0, x0+1);
// __NR_open 5 --> sys_open()
GO(__NR_open, "(2-args) 2s 1m");
- SY(__NR_open, s0, i0, i0+1);
+ SY(__NR_open, x0, x0, x0+1);
GO(__NR_open, "(3-args) 1s 0m");
- SY(__NR_open, "tmp_write_file_foo", O_CREAT, i0);
+ SY(__NR_open, "tmp_write_file_foo", O_CREAT, x0);
// __NR_close 6 --> sys_close()
GO(__NR_close, "1s 0m");
- SY(__NR_close, i0-1);
+ SY(__NR_close, x0-1);
// __NR_waitpid 7 --> sys_waitpid()
GO(__NR_waitpid, "3s 1m");
- SY(__NR_waitpid, i0-1);
+ SY(__NR_waitpid, x0-1);
// __NR_creat 8 --> sys_creat()
GO(__NR_creat, "2s 1m");
- SY(__NR_creat, s0, i0);
+ SY(__NR_creat, x0, x0);
// __NR_link 9 --> sys_link()
GO(__NR_link, "2s 2m");
- SY(__NR_link, s0, s0);
+ SY(__NR_link, x0, x0);
// __NR_unlink 10 --> sys_unlink()
GO(__NR_unlink, "1s 1m");
- SY(__NR_unlink, s0);
+ SY(__NR_unlink, x0);
// __NR_execve 11 --> sys_execve()
- // Nb: could have 3 memory errors if we pass s0+1 as the 2nd and 3rd
+ // 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, s0, s0, s0);
+ SY(__NR_execve, x0, x0, x0);
// __NR_chdir 12 --> sys_chdir()
GO(__NR_chdir, "1s 1m");
- SY(__NR_chdir, s0);
+ SY(__NR_chdir, x0);
// __NR_time 13 --> sys_time()
GO(__NR_time, "1s 1m");
- SY(__NR_time, s0+1);
+ SY(__NR_time, x0+1);
// __NR_mknod 14 --> sys_mknod()
GO(__NR_mknod, "3s 1m");
- SY(__NR_mknod, s0, i0, i0);
+ SY(__NR_mknod, x0, x0, x0);
// __NR_chmod 15 --> sys_chmod()
GO(__NR_chmod, "2s 1m");
- SY(__NR_chmod, s0, i0);
+ SY(__NR_chmod, x0, x0);
// __NR_lchown 16
@@ -91,5 +87,5 @@ int main(void)
// __NR_lseek 19 --> sys_lseek()
GO(__NR_lseek, "3s 0m");
- SY(__NR_lseek, i0, i0, i0);
+ SY(__NR_lseek, x0, x0, x0);
// __NR_getpid 20 --> sys_getpid()
@@ -99,13 +95,13 @@ int main(void)
// __NR_mount 21 --> sys_mount()
GO(__NR_mount, "5s 3m");
- SY(__NR_mount, s0, s0, s0, i0, s0);
+ SY(__NR_mount, x0, x0, x0, x0, x0);
// __NR_umount 22 --> sys_oldumount()
GO(__NR_umount, "1s 1m");
- SY(__NR_umount, s0);
+ SY(__NR_umount, x0);
// __NR_setuid 23 --> sys_setuid16()
GO(__NR_setuid, "1s 0m");
- SY(__NR_setuid, i0);
+ SY(__NR_setuid, x0);
// __NR_getuid 24 --> sys_getuid16()
@@ -119,9 +115,9 @@ int main(void)
// XXX: memory pointed to be arg3 is never checked...
GO(__NR_ptrace, "4s 2m");
- SY(__NR_ptrace, i0+PTRACE_GETREGS, i0, s0, s0);
+ SY(__NR_ptrace, x0+PTRACE_GETREGS, x0, x0, x0);
// __NR_alarm 27 --> sys_alarm()
GO(__NR_alarm, "1s 0m");
- SY(__NR_alarm, i0);
+ SY(__NR_alarm, x0);
// __NR_oldfstat 28
@@ -133,5 +129,5 @@ int main(void)
// __NR_utime 30 --> sys_utime()
GO(__NR_utime, "2s 2m");
- SY(__NR_utime, s0, s0+1);
+ SY(__NR_utime, x0, x0+1);
// __NR_stty 31 --> sys_ni_syscall()
@@ -145,9 +141,9 @@ int main(void)
// __NR_access 33 --> sys_access()
GO(__NR_access, "2s 1m");
- SY(__NR_access, s0, i0);
+ SY(__NR_access, x0, x0);
// __NR_nice 34 --> sys_nice()
GO(__NR_nice, "1s 0m");
- SY(__NR_nice, i0);
+ SY(__NR_nice, x0);
// __NR_ftime 35 --> sys_ni_syscall()
@@ -161,29 +157,29 @@ int main(void)
// __NR_kill 37 --> sys_kill()
GO(__NR_kill, "2s 0m");
- SY(__NR_kill, i0, i0);
+ SY(__NR_kill, x0, x0);
// __NR_rename 38 --> sys_rename()
GO(__NR_rename, "2s 2m");
- SY(__NR_rename, s0, s0);
+ SY(__NR_rename, x0, x0);
// __NR_mkdir 39 --> sys_mkdir()
GO(__NR_mkdir, "2s 1m");
- SY(__NR_mkdir, s0, i0);
+ SY(__NR_mkdir, x0, x0);
// __NR_rmdir 40 --> sys_rmdir()
GO(__NR_rmdir, "1s 1m");
- SY(__NR_rmdir, s0);
+ SY(__NR_rmdir, x0);
// __NR_dup 41 --> sys_dup()
GO(__NR_dup, "1s 0m");
- SY(__NR_dup, i0);
+ SY(__NR_dup, x0);
// __NR_pipe 42 --> arch/sys_pipe()
GO(__NR_pipe, "1s 1m");
- SY(__NR_pipe, s0);
+ SY(__NR_pipe, x0);
// __NR_times 43 --> sys_times()
GO(__NR_times, "1s 1m");
- SY(__NR_times, s0);
+ SY(__NR_times, x0);
// __NR_prof 44 --> sys_ni_syscall()
@@ -193,5 +189,5 @@ int main(void)
// __NR_brk 45 --> sys_brk()
GO(__NR_brk, "1s 0m");
- SY(__NR_brk, i0);
+ SY(__NR_brk, x0);
// __NR_setgid 46 --> sys_setgid16()
@@ -216,9 +212,9 @@ int main(void)
// __NR_acct 51 --> sys_acct()
GO(__NR_acct, "1s 1m");
- SY(__NR_acct, s0);
+ SY(__NR_acct, x0);
// __NR_umount2 52 --> sys_umount()
GO(__NR_umount2, "2s 1m");
- SY(__NR_umount2, s0, i0);
+ SY(__NR_umount2, x0, x0);
// __NR_lock 53 --> sys_ni_syscall()
@@ -229,9 +225,9 @@ int main(void)
#include <asm/ioctls.h>
GO(__NR_ioctl, "3s 1m");
- SY(__NR_ioctl, i0, i0+TCSETS, s0);
+ SY(__NR_ioctl, x0, x0+TCSETS, x0);
// __NR_fcntl 55 --> sys_fcntl()
GO(__NR_fcntl, "3s 0m");
- SY(__NR_fcntl, i0, i0, i0);
+ SY(__NR_fcntl, x0, x0, x0);
// __NR_mpx 56 --> sys_ni_syscall()
@@ -241,5 +237,5 @@ int main(void)
// __NR_setpgid 57
GO(__NR_setpgid, "2s 0m");
- SY(__NR_setpgid, i0, i0);
+ SY(__NR_setpgid, x0, x0);
// __NR_ulimit 58 --> sys_ni_syscall()
@@ -252,5 +248,5 @@ int main(void)
// __NR_umask 60
GO(__NR_umask, "1s 0m");
- SY(__NR_umask, i0);
+ SY(__NR_umask, x0);
// __NR_chroot 61
@@ -341,5 +337,5 @@ int main(void)
// __NR_uname 122
GO(__NR_uname, "1s 1m");
- SY(__NR_uname, s0);
+ SY(__NR_uname, x0);
// __NR_modify_ldt 123
@@ -469,5 +465,5 @@ int main(void)
// __NR_setuid32 213 --> sys_setuid()
GO(__NR_setuid32, "1s 0m");
- SY(__NR_setuid32, i0);
+ SY(__NR_setuid32, x0);
// __NR_setgid32 214
@@ -529,5 +525,5 @@ int main(void)
// __NR_lookup_dcookie 253 --> sys_lookup_dcookie()
GO(__NR_lookup_dcookie, "4s 1m");
- SY(__NR_lookup_dcookie, i0, i0, s0, i0+1);
+ SY(__NR_lookup_dcookie, x0, x0, x0, x0+1);
// __NR_epoll_create 254
@@ -574,5 +570,5 @@ int main(void)
// __NR_exit 1 --> sys_exit()
GO(__NR_exit, "1s 0m");
- SY(__NR_exit, i0);
+ SY(__NR_exit, x0);
assert(0);
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-12 21:00:15
|
CVS commit by nethercote:
Add commented-out templates so further additions are easier.
M +525 -6 scalar.c 1.19
--- valgrind/memcheck/tests/scalar.c #1.18:1.19
@@ -305,11 +305,34 @@ int main(void)
// __NR_getrlimit 76
+ //GO(__NR_getrlimit, ".m .s");
+ //SY(__NR_getrlimit);
+
// __NR_getrusage 77
+ //GO(__NR_getrusage, ".m .s");
+ //SY(__NR_getrusage);
+
// __NR_gettimeofday 78
+ //GO(__NR_gettimeofday, ".m .s");
+ //SY(__NR_gettimeofday);
+
// __NR_settimeofday 79
+ //GO(__NR_settimeofday, ".m .s");
+ //SY(__NR_settimeofday);
+
// __NR_getgroups 80
+ //GO(__NR_getgroups, ".m .s");
+ //SY(__NR_getgroups);
+
// __NR_setgroups 81
+ //GO(__NR_setgroups, ".m .s");
+ //SY(__NR_setgroups);
+
// __NR_select 82
+ //GO(__NR_select, ".m .s");
+ //SY(__NR_select);
+
// __NR_symlink 83
+ //GO(__NR_symlink, ".m .s");
+ //SY(__NR_symlink);
// __NR_oldlstat 84
@@ -317,4 +340,6 @@ int main(void)
// __NR_readlink 85
+ //GO(__NR_readlink, ".m .s");
+ //SY(__NR_readlink);
// __NR_uselib 86
@@ -331,22 +356,78 @@ int main(void)
// __NR_mmap 90
+ //GO(__NR_mmap, ".m .s");
+ //SY(__NR_mmap);
+
// __NR_munmap 91
+ //GO(__NR_munmap, ".m .s");
+ //SY(__NR_munmap);
+
// __NR_truncate 92
+ //GO(__NR_truncate, ".m .s");
+ //SY(__NR_truncate);
+
// __NR_ftruncate 93
+ //GO(__NR_ftruncate, ".m .s");
+ //SY(__NR_ftruncate);
+
// __NR_fchmod 94
+ //GO(__NR_fchmod, ".m .s");
+ //SY(__NR_fchmod);
+
// __NR_fchown 95
+ //GO(__NR_fchown, ".m .s");
+ //SY(__NR_fchown);
+
// __NR_getpriority 96
+ //GO(__NR_getpriority, ".m .s");
+ //SY(__NR_getpriority);
+
// __NR_setpriority 97
+ //GO(__NR_setpriority, ".m .s");
+ //SY(__NR_setpriority);
+
// __NR_profil 98
+ //GO(__NR_profil, ".m .s");
+ //SY(__NR_profil);
+
// __NR_statfs 99
+ //GO(__NR_statfs, ".m .s");
+ //SY(__NR_statfs);
+
// __NR_fstatfs 100
+ //GO(__NR_fstatfs, ".m .s");
+ //SY(__NR_fstatfs);
+
// __NR_ioperm 101
+ //GO(__NR_ioperm, ".m .s");
+ //SY(__NR_ioperm);
+
// __NR_socketcall 102
+ //GO(__NR_socketcall, ".m .s");
+ //SY(__NR_socketcall);
+
// __NR_syslog 103
+ //GO(__NR_syslog, ".m .s");
+ //SY(__NR_syslog);
+
// __NR_setitimer 104
+ //GO(__NR_setitimer, ".m .s");
+ //SY(__NR_setitimer);
+
// __NR_getitimer 105
+ //GO(__NR_getitimer, ".m .s");
+ //SY(__NR_getitimer);
+
// __NR_stat 106
+ //GO(__NR_stat, ".m .s");
+ //SY(__NR_stat);
+
// __NR_lstat 107
+ //GO(__NR_lstat, ".m .s");
+ //SY(__NR_lstat);
+
// __NR_fstat 108
+ //GO(__NR_fstat, ".m .s");
+ //SY(__NR_fstat);
// __NR_olduname 109
@@ -354,4 +435,6 @@ int main(void)
// __NR_iopl 110
+ //GO(__NR_iopl, ".m .s");
+ //SY(__NR_iopl);
// __NR_vhangup 111 --> sys_vhangup()
@@ -364,12 +447,38 @@ int main(void)
// __NR_vm86old 113
+ //GO(__NR_vm86old, ".m .s");
+ //SY(__NR_vm86old);
+
// __NR_wait4 114
+ //GO(__NR_wait4, ".m .s");
+ //SY(__NR_wait4);
+
// __NR_swapoff 115
+ //GO(__NR_swapoff, ".m .s");
+ //SY(__NR_swapoff);
+
// __NR_sysinfo 116
+ //GO(__NR_sysinfo, ".m .s");
+ //SY(__NR_sysinfo);
+
// __NR_ipc 117
+ //GO(__NR_ipc, ".m .s");
+ //SY(__NR_ipc);
+
// __NR_fsync 118
+ //GO(__NR_fsync, ".m .s");
+ //SY(__NR_fsync);
+
// __NR_sigreturn 119
+ //GO(__NR_sigreturn, ".m .s");
+ //SY(__NR_sigreturn);
+
// __NR_clone 120
+ //GO(__NR_clone, ".m .s");
+ //SY(__NR_clone);
+
// __NR_setdomainname 121
+ //GO(__NR_setdomainname, ".m .s");
+ //SY(__NR_setdomainname);
// __NR_uname 122
@@ -378,7 +487,18 @@ int main(void)
// __NR_modify_ldt 123
+ //GO(__NR_modify_ldt, ".m .s");
+ //SY(__NR_modify_ldt);
+
// __NR_adjtimex 124
+ //GO(__NR_adjtimex, ".m .s");
+ //SY(__NR_adjtimex);
+
// __NR_mprotect 125
+ //GO(__NR_mprotect, ".m .s");
+ //SY(__NR_mprotect);
+
// __NR_sigprocmask 126
+ //GO(__NR_sigprocmask, ".m .s");
+ //SY(__NR_sigprocmask);
// __NR_create_module 127 --> sys_ni_syscall()
@@ -387,5 +507,10 @@ int main(void)
// __NR_init_module 128
+ //GO(__NR_init_module, ".m .s");
+ //SY(__NR_init_module);
+
// __NR_delete_module 129
+ //GO(__NR_delete_module, ".m .s");
+ //SY(__NR_delete_module);
// __NR_get_kernel_syms 130 --> sys_ni_syscall()
@@ -394,9 +519,26 @@ int main(void)
// __NR_quotactl 131
+ //GO(__NR_quotactl, ".m .s");
+ //SY(__NR_quotactl);
+
// __NR_getpgid 132
+ //GO(__NR_getpgid, ".m .s");
+ //SY(__NR_getpgid);
+
// __NR_fchdir 133
+ //GO(__NR_fchdir, ".m .s");
+ //SY(__NR_fchdir);
+
// __NR_bdflush 134
+ //GO(__NR_bdflush, ".m .s");
+ //SY(__NR_bdflush);
+
// __NR_sysfs 135
+ //GO(__NR_sysfs, ".m .s");
+ //SY(__NR_sysfs);
+
// __NR_personality 136
+ //GO(__NR_personality, ".m .s");
+ //SY(__NR_personality);
// __NR_afs_syscall 137 --> sys_ni_syscall()
@@ -405,18 +547,62 @@ int main(void)
// __NR_setfsuid 138
+ //GO(__NR_setfsuid, ".m .s");
+ //SY(__NR_setfsuid);
+
// __NR_setfsgid 139
+ //GO(__NR_setfsgid, ".m .s");
+ //SY(__NR_setfsgid);
+
// __NR__llseek 140
+ //GO(__NR__llseek, ".m .s");
+ //SY(__NR__llseek);
+
// __NR_getdents 141
+ //GO(__NR_getdents, ".m .s");
+ //SY(__NR_getdents);
+
// __NR__newselect 142
+ //GO(__NR__newselect, ".m .s");
+ //SY(__NR__newselect);
+
// __NR_flock 143
+ //GO(__NR_flock, ".m .s");
+ //SY(__NR_flock);
+
// __NR_msync 144
+ //GO(__NR_msync, ".m .s");
+ //SY(__NR_msync);
+
// __NR_readv 145
+ //GO(__NR_readv, ".m .s");
+ //SY(__NR_readv);
+
// __NR_writev 146
+ //GO(__NR_writev, ".m .s");
+ //SY(__NR_writev);
+
// __NR_getsid 147
+ //GO(__NR_getsid, ".m .s");
+ //SY(__NR_getsid);
+
// __NR_fdatasync 148
+ //GO(__NR_fdatasync, ".m .s");
+ //SY(__NR_fdatasync);
+
// __NR__sysctl 149
+ //GO(__NR__sysctl, ".m .s");
+ //SY(__NR__sysctl);
+
// __NR_mlock 150
+ //GO(__NR_mlock, ".m .s");
+ //SY(__NR_mlock);
+
// __NR_munlock 151
+ //GO(__NR_munlock, ".m .s");
+ //SY(__NR_munlock);
+
// __NR_mlockall 152
+ //GO(__NR_mlockall, ".m .s");
+ //SY(__NR_mlockall);
// __NR_munlockall 153 --> sys_munlockall()
@@ -425,16 +611,54 @@ int main(void)
// __NR_sched_setparam 154
+ //GO(__NR_sched_setparam, ".m .s");
+ //SY(__NR_sched_setparam);
+
// __NR_sched_getparam 155
+ //GO(__NR_sched_getparam, ".m .s");
+ //SY(__NR_sched_getparam);
+
// __NR_sched_setscheduler 156
+ //GO(__NR_sched_setscheduler, ".m .s");
+ //SY(__NR_sched_setscheduler);
+
// __NR_sched_getscheduler 157
+ //GO(__NR_sched_getscheduler, ".m .s");
+ //SY(__NR_sched_getscheduler);
+
// __NR_sched_yield 158
+ //GO(__NR_sched_yield, ".m .s");
+ //SY(__NR_sched_yield);
+
// __NR_sched_get_priority_max 159
+ //GO(__NR_sched_get_priority_max, ".m .s");
+ //SY(__NR_sched_get_priority_max);
+
// __NR_sched_get_priority_min 160
+ //GO(__NR_sched_get_priority_min, ".m .s");
+ //SY(__NR_sched_get_priority_min);
+
// __NR_sched_rr_get_interval 161
+ //GO(__NR_sched_rr_get_interval, ".m .s");
+ //SY(__NR_sched_rr_get_interval);
+
// __NR_nanosleep 162
+ //GO(__NR_nanosleep, ".m .s");
+ //SY(__NR_nanosleep);
+
// __NR_mremap 163
+ //GO(__NR_mremap, ".m .s");
+ //SY(__NR_mremap);
+
// __NR_setresuid 164
+ //GO(__NR_setresuid, ".m .s");
+ //SY(__NR_setresuid);
+
// __NR_getresuid 165
+ //GO(__NR_getresuid, ".m .s");
+ //SY(__NR_getresuid);
+
// __NR_vm86 166
+ //GO(__NR_vm86, ".m .s");
+ //SY(__NR_vm86);
// __NR_query_module 167 --> sys_ni_syscall()
@@ -443,34 +667,126 @@ int main(void)
// __NR_poll 168
+ //GO(__NR_poll, ".m .s");
+ //SY(__NR_poll);
+
// __NR_nfsservctl 169
+ //GO(__NR_nfsservctl, ".m .s");
+ //SY(__NR_nfsservctl);
+
// __NR_setresgid 170
+ //GO(__NR_setresgid, ".m .s");
+ //SY(__NR_setresgid);
+
// __NR_getresgid 171
+ //GO(__NR_getresgid, ".m .s");
+ //SY(__NR_getresgid);
+
// __NR_prctl 172
+ //GO(__NR_prctl, ".m .s");
+ //SY(__NR_prctl);
+
// __NR_rt_sigreturn 173
+ //GO(__NR_rt_sigreturn, ".m .s");
+ //SY(__NR_rt_sigreturn);
+
// __NR_rt_sigaction 174
+ //GO(__NR_rt_sigaction, ".m .s");
+ //SY(__NR_rt_sigaction);
+
// __NR_rt_sigprocmask 175
+ //GO(__NR_rt_sigprocmask, ".m .s");
+ //SY(__NR_rt_sigprocmask);
+
// __NR_rt_sigpending 176
+ //GO(__NR_rt_sigpending, ".m .s");
+ //SY(__NR_rt_sigpending);
+
// __NR_rt_sigtimedwait 177
+ //GO(__NR_rt_sigtimedwait, ".m .s");
+ //SY(__NR_rt_sigtimedwait);
+
// __NR_rt_sigqueueinfo 178
+ //GO(__NR_rt_sigqueueinfo, ".m .s");
+ //SY(__NR_rt_sigqueueinfo);
+
// __NR_rt_sigsuspend 179
+ //GO(__NR_rt_sigsuspend, ".m .s");
+ //SY(__NR_rt_sigsuspend);
+
// __NR_pread64 180
+ //GO(__NR_pread64, ".m .s");
+ //SY(__NR_pread64);
+
// __NR_pwrite64 181
+ //GO(__NR_pwrite64, ".m .s");
+ //SY(__NR_pwrite64);
+
// __NR_chown 182
+ //GO(__NR_chown, ".m .s");
+ //SY(__NR_chown);
+
// __NR_getcwd 183
+ //GO(__NR_getcwd, ".m .s");
+ //SY(__NR_getcwd);
+
// __NR_capget 184
+ //GO(__NR_capget, ".m .s");
+ //SY(__NR_capget);
+
// __NR_capset 185
+ //GO(__NR_capset, ".m .s");
+ //SY(__NR_capset);
+
// __NR_sigaltstack 186
+ //GO(__NR_sigaltstack, ".m .s");
+ //SY(__NR_sigaltstack);
+
// __NR_sendfile 187
+ //GO(__NR_sendfile, ".m .s");
+ //SY(__NR_sendfile);
+
// __NR_getpmsg 188
+ //GO(__NR_getpmsg, ".m .s");
+ //SY(__NR_getpmsg);
+
// __NR_putpmsg 189
+ //GO(__NR_putpmsg, ".m .s");
+ //SY(__NR_putpmsg);
+
// __NR_vfork 190
+ //GO(__NR_vfork, ".m .s");
+ //SY(__NR_vfork);
+
// __NR_ugetrlimit 191
+ //GO(__NR_ugetrlimit, ".m .s");
+ //SY(__NR_ugetrlimit);
+
// __NR_mmap2 192
+ //GO(__NR_mmap2, ".m .s");
+ //SY(__NR_mmap2);
+
// __NR_truncate64 193
+ //GO(__NR_truncate64, ".m .s");
+ //SY(__NR_truncate64);
+
// __NR_ftruncate64 194
+ //GO(__NR_ftruncate64, ".m .s");
+ //SY(__NR_ftruncate64);
+
// __NR_stat64 195
+ //GO(__NR_stat64, ".m .s");
+ //SY(__NR_stat64);
+
// __NR_lstat64 196
+ //GO(__NR_lstat64, ".m .s");
+ //SY(__NR_lstat64);
+
// __NR_fstat64 197
+ //GO(__NR_fstat64, ".m .s");
+ //SY(__NR_fstat64);
+
// __NR_lchown32 198
+ //GO(__NR_lchown32, ".m .s");
+ //SY(__NR_lchown32);
// __NR_getuid32 199 --> sys_getuid()
@@ -499,11 +815,34 @@ int main(void)
// __NR_getgroups32 205
+ //GO(__NR_getgroups32, ".m .s");
+ //SY(__NR_getgroups32);
+
// __NR_setgroups32 206
+ //GO(__NR_setgroups32, ".m .s");
+ //SY(__NR_setgroups32);
+
// __NR_fchown32 207
+ //GO(__NR_fchown32, ".m .s");
+ //SY(__NR_fchown32);
+
// __NR_setresuid32 208
+ //GO(__NR_setresuid32, ".m .s");
+ //SY(__NR_setresuid32);
+
// __NR_getresuid32 209
+ //GO(__NR_getresuid32, ".m .s");
+ //SY(__NR_getresuid32);
+
// __NR_setresgid32 210
+ //GO(__NR_setresgid32, ".m .s");
+ //SY(__NR_setresgid32);
+
// __NR_getresgid32 211
+ //GO(__NR_getresgid32, ".m .s");
+ //SY(__NR_getresgid32);
+
// __NR_chown32 212
+ //GO(__NR_chown32, ".m .s");
+ //SY(__NR_chown32);
// __NR_setuid32 213 --> sys_setuid()
@@ -516,12 +855,30 @@ int main(void)
// __NR_setfsuid32 215
+ //GO(__NR_setfsuid32, ".m .s");
+ //SY(__NR_setfsuid32);
+
// __NR_setfsgid32 216
+ //GO(__NR_setfsgid32, ".m .s");
+ //SY(__NR_setfsgid32);
+
// __NR_pivot_root 217
+ //GO(__NR_pivot_root, ".m .s");
+ //SY(__NR_pivot_root);
+
// __NR_mincore 218
+ //GO(__NR_mincore, ".m .s");
+ //SY(__NR_mincore);
+
// __NR_madvise 219
+ //GO(__NR_madvise, ".m .s");
+ //SY(__NR_madvise);
+
// __NR_getdents64 220
- // __NR_fcntl64 221
+ //GO(__NR_getdents64, ".m .s");
+ //SY(__NR_getdents64);
- // XXX: from here on in, not present in early 2.4 kernels
+ // __NR_fcntl64 221
+ //GO(__NR_fcntl64, ".m .s");
+ //SY(__NR_fcntl64);
// 222 --> sys_ni_syscall()
@@ -534,30 +891,110 @@ int main(void)
// __NR_gettid 224
+ //GO(__NR_gettid, ".m .s");
+ //SY(__NR_gettid);
+
// __NR_readahead 225
+ //GO(__NR_readahead, ".m .s");
+ //SY(__NR_readahead);
+
// __NR_setxattr 226
+ //GO(__NR_setxattr, ".m .s");
+ //SY(__NR_setxattr);
+
// __NR_lsetxattr 227
+ //GO(__NR_lsetxattr, ".m .s");
+ //SY(__NR_lsetxattr);
+
// __NR_fsetxattr 228
+ //GO(__NR_fsetxattr, ".m .s");
+ //SY(__NR_fsetxattr);
+
// __NR_getxattr 229
+ //GO(__NR_getxattr, ".m .s");
+ //SY(__NR_getxattr);
+
// __NR_lgetxattr 230
+ //GO(__NR_lgetxattr, ".m .s");
+ //SY(__NR_lgetxattr);
+
// __NR_fgetxattr 231
+ //GO(__NR_fgetxattr, ".m .s");
+ //SY(__NR_fgetxattr);
+
// __NR_listxattr 232
+ //GO(__NR_listxattr, ".m .s");
+ //SY(__NR_listxattr);
+
// __NR_llistxattr 233
+ //GO(__NR_llistxattr, ".m .s");
+ //SY(__NR_llistxattr);
+
// __NR_flistxattr 234
+ //GO(__NR_flistxattr, ".m .s");
+ //SY(__NR_flistxattr);
+
// __NR_removexattr 235
+ //GO(__NR_removexattr, ".m .s");
+ //SY(__NR_removexattr);
+
// __NR_lremovexattr 236
+ //GO(__NR_lremovexattr, ".m .s");
+ //SY(__NR_lremovexattr);
+
// __NR_fremovexattr 237
+ //GO(__NR_fremovexattr, ".m .s");
+ //SY(__NR_fremovexattr);
+
// __NR_tkill 238
+ //GO(__NR_tkill, ".m .s");
+ //SY(__NR_tkill);
+
// __NR_sendfile64 239
+ //GO(__NR_sendfile64, ".m .s");
+ //SY(__NR_sendfile64);
+
// __NR_futex 240
+ //GO(__NR_futex, ".m .s");
+ //SY(__NR_futex);
+
// __NR_sched_setaffinity 241
+ //GO(__NR_sched_setaffinity, ".m .s");
+ //SY(__NR_sched_setaffinity);
+
// __NR_sched_getaffinity 242
+ //GO(__NR_sched_getaffinity, ".m .s");
+ //SY(__NR_sched_getaffinity);
+
// __NR_set_thread_area 243
+ //GO(__NR_set_thread_area, ".m .s");
+ //SY(__NR_set_thread_area);
+
// __NR_get_thread_area 244
+ //GO(__NR_get_thread_area, ".m .s");
+ //SY(__NR_get_thread_area);
+
// __NR_io_setup 245
+ //GO(__NR_io_setup, ".m .s");
+ //SY(__NR_io_setup);
+
// __NR_io_destroy 246
+ //GO(__NR_io_destroy, ".m .s");
+ //SY(__NR_io_destroy);
+
// __NR_io_getevents 247
+ //GO(__NR_io_getevents, ".m .s");
+ //SY(__NR_io_getevents);
+
// __NR_io_submit 248
+ //GO(__NR_io_submit, ".m .s");
+ //SY(__NR_io_submit);
+
// __NR_io_cancel 249
+ //GO(__NR_io_cancel, ".m .s");
+ //SY(__NR_io_cancel);
+
// __NR_fadvise64 250
+ //GO(__NR_fadvise64, ".m .s");
+ //SY(__NR_fadvise64);
// 251 --> sys_ni_syscall()
@@ -572,22 +1009,78 @@ int main(void)
// __NR_epoll_create 254
+ //GO(__NR_epoll_create, ".m .s");
+ //SY(__NR_epoll_create);
+
// __NR_epoll_ctl 255
+ //GO(__NR_epoll_ctl, ".m .s");
+ //SY(__NR_epoll_ctl);
+
// __NR_epoll_wait 256
+ //GO(__NR_epoll_wait, ".m .s");
+ //SY(__NR_epoll_wait);
+
// __NR_remap_file_pages 257
+ //GO(__NR_remap_file_pages, ".m .s");
+ //SY(__NR_remap_file_pages);
+
// __NR_set_tid_address 258
+ //GO(__NR_set_tid_address, ".m .s");
+ //SY(__NR_set_tid_address);
+
// __NR_timer_create 259
+ //GO(__NR_timer_create, ".m .s");
+ //SY(__NR_timer_create);
+
// __NR_timer_settime (__NR_timer_create+1)
+ //GO(__NR_timer_settime, ".m .s");
+ //SY(__NR_timer_settime);
+
// __NR_timer_gettime (__NR_timer_create+2)
+ //GO(__NR_timer_gettime, ".m .s");
+ //SY(__NR_timer_gettime);
+
// __NR_timer_getoverrun (__NR_timer_create+3)
+ //GO(__NR_timer_getoverrun, ".m .s");
+ //SY(__NR_timer_getoverrun);
+
// __NR_timer_delete (__NR_timer_create+4)
+ //GO(__NR_timer_delete, ".m .s");
+ //SY(__NR_timer_delete);
+
// __NR_clock_settime (__NR_timer_create+5)
+ //GO(__NR_clock_settime, ".m .s");
+ //SY(__NR_clock_settime);
+
// __NR_clock_gettime (__NR_timer_create+6)
+ //GO(__NR_clock_gettime, ".m .s");
+ //SY(__NR_clock_gettime);
+
// __NR_clock_getres (__NR_timer_create+7)
+ //GO(__NR_clock_getres, ".m .s");
+ //SY(__NR_clock_getres);
+
// __NR_clock_nanosleep (__NR_timer_create+8)
+ //GO(__NR_clock_nanosleep, ".m .s");
+ //SY(__NR_clock_nanosleep);
+
// __NR_statfs64 268
+ //GO(__NR_statfs64, ".m .s");
+ //SY(__NR_statfs64);
+
// __NR_fstatfs64 269
+ //GO(__NR_fstatfs64, ".m .s");
+ //SY(__NR_fstatfs64);
+
// __NR_tgkill 270
+ //GO(__NR_tgkill, ".m .s");
+ //SY(__NR_tgkill);
+
// __NR_utimes 271
+ //GO(__NR_utimes, ".m .s");
+ //SY(__NR_utimes);
+
// __NR_fadvise64_64 272
+ //GO(__NR_fadvise64_64, ".m .s");
+ //SY(__NR_fadvise64_64);
// __NR_vserver 273 --> sys_ni_syscall()
@@ -596,12 +1089,38 @@ int main(void)
// __NR_mbind 274
+ //GO(__NR_mbind, ".m .s");
+ //SY(__NR_mbind);
+
// __NR_get_mempolicy 275
+ //GO(__NR_get_mempolicy, ".m .s");
+ //SY(__NR_get_mempolicy);
+
// __NR_set_mempolicy 276
+ //GO(__NR_set_mempolicy, ".m .s");
+ //SY(__NR_set_mempolicy);
+
// __NR_mq_open 277
+ //GO(__NR_mq_open, ".m .s");
+ //SY(__NR_mq_open);
+
// __NR_mq_unlink (__NR_mq_open+1)
+ //GO(__NR_mq_unlink, ".m .s");
+ //SY(__NR_mq_unlink);
+
// __NR_mq_timedsend (__NR_mq_open+2)
+ //GO(__NR_mq_timedsend, ".m .s");
+ //SY(__NR_mq_timedsend);
+
// __NR_mq_timedreceive (__NR_mq_open+3)
+ //GO(__NR_mq_timedreceive, ".m .s");
+ //SY(__NR_mq_timedreceive);
+
// __NR_mq_notify (__NR_mq_open+4)
+ //GO(__NR_mq_notify, ".m .s");
+ //SY(__NR_mq_notify);
+
// __NR_mq_getsetattr (__NR_mq_open+5)
+ //GO(__NR_mq_getsetattr, ".m .s");
+ //SY(__NR_mq_getsetattr);
// __NR_sys_kexec_load 283 --> sys_ni_syscall()
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-14 15:55:10
|
CVS commit by nethercote:
Add missing params. Tom's nightly tests should work now.
M +5 -5 scalar.c 1.24
--- valgrind/memcheck/tests/scalar.c #1.23:1.24
@@ -39,5 +39,5 @@ int main(void)
// __NR_waitpid 7 --> sys_waitpid()
GO(__NR_waitpid, "3s 1m");
- SY(__NR_waitpid, x0-1);
+ SY(__NR_waitpid, x0, x0+1, x0);
// __NR_creat 8 --> sys_creat()
@@ -193,5 +193,5 @@ int main(void)
// __NR_setgid 46 --> sys_setgid16()
GO(__NR_setgid, "1s 0m");
- SY(__NR_setgid);
+ SY(__NR_setgid, x0);
// __NR_getgid 47 --> sys_getgid16()
@@ -552,9 +552,9 @@ int main(void)
// __NR_setfsuid 138
GO(__NR_setfsuid, "1s 0m");
- SY(__NR_setfsuid);
+ SY(__NR_setfsuid, x0);
// __NR_setfsgid 139
GO(__NR_setfsgid, "1s 0m");
- SY(__NR_setfsgid);
+ SY(__NR_setfsgid, x0);
// __NR__llseek 140
@@ -856,5 +856,5 @@ int main(void)
// __NR_setgid32 214
GO(__NR_setgid32, "1s 0m");
- SY(__NR_setgid32);
+ SY(__NR_setgid32, x0);
// __NR_setfsuid32 215 --> sys_setfsuid()
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-14 15:56:43
|
CVS commit by nethercote:
Add gettimeofday() to test.
M +2 -3 scalar.c 1.25
M +25 -0 scalar.stderr.exp 1.20
--- valgrind/memcheck/tests/scalar.c #1.24:1.25
@@ -316,7 +316,6 @@ int main(void)
// __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()
--- valgrind/memcheck/tests/scalar.stderr.exp #1.19:1.20
@@ -848,4 +848,29 @@
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
-----------------------------------------------------
|
|
From: Nicholas N. <nj...@ca...> - 2004-11-14 18:11:59
|
CVS commit by nethercote:
Undo splitting of scalar from the last commit, which was stupid; just use
--error-limit=no instead.
M +0 -5 .cvsignore 1.27
M +2 -12 Makefile.am 1.60
M +932 -0 scalar.c 1.28
M +1564 -0 scalar.stderr.exp 1.23
M +1 -1 scalar.vgtest 1.4
--- valgrind/memcheck/tests/.cvsignore #1.26:1.27
@@ -50,9 +50,4 @@
realloc3
scalar
-scalar2
-scalar3
-scalar4
-scalar5
-scalar6
scalar_fork
scalar_supp
--- valgrind/memcheck/tests/Makefile.am #1.59:1.60
@@ -55,9 +55,4 @@
realloc3.stderr.exp realloc3.vgtest \
scalar.stderr.exp scalar.vgtest \
- scalar2.stderr.exp scalar2.vgtest \
- scalar3.stderr.exp scalar3.vgtest \
- scalar4.stderr.exp scalar4.vgtest \
- scalar5.stderr.exp scalar5.vgtest \
- scalar6.stderr.exp scalar6.vgtest \
scalar_fork.stderr.exp scalar_fork.vgtest \
scalar_supp.stderr.exp scalar_supp.vgtest scalar_supp.supp \
@@ -92,6 +87,6 @@
null_socket overlap \
realloc1 realloc2 realloc3 \
- scalar scalar2 scalar3 scalar4 scalar5 scalar6 \
- scalar_fork scalar_supp scalar_vfork sigaltstack signal2 \
+ scalar scalar_fork scalar_supp scalar_vfork \
+ sigaltstack signal2 \
str_tester supp1 supp2 suppfree \
trivialleak weirdioctl \
@@ -146,9 +141,4 @@
realloc3_SOURCES = realloc3.c
scalar_SOURCES = scalar.c
-scalar2_SOURCES = scalar2.c
-scalar3_SOURCES = scalar3.c
-scalar4_SOURCES = scalar4.c
-scalar5_SOURCES = scalar5.c
-scalar6_SOURCES = scalar6.c
scalar_fork_SOURCES = scalar_fork.c
scalar_supp_SOURCES = scalar_supp.c
--- valgrind/memcheck/tests/scalar.c #1.27:1.28
@@ -208,4 +208,936 @@ int main(void)
SY(__NR_geteuid);
+ // __NR_getegid 50 --> sys_getegid16()
+ GO(__NR_getegid, "0e");
+ SY(__NR_getegid);
+
+ // __NR_acct 51 --> sys_acct()
+ GO(__NR_acct, "1s 1m");
+ SY(__NR_acct, x0);
+
+ // __NR_umount2 52 --> sys_umount()
+ GO(__NR_umount2, "2s 1m");
+ SY(__NR_umount2, x0, x0);
+
+ // __NR_lock 53 --> sys_ni_syscall()
+ GO(__NR_lock, "0e");
+ SY(__NR_lock);
+
+ // __NR_ioctl 54 --> sys_ioctl()
+ #include <asm/ioctls.h>
+ GO(__NR_ioctl, "3s 1m");
+ SY(__NR_ioctl, x0, x0+TCSETS, x0);
+
+ // __NR_fcntl 55 --> sys_fcntl()
+ GO(__NR_fcntl, "3s 0m");
+ SY(__NR_fcntl, x0, x0, x0);
+
+ // __NR_mpx 56 --> sys_ni_syscall()
+ GO(__NR_mpx, "0e");
+ SY(__NR_mpx);
+
+ // __NR_setpgid 57
+ GO(__NR_setpgid, "2s 0m");
+ SY(__NR_setpgid, x0, x0);
+
+ // __NR_ulimit 58 --> sys_ni_syscall()
+ GO(__NR_ulimit, "0e");
+ SY(__NR_ulimit);
+
+ // __NR_oldolduname 59
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_umask 60
+ GO(__NR_umask, "1s 0m");
+ SY(__NR_umask, x0);
+
+ // __NR_chroot 61
+ GO(__NR_chroot, "1s 1m");
+ SY(__NR_chroot, x0);
+
+ // __NR_ustat 62
+ // (deprecated, not handled by Valgrind)
+
+ // __NR_dup2 63
+ GO(__NR_dup2, "2s 0m");
+ SY(__NR_dup2, x0, x0);
+
+ // __NR_getppid 64 --> sys_getppid()
+ GO(__NR_getppid, "0e");
+ SY(__NR_getppid);
+
+ // __NR_getpgrp 65 --> sys_getpgrp()
+ GO(__NR_getpgrp, "0e");
+ SY(__NR_getpgrp);
+
+ // __NR_setsid 66 --> sys_setsid()
+ GO(__NR_setsid, "0e");
+ SY(__NR_setsid);
+
+ // __NR_sigaction 67 --> sys_sigaction()
+ GO(__NR_sigaction, "3s 2m");
+ SY(__NR_sigaction, x0, x0+1, x0+1);
+
+ // __NR_sgetmask 68
+ // (Not yet handled by Valgrind)
+
+ // __NR_ssetmask 69
+ // (Not yet handled by Valgrind)
+
+ // __NR_setreuid 70 --> sys_setreuid16()
+ GO(__NR_setreuid, "2s 0m");
+ SY(__NR_setreuid, x0, x0);
+
+ // __NR_setregid 71 --> sys_setregid16()
+ GO(__NR_setregid, "2s 0m");
+ SY(__NR_setregid, x0, x0);
+
+ // __NR_sigsuspend 72 --> sys_sigsuspend()
+ // XXX: how do you use this function?
+// GO(__NR_sigsuspend, ".s .m");
+// SY(__NR_sigsuspend);
+
+ // __NR_sigpending 73 --> sys_sigpending()
+ GO(__NR_sigpending, "1s 1m");
+ SY(__NR_sigpending, x0);
+
+ // __NR_sethostname 74
+ // (Not yet handled by Valgrind)
+
+ // __NR_setrlimit 75 --> sys_setrlimit()
+ GO(__NR_setrlimit, "2s 1m");
+ SY(__NR_setrlimit, x0, x0);
+
+ // __NR_getrlimit 76
+ GO(__NR_getrlimit, "2s 1m");
+ SY(__NR_getrlimit, x0, x0);
+
+ // __NR_getrusage 77
+ GO(__NR_getrusage, "2s 1m");
+ SY(__NR_getrusage, x0, x0);
+
+ // __NR_gettimeofday 78 --> sys_gettimeofday()
+ GO(__NR_gettimeofday, "2s 2m");
+ SY(__NR_gettimeofday, x0, x0+1);
+
+ // __NR_settimeofday 79 --> sys_settimeofday()
+ GO(__NR_settimeofday, "2s 2m");
+ SY(__NR_settimeofday, x0, x0+1);
+
+ // __NR_getgroups 80 --> sys_getgroups16()
+ GO(__NR_getgroups, "2s 1m");
+ SY(__NR_getgroups, x0+1, x0+1);
+
+ // __NR_setgroups 81 --> sys_setgroups16()
+ GO(__NR_setgroups, "2s 1m");
+ SY(__NR_setgroups, x0+1, x0+1);
+
+ // __NR_select 82 --> old_select()
+ {
+ long args[5] = { x0+8, x0+0xffffffee, x0+1, x0+1, x0+1 };
+ GO(__NR_select, "1s 4m");
+ SY(__NR_select, args+x0);
+ }
+
+ // __NR_symlink 83
+ //GO(__NR_symlink, ".s .m");
+ //SY(__NR_symlink);
+
+ // __NR_oldlstat 84
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_readlink 85
+ //GO(__NR_readlink, ".s .m");
+ //SY(__NR_readlink);
+
+ // __NR_uselib 86
+ // (Not yet handled by Valgrind)
+
+ // __NR_swapon 87
+ // (Not yet handled by Valgrind)
+
+ // __NR_reboot 88
+ // (Not yet handled by Valgrind)
+
+ // __NR_readdir 89
+ // (superseded, not handled by Valgrind)
+
+ // __NR_mmap 90
+ //GO(__NR_mmap, ".s .m");
+ //SY(__NR_mmap);
+
+ // __NR_munmap 91
+ //GO(__NR_munmap, ".s .m");
+ //SY(__NR_munmap);
+
+ // __NR_truncate 92
+ //GO(__NR_truncate, ".s .m");
+ //SY(__NR_truncate);
+
+ // __NR_ftruncate 93
+ //GO(__NR_ftruncate, ".s .m");
+ //SY(__NR_ftruncate);
+
+ // __NR_fchmod 94
+ //GO(__NR_fchmod, ".s .m");
+ //SY(__NR_fchmod);
+
+ // __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_setpriority 97
+ //GO(__NR_setpriority, ".s .m");
+ //SY(__NR_setpriority);
+
+ // __NR_profil 98
+ //GO(__NR_profil, ".s .m");
+ //SY(__NR_profil);
+
+ // __NR_statfs 99
+ //GO(__NR_statfs, ".s .m");
+ //SY(__NR_statfs);
+
+ // __NR_fstatfs 100
+ //GO(__NR_fstatfs, ".s .m");
+ //SY(__NR_fstatfs);
+
+ // __NR_ioperm 101
+ //GO(__NR_ioperm, ".s .m");
+ //SY(__NR_ioperm);
+
+ // __NR_socketcall 102
+ //GO(__NR_socketcall, ".s .m");
+ //SY(__NR_socketcall);
+
+ // __NR_syslog 103
+ //GO(__NR_syslog, ".s .m");
+ //SY(__NR_syslog);
+
+ // __NR_setitimer 104
+ //GO(__NR_setitimer, ".s .m");
+ //SY(__NR_setitimer);
+
+ // __NR_getitimer 105
+ //GO(__NR_getitimer, ".s .m");
+ //SY(__NR_getitimer);
+
+ // __NR_stat 106 --> sys_newstat()
+ GO(__NR_stat, "2s 2m");
+ SY(__NR_stat, x0, x0);
+
+ // __NR_lstat 107 --> sys_newlstat()
+ GO(__NR_lstat, "2s 2m");
+ SY(__NR_lstat, x0, x0);
+
+ // __NR_fstat 108 --> sys_newfstat()
+ GO(__NR_fstat, "2s 1m");
+ SY(__NR_fstat, x0, x0);
+
+ // __NR_olduname 109
+ // (obsolete, not handled by Valgrind)
+
+ // __NR_iopl 110
+ //GO(__NR_iopl, ".s .m");
+ //SY(__NR_iopl);
+
+ // __NR_vhangup 111 --> sys_vhangup()
+ GO(__NR_vhangup, "0e");
+ SY(__NR_vhangup);
+
+ // __NR_idle 112 --> sys_ni_syscall()
+ GO(__NR_idle, "0e");
+ SY(__NR_idle);
+
+ // __NR_vm86old 113
+ //GO(__NR_vm86old, ".s .m");
+ //SY(__NR_vm86old);
+
+ // __NR_wait4 114
+ //GO(__NR_wait4, ".s .m");
+ //SY(__NR_wait4);
+
+ // __NR_swapoff 115
+ //GO(__NR_swapoff, ".s .m");
+ //SY(__NR_swapoff);
+
+ // __NR_sysinfo 116
+ //GO(__NR_sysinfo, ".s .m");
+ //SY(__NR_sysinfo);
+
+ // __NR_ipc 117
+ //GO(__NR_ipc, ".s .m");
+ //SY(__NR_ipc);
+
+ // __NR_fsync 118
+ //GO(__NR_fsync, ".s .m");
+ //SY(__NR_fsync);
+
+ // __NR_sigreturn 119
+ //GO(__NR_sigreturn, ".s .m");
+ //SY(__NR_sigreturn);
+
+ // __NR_clone 120
+ //GO(__NR_clone, ".s .m");
+ //SY(__NR_clone);
+
+ // __NR_setdomainname 121
+ //GO(__NR_setdomainname, ".s .m");
+ //SY(__NR_setdomainname);
+
+ // __NR_uname 122
+ GO(__NR_uname, "1s 1m");
+ SY(__NR_uname, x0);
+
+ // __NR_modify_ldt 123
+ //GO(__NR_modify_ldt, ".s .m");
+ //SY(__NR_modify_ldt);
+
+ // __NR_adjtimex 124
+ //GO(__NR_adjtimex, ".s .m");
+ //SY(__NR_adjtimex);
+
+ // __NR_mprotect 125
+ //GO(__NR_mprotect, ".s .m");
+ //SY(__NR_mprotect);
+
+ // __NR_sigprocmask 126
+ //GO(__NR_sigprocmask, ".s .m");
+ //SY(__NR_sigprocmask);
+
+ // __NR_create_module 127 --> sys_ni_syscall()
+ GO(__NR_create_module, "0e");
+ SY(__NR_create_module);
+
+ // __NR_init_module 128
+ //GO(__NR_init_module, ".s .m");
+ //SY(__NR_init_module);
+
+ // __NR_delete_module 129
+ //GO(__NR_delete_module, ".s .m");
+ //SY(__NR_delete_module);
+
+ // __NR_get_kernel_syms 130 --> sys_ni_syscall()
+ GO(__NR_get_kernel_syms, "0e");
+ SY(__NR_get_kernel_syms);
+
+ // __NR_quotactl 131
+ //GO(__NR_quotactl, ".s .m");
+ //SY(__NR_quotactl);
+
+ // __NR_getpgid 132
+ //GO(__NR_getpgid, ".s .m");
+ //SY(__NR_getpgid);
+
+ // __NR_fchdir 133
+ //GO(__NR_fchdir, ".s .m");
+ //SY(__NR_fchdir);
+
+ // __NR_bdflush 134
+ //GO(__NR_bdflush, ".s .m");
+ //SY(__NR_bdflush);
+
+ // __NR_sysfs 135
+ //GO(__NR_sysfs, ".s .m");
+ //SY(__NR_sysfs);
+
+ // __NR_personality 136
+ //GO(__NR_personality, ".s .m");
+ //SY(__NR_personality);
+
+ // __NR_afs_syscall 137 --> sys_ni_syscall()
+ GO(__NR_afs_syscall, "0e");
+ SY(__NR_afs_syscall);
+
+ // __NR_setfsuid 138
+ GO(__NR_setfsuid, "1s 0m");
+ SY(__NR_setfsuid, x0);
+
+ // __NR_setfsgid 139
+ GO(__NR_setfsgid, "1s 0m");
+ SY(__NR_setfsgid, x0);
+
+ // __NR__llseek 140
+ //GO(__NR__llseek, ".s .m");
+ //SY(__NR__llseek);
+
+ // __NR_getdents 141
+ //GO(__NR_getdents, ".s .m");
+ //SY(__NR_getdents);
+
+ // __NR__newselect 142 --> sys_select()
+ GO(__NR__newselect, "5s 4m");
+ SY(__NR__newselect, x0+8, x0+0xffffffff, x0+1, x0+1, x0+1);
+
+ // __NR_flock 143
+ //GO(__NR_flock, ".s .m");
+ //SY(__NR_flock);
+
+ // __NR_msync 144
+ //GO(__NR_msync, ".s .m");
+ //SY(__NR_msync);
+
+ // __NR_readv 145
+ //GO(__NR_readv, ".s .m");
+ //SY(__NR_readv);
+
+ // __NR_writev 146
+ //GO(__NR_writev, ".s .m");
+ //SY(__NR_writev);
+
+ // __NR_getsid 147
+ //GO(__NR_getsid, ".s .m");
+ //SY(__NR_getsid);
+
+ // __NR_fdatasync 148
+ //GO(__NR_fdatasync, ".s .m");
+ //SY(__NR_fdatasync);
+
+ // __NR__sysctl 149
+ //GO(__NR__sysctl, ".s .m");
+ //SY(__NR__sysctl);
+
+ // __NR_mlock 150
+ //GO(__NR_mlock, ".s .m");
+ //SY(__NR_mlock);
+
+ // __NR_munlock 151
+ //GO(__NR_munlock, ".s .m");
+ //SY(__NR_munlock);
+
+ // __NR_mlockall 152
+ //GO(__NR_mlockall, ".s .m");
+ //SY(__NR_mlockall);
+
+ // __NR_munlockall 153 --> sys_munlockall()
+ GO(__NR_munlockall, "0e");
+ SY(__NR_munlockall);
+
+ // __NR_sched_setparam 154
+ //GO(__NR_sched_setparam, ".s .m");
+ //SY(__NR_sched_setparam);
+
+ // __NR_sched_getparam 155
+ //GO(__NR_sched_getparam, ".s .m");
+ //SY(__NR_sched_getparam);
+
+ // __NR_sched_setscheduler 156
+ //GO(__NR_sched_setscheduler, ".s .m");
+ //SY(__NR_sched_setscheduler);
+
+ // __NR_sched_getscheduler 157
+ //GO(__NR_sched_getscheduler, ".s .m");
+ //SY(__NR_sched_getscheduler);
+
+ // __NR_sched_yield 158
+ //GO(__NR_sched_yield, ".s .m");
+ //SY(__NR_sched_yield);
+
+ // __NR_sched_get_priority_max 159
+ //GO(__NR_sched_get_priority_max, ".s .m");
+ //SY(__NR_sched_get_priority_max);
+
+ // __NR_sched_get_priority_min 160
+ //GO(__NR_sched_get_priority_min, ".s .m");
+ //SY(__NR_sched_get_priority_min);
+
+ // __NR_sched_rr_get_interval 161
+ //GO(__NR_sched_rr_get_interval, ".s .m");
+ //SY(__NR_sched_rr_get_interval);
+
+ // __NR_nanosleep 162
+ //GO(__NR_nanosleep, ".s .m");
+ //SY(__NR_nanosleep);
+
+ // __NR_mremap 163
+ //GO(__NR_mremap, ".s .m");
+ //SY(__NR_mremap);
+
+ // __NR_setresuid 164 --> sys_setresuid16()
+ GO(__NR_setresuid, "3s 0m");
+ SY(__NR_setresuid, x0, x0, x0);
+
+ // __NR_getresuid 165 --> sys_getresuid16()
+ GO(__NR_getresuid, "3s 3m");
+ SY(__NR_getresuid, x0, x0, x0);
+
+ // __NR_vm86 166
+ //GO(__NR_vm86, ".s .m");
+ //SY(__NR_vm86);
+
+ // __NR_query_module 167 --> sys_ni_syscall()
+ GO(__NR_query_module, "0e");
+ SY(__NR_query_module);
+
+ // __NR_poll 168
+ //GO(__NR_poll, ".s .m");
+ //SY(__NR_poll);
+
+ // __NR_nfsservctl 169
+ //GO(__NR_nfsservctl, ".s .m");
+ //SY(__NR_nfsservctl);
+
+ // __NR_setresgid 170 --> sys_setresgid16()
+ GO(__NR_setresgid, "3s 0m");
+ SY(__NR_setresgid, x0, x0, x0);
+
+ // __NR_getresgid 171 --> sys_getresgid16()
+ GO(__NR_getresgid, "3s 3m");
+ SY(__NR_getresgid, x0, x0, x0);
+
+ // __NR_prctl 172
+ //GO(__NR_prctl, ".s .m");
+ //SY(__NR_prctl);
+
+ // __NR_rt_sigreturn 173
+ //GO(__NR_rt_sigreturn, ".s .m");
+ //SY(__NR_rt_sigreturn);
+
+ // __NR_rt_sigaction 174 --> sys_rt_sigaction()
+ GO(__NR_rt_sigaction, "4s 2m");
+ SY(__NR_rt_sigaction, x0, x0+1, x0+1, x0);
+
+ // __NR_rt_sigprocmask 175
+ //GO(__NR_rt_sigprocmask, ".s .m");
+ //SY(__NR_rt_sigprocmask);
+
+ // __NR_rt_sigpending 176
+ //GO(__NR_rt_sigpending, ".s .m");
+ //SY(__NR_rt_sigpending);
+
+ // __NR_rt_sigtimedwait 177
+ //GO(__NR_rt_sigtimedwait, ".s .m");
+ //SY(__NR_rt_sigtimedwait);
+
+ // __NR_rt_sigqueueinfo 178
+ //GO(__NR_rt_sigqueueinfo, ".s .m");
+ //SY(__NR_rt_sigqueueinfo);
+
+ // __NR_rt_sigsuspend 179
+ //GO(__NR_rt_sigsuspend, ".s .m");
+ //SY(__NR_rt_sigsuspend);
+
+ // __NR_pread64 180
+ //GO(__NR_pread64, ".s .m");
+ //SY(__NR_pread64);
+
+ // __NR_pwrite64 181
+ //GO(__NR_pwrite64, ".s .m");
+ //SY(__NR_pwrite64);
+
+ // __NR_chown 182 --> sys_chown16()
+ GO(__NR_chown, "3s 1m");
+ SY(__NR_chown, x0, x0, x0);
+
+ // __NR_getcwd 183
+ //GO(__NR_getcwd, ".s .m");
+ //SY(__NR_getcwd);
+
+ // __NR_capget 184
+ //GO(__NR_capget, ".s .m");
+ //SY(__NR_capget);
+
+ // __NR_capset 185
+ //GO(__NR_capset, ".s .m");
+ //SY(__NR_capset);
+
+ // __NR_sigaltstack 186
+ //GO(__NR_sigaltstack, ".s .m");
+ //SY(__NR_sigaltstack);
+
+ // __NR_sendfile 187
+ //GO(__NR_sendfile, ".s .m");
+ //SY(__NR_sendfile);
+
+ // __NR_getpmsg 188
+ //GO(__NR_getpmsg, ".s .m");
+ //SY(__NR_getpmsg);
+
+ // __NR_putpmsg 189
+ //GO(__NR_putpmsg, ".s .m");
+ //SY(__NR_putpmsg);
+
+ // __NR_vfork 190
+ //GO(__NR_vfork, ".s .m");
+ //SY(__NR_vfork);
+
+ // __NR_ugetrlimit 191
+ GO(__NR_ugetrlimit, "2s 1m");
+ SY(__NR_ugetrlimit, x0, x0);
+
+ // __NR_mmap2 192
+ //GO(__NR_mmap2, ".s .m");
+ //SY(__NR_mmap2);
+
+ // __NR_truncate64 193
+ //GO(__NR_truncate64, ".s .m");
+ //SY(__NR_truncate64);
+
+ // __NR_ftruncate64 194
+ //GO(__NR_ftruncate64, ".s .m");
+ //SY(__NR_ftruncate64);
+
+ // __NR_stat64 195
+ GO(__NR_stat64, "2s 2m");
+ SY(__NR_stat64, x0, x0);
+
+ // __NR_lstat64 196
+ GO(__NR_lstat64, "2s 2m");
+ SY(__NR_lstat64, x0, x0);
+
+ // __NR_fstat64 197
+ GO(__NR_fstat64, "2s 1m");
+ SY(__NR_fstat64, x0, x0);
+
+ // __NR_lchown32 198 --> sys_chown()
+ GO(__NR_lchown32, "3s 1m");
+ SY(__NR_lchown32, x0, x0, x0);
+
+ // __NR_getuid32 199 --> sys_getuid()
+ GO(__NR_getuid32, "0e");
+ SY(__NR_getuid32);
+
+ // __NR_getgid32 200 --> sys_getgid()
+ GO(__NR_getgid32, "0e");
+ SY(__NR_getgid32);
+
+ // __NR_geteuid32 201 --> sys_geteuid()
+ GO(__NR_geteuid32, "0e");
+ SY(__NR_geteuid32);
+
+ // __NR_getegid32 202 --> sys_getegid()
+ GO(__NR_getegid32, "0e");
+ SY(__NR_getegid32);
+
+ // __NR_setreuid32 203
+ GO(__NR_setreuid32, "2s 0m");
+ SY(__NR_setreuid32, x0, x0);
+
+ // __NR_setregid32 204
+ GO(__NR_setregid32, "2s 0m");
+ SY(__NR_setregid32, x0, x0);
+
+ // __NR_getgroups32 205 --> sys_getgroups()
+ GO(__NR_getgroups32, "2s 1m");
+ SY(__NR_getgroups32, x0+1, x0+1);
+
+ // __NR_setgroups32 206 --> sys_setgroups()
+ GO(__NR_setgroups32, "2s 1m");
+ SY(__NR_setgroups32, x0+1, x0+1);
+
+ // __NR_fchown32 207 --> sys_fchown()
+ GO(__NR_fchown32, "3s 0m");
+ SY(__NR_fchown32, x0, x0, x0);
+
+ // __NR_setresuid32 208 --> sys_setresuid()
+ GO(__NR_setresuid32, "3s 0m");
+ SY(__NR_setresuid32, x0, x0, x0);
+
+ // __NR_getresuid32 209 --> sys_getresuid()
+ GO(__NR_getresuid32, "3s 3m");
+ SY(__NR_getresuid32, x0, x0, x0);
+
+ // __NR_setresgid32 210 --> sys_setresgid()
+ GO(__NR_setresgid32, "3s 0m");
+ SY(__NR_setresgid32, x0, x0, x0);
+
+ // __NR_getresgid32 211 --> sys_getresgid()
+ GO(__NR_getresgid32, "3s 3m");
+ SY(__NR_getresgid32, x0, x0, x0);
+
+ // __NR_chown32 212 --> sys_chown()
+ GO(__NR_chown32, "3s 1m");
+ SY(__NR_chown32, x0, x0, x0);
+
+ // __NR_setuid32 213 --> sys_setuid()
+ GO(__NR_setuid32, "1s 0m");
+ SY(__NR_setuid32, x0);
+
+ // __NR_setgid32 214
+ GO(__NR_setgid32, "1s 0m");
+ SY(__NR_setgid32, x0);
+
+ // __NR_setfsuid32 215 --> sys_setfsuid()
+ GO(__NR_setfsuid32, "1s 0m");
+ SY(__NR_setfsuid32, x0);
+
+ // __NR_setfsgid32 216 --> sys_setfsgid()
+ GO(__NR_setfsgid32, "1s 0m");
+ SY(__NR_setfsgid32, x0);
+
+ // __NR_pivot_root 217
+ //GO(__NR_pivot_root, ".s .m");
+ //SY(__NR_pivot_root);
+
+ // __NR_mincore 218
+ //GO(__NR_mincore, ".s .m");
+ //SY(__NR_mincore);
+
+ // __NR_madvise 219
+ //GO(__NR_madvise, ".s .m");
+ //SY(__NR_madvise);
+
+ // __NR_getdents64 220
+ //GO(__NR_getdents64, ".s .m");
+ //SY(__NR_getdents64);
+
+ // __NR_fcntl64 221
+ //GO(__NR_fcntl64, ".s .m");
+ //SY(__NR_fcntl64);
+
+ // 222 --> sys_ni_syscall()
+ GO(222, "0e");
+ SY(222);
+
+ // 223 --> sys_ni_syscall()
+ GO(223, "0e");
+ SY(223);
+
+ // __NR_gettid 224
+ //GO(__NR_gettid, ".s .m");
+ //SY(__NR_gettid);
+
+ // __NR_readahead 225
+ //GO(__NR_readahead, ".s .m");
+ //SY(__NR_readahead);
+
+ // __NR_setxattr 226 --> sys_xattr()
+ GO(__NR_setxattr, "5s 3m");
+ SY(__NR_setxattr, x0, x0, x0, x0+1, x0);
+
+ // __NR_lsetxattr 227 --> sys_lsetxattr()
+ GO(__NR_lsetxattr, "5s 3m");
+ SY(__NR_lsetxattr, x0, x0, x0, x0+1, x0);
+
+ // __NR_fsetxattr 228 --> sys_fsetxattr()
+ GO(__NR_fsetxattr, "5s 2m");
+ SY(__NR_fsetxattr, x0, x0, x0, x0+1, x0);
+
+ // __NR_getxattr 229 --> sys_getxattr()
+ GO(__NR_getxattr, "4s 3m");
+ SY(__NR_getxattr, x0, x0, x0, x0+1);
+
+ // __NR_lgetxattr 230 --> sys_lgetxattr()
+ GO(__NR_lgetxattr, "4s 3m");
+ SY(__NR_lgetxattr, x0, x0, x0, x0+1);
+
+ // __NR_fgetxattr 231 --> sys_fgetxattr()
+ GO(__NR_fgetxattr, "4s 2m");
+ SY(__NR_fgetxattr, x0, x0, x0, x0+1);
+
+ // __NR_listxattr 232 --> sys_listxattr()
+ GO(__NR_listxattr, "3s 2m");
+ SY(__NR_listxattr, x0, x0, x0+1);
+
+ // __NR_llistxattr 233 --> sys_llistxattr()
+ GO(__NR_llistxattr, "3s 2m");
+ SY(__NR_llistxattr, x0, x0, x0+1);
+
+ // __NR_flistxattr 234 --> sys_flistxattr()
+ GO(__NR_flistxattr, "3s 1m");
+ SY(__NR_flistxattr, x0, x0, x0+1);
+
+ // __NR_removexattr 235 --> sys_removexattr()
+ GO(__NR_removexattr, "2s 2m");
+ SY(__NR_removexattr, x0, x0);
+
+ // __NR_lremovexattr 236 --> sys_lremovexattr()
+ GO(__NR_lremovexattr, "2s 2m");
+ SY(__NR_lremovexattr, x0, x0);
+
+ // __NR_fremovexattr 237 --> sys_fremovexattr()
+ GO(__NR_fremovexattr, "2s 1m");
+ SY(__NR_fremovexattr, x0, x0);
+
+ // __NR_tkill 238
+ //GO(__NR_tkill, ".s .m");
+ //SY(__NR_tkill);
+
+ // __NR_sendfile64 239
+ //GO(__NR_sendfile64, ".s .m");
+ //SY(__NR_sendfile64);
+
+ // __NR_futex 240
+ //GO(__NR_futex, ".s .m");
+ //SY(__NR_futex);
+
+ // __NR_sched_setaffinity 241
+ //GO(__NR_sched_setaffinity, ".s .m");
+ //SY(__NR_sched_setaffinity);
+
+ // __NR_sched_getaffinity 242
+ //GO(__NR_sched_getaffinity, ".s .m");
+ //SY(__NR_sched_getaffinity);
+
+ // __NR_set_thread_area 243
+ //GO(__NR_set_thread_area, ".s .m");
+ //SY(__NR_set_thread_area);
+
+ // __NR_get_thread_area 244
+ //GO(__NR_get_thread_area, ".s .m");
+ //SY(__NR_get_thread_area);
+
+ // __NR_io_setup 245
+ //GO(__NR_io_setup, ".s .m");
+ //SY(__NR_io_setup);
+
+ // __NR_io_destroy 246
+ //GO(__NR_io_destroy, ".s .m");
+ //SY(__NR_io_destroy);
+
+ // __NR_io_getevents 247
+ //GO(__NR_io_getevents, ".s .m");
+ //SY(__NR_io_getevents);
+
+ // __NR_io_submit 248
+ //GO(__NR_io_submit, ".s .m");
+ //SY(__NR_io_submit);
+
+ // __NR_io_cancel 249
+ //GO(__NR_io_cancel, ".s .m");
+ //SY(__NR_io_cancel);
+
+ // __NR_fadvise64 250
+ //GO(__NR_fadvise64, ".s .m");
+ //SY(__NR_fadvise64);
+
+ // 251 --> sys_ni_syscall()
+ GO(251, "0e");
+ SY(251);
+
+ // __NR_exit_group 252
+ // See below
+
+ // __NR_lookup_dcookie 253 --> sys_lookup_dcookie()
+ GO(__NR_lookup_dcookie, "4s 1m");
+ SY(__NR_lookup_dcookie, x0, x0, x0, x0+1);
+
+ // __NR_epoll_create 254
+ //GO(__NR_epoll_create, ".s .m");
+ //SY(__NR_epoll_create);
+
+ // __NR_epoll_ctl 255
+ //GO(__NR_epoll_ctl, ".s .m");
+ //SY(__NR_epoll_ctl);
+
+ // __NR_epoll_wait 256
+ //GO(__NR_epoll_wait, ".s .m");
+ //SY(__NR_epoll_wait);
+
+ // __NR_remap_file_pages 257
+ //GO(__NR_remap_file_pages, ".s .m");
+ //SY(__NR_remap_file_pages);
+
+ // __NR_set_tid_address 258
+ //GO(__NR_set_tid_address, ".s .m");
+ //SY(__NR_set_tid_address);
+
+ // __NR_timer_create 259
+ //GO(__NR_timer_create, ".s .m");
+ //SY(__NR_timer_create);
+
+ // __NR_timer_settime (__NR_timer_create+1)
+ //GO(__NR_timer_settime, ".s .m");
+ //SY(__NR_timer_settime);
+
+ // __NR_timer_gettime (__NR_timer_create+2)
+ //GO(__NR_timer_gettime, ".s .m");
+ //SY(__NR_timer_gettime);
+
+ // __NR_timer_getoverrun (__NR_timer_create+3)
+ //GO(__NR_timer_getoverrun, ".s .m");
+ //SY(__NR_timer_getoverrun);
+
+ // __NR_timer_delete (__NR_timer_create+4)
+ //GO(__NR_timer_delete, ".s .m");
+ //SY(__NR_timer_delete);
+
+ // __NR_clock_settime (__NR_timer_create+5)
+ //GO(__NR_clock_settime, ".s .m");
+ //SY(__NR_clock_settime);
+
+ // __NR_clock_gettime (__NR_timer_create+6)
+ //GO(__NR_clock_gettime, ".s .m");
+ //SY(__NR_clock_gettime);
+
+ // __NR_clock_getres (__NR_timer_create+7)
+ //GO(__NR_clock_getres, ".s .m");
+ //SY(__NR_clock_getres);
+
+ // __NR_clock_nanosleep (__NR_timer_create+8)
+ //GO(__NR_clock_nanosleep, ".s .m");
+ //SY(__NR_clock_nanosleep);
+
+ // __NR_statfs64 268
+ //GO(__NR_statfs64, ".s .m");
+ //SY(__NR_statfs64);
+
+ // __NR_fstatfs64 269
+ //GO(__NR_fstatfs64, ".s .m");
+ //SY(__NR_fstatfs64);
+
+ // __NR_tgkill 270
+ //GO(__NR_tgkill, ".s .m");
+ //SY(__NR_tgkill);
+
+ // __NR_utimes 271
+ //GO(__NR_utimes, ".s .m");
+ //SY(__NR_utimes);
+
+ // __NR_fadvise64_64 272
+ //GO(__NR_fadvise64_64, ".s .m");
+ //SY(__NR_fadvise64_64);
+
+ // __NR_vserver 273 --> sys_ni_syscall()
+ //GO(__NR_vserver, "0e");
+ //SY(__NR_vserver);
+
+ // __NR_mbind 274
+ //GO(__NR_mbind, ".s .m");
+ //SY(__NR_mbind);
+
+ // __NR_get_mempolicy 275
+ //GO(__NR_get_mempolicy, ".s .m");
+ //SY(__NR_get_mempolicy);
+
+ // __NR_set_mempolicy 276
+ //GO(__NR_set_mempolicy, ".s .m");
+ //SY(__NR_set_mempolicy);
+
+ // __NR_mq_open 277
+ //GO(__NR_mq_open, ".s .m");
+ //SY(__NR_mq_open);
+
+ // __NR_mq_unlink (__NR_mq_open+1)
+ //GO(__NR_mq_unlink, ".s .m");
+ //SY(__NR_mq_unlink);
+
+ // __NR_mq_timedsend (__NR_mq_open+2)
+ //GO(__NR_mq_timedsend, ".s .m");
+ //SY(__NR_mq_timedsend);
+
+ // __NR_mq_timedreceive (__NR_mq_open+3)
+ //GO(__NR_mq_timedreceive, ".s .m");
+ //SY(__NR_mq_timedreceive);
+
+ // __NR_mq_notify (__NR_mq_open+4)
+ //GO(__NR_mq_notify, ".s .m");
+ //SY(__NR_mq_notify);
+
+ // __NR_mq_getsetattr (__NR_mq_open+5)
+ //GO(__NR_mq_getsetattr, ".s .m");
+ //SY(__NR_mq_getsetattr);
+
+ // __NR_sys_kexec_load 283 --> sys_ni_syscall()
+ //GO(__NR_sys_kexec_load, "0e");
+ //SY(__NR_sys_kexec_load);
+
+ GO(9999, "1e");
+ SY(9999);
+
// __NR_exit 1 --> sys_exit()
GO(__NR_exit, "1s 0m");
--- valgrind/memcheck/tests/scalar.stderr.exp #1.22:1.23
@@ -596,4 +596,1568 @@
-----------------------------------------------------
-----------------------------------------------------
+ 50: __NR_getegid 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 51: __NR_acct 1s 1m
+-----------------------------------------------------
+
+Syscall param acct(filename) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param acct(filename) 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
+-----------------------------------------------------
+ 52: __NR_umount2 2s 1m
+-----------------------------------------------------
+
+Syscall param umount2(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param umount2(flags) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param umount2(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
+-----------------------------------------------------
+ 53: __NR_lock 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 54: __NR_ioctl 3s 1m
+-----------------------------------------------------
+
+Syscall param ioctl(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param ioctl(request) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param ioctl(arg) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param ioctl(TCSET{S,SW,SF}) 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
+-----------------------------------------------------
+ 55: __NR_fcntl 3s 0m
+-----------------------------------------------------
+
+Syscall param fcntl(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fcntl(cmd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fcntl(arg) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+ 56: __NR_mpx 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 57: __NR_setpgid 2s 0m
+-----------------------------------------------------
+
+Syscall param setpgid(pid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setpgid(pgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+ 58: __NR_ulimit 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 60: __NR_umask 1s 0m
+-----------------------------------------------------
+
+Syscall param umask(mask) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+ 61: __NR_chroot 1s 1m
+-----------------------------------------------------
+
+Syscall param chroot(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chroot(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
+-----------------------------------------------------
+ 63: __NR_dup2 2s 0m
+-----------------------------------------------------
+
+Syscall param dup2(oldfd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param dup2(newfd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+ 64: __NR_getppid 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 65: __NR_getpgrp 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 66: __NR_setsid 0e
+-----------------------------------------------------
+-----------------------------------------------------
+ 67: __NR_sigaction 3s 2m
+-----------------------------------------------------
+
+Syscall param sigaction(signum) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param sigaction(act) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param sigaction(oldact) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param sigaction(act) 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 sigaction(oldact) 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
+-----------------------------------------------------
+ 70: __NR_setreuid 2s 0m
+-----------------------------------------------------
+
+Syscall param setreuid16(ruid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setreuid16(euid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+ 71: __NR_setregid 2s 0m
+-----------------------------------------------------
+
+Syscall param setregid16(rgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setregid16(egid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+ 73: __NR_sigpending 1s 1m
+-----------------------------------------------------
+
+Syscall param sigpending(set) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param sigpending(set) 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
+-----------------------------------------------------
+ 75: __NR_setrlimit 2s 1m
+-----------------------------------------------------
+
+Syscall param setrlimit(resource) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setrlimit(rlim) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setrlimit(rlim) 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
+-----------------------------------------------------
+ 76: __NR_getrlimit 2s 1m
+-----------------------------------------------------
+
+Syscall param old_getrlimit(resource) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param old_getrlimit(rlim) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param old_getrlimit(rlim) 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
+-----------------------------------------------------
+ 77: __NR_getrusage 2s 1m
+-----------------------------------------------------
+
+Syscall param getrusage(who) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getrusage(usage) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getrusage(usage) 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
+-----------------------------------------------------
+ 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
+-----------------------------------------------------
+
+Syscall param settimeofday(tv) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param settimeofday(tz) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param settimeofday(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 settimeofday(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
+-----------------------------------------------------
+ 80: __NR_getgroups 2s 1m
+-----------------------------------------------------
+
+Syscall param getgroups16(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getgroups16(list) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getgroups16(list) 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
+-----------------------------------------------------
+ 81: __NR_setgroups 2s 1m
+-----------------------------------------------------
+
+Syscall param setgroups16(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setgroups16(list) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setgroups16(list) 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
+-----------------------------------------------------
+ 82: __NR_select 1s 4m
+-----------------------------------------------------
+
+Syscall param old_select(args) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param old_select(readfds) 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 old_select(writefds) 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 old_select(exceptfds) 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 old_select(timeout) 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
+-----------------------------------------------------
+ 95: __NR_fchown 3s 0m
+-----------------------------------------------------
+
+Syscall param fchown16(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fchown16(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fchown16(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+106: __NR_stat 2s 2m
+-----------------------------------------------------
+
+Syscall param stat(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat(file_name) 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 stat(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
+-----------------------------------------------------
+107: __NR_lstat 2s 2m
+-----------------------------------------------------
+
+Syscall param lstat(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat(file_name) 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 lstat(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
+-----------------------------------------------------
+108: __NR_fstat 2s 1m
+-----------------------------------------------------
+
+Syscall param fstat(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat(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
+-----------------------------------------------------
+111: __NR_vhangup 0e
+-----------------------------------------------------
+-----------------------------------------------------
+112: __NR_idle 0e
+-----------------------------------------------------
+-----------------------------------------------------
+122: __NR_uname 1s 1m
+-----------------------------------------------------
+
+Syscall param uname(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param uname(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
+-----------------------------------------------------
+127: __NR_create_module 0e
+-----------------------------------------------------
+-----------------------------------------------------
+130:__NR_get_kernel_syms 0e
+-----------------------------------------------------
+-----------------------------------------------------
+137: __NR_afs_syscall 0e
+-----------------------------------------------------
+-----------------------------------------------------
+138: __NR_setfsuid 1s 0m
+-----------------------------------------------------
+
+Syscall param setfsuid16(uid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+139: __NR_setfsgid 1s 0m
+-----------------------------------------------------
+
+Syscall param setfsgid16(gid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+142: __NR__newselect 5s 4m
+-----------------------------------------------------
+
+Syscall param select(n) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param select(readfds) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param select(writefds) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param select(exceptfds) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param select(timeout) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param select(readfds) 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 select(writefds) 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 select(exceptfds) 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 select(timeout) 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
+-----------------------------------------------------
+153: __NR_munlockall 0e
+-----------------------------------------------------
+-----------------------------------------------------
+164: __NR_setresuid 3s 0m
+-----------------------------------------------------
+
+Syscall param setresuid16(ruid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setresuid16(euid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setresuid16(suid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+165: __NR_getresuid 3s 3m
+-----------------------------------------------------
+
+Syscall param getresuid16(ruid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getresuid16(euid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getresuid16(suid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getresuid16(ruid) 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 getresuid16(euid) 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 getresuid16(suid) 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
+-----------------------------------------------------
+167: __NR_query_module 0e
+-----------------------------------------------------
+-----------------------------------------------------
+170: __NR_setresgid 3s 0m
+-----------------------------------------------------
+
+Syscall param setresgid16(rgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setresgid16(egid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setresgid16(sgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+171: __NR_getresgid 3s 3m
+-----------------------------------------------------
+
+Syscall param getresgid16(rgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getresgid16(egid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getresgid16(sgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getresgid16(rgid) 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 getresgid16(egid) 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 getresgid16(sgid) 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
+-----------------------------------------------------
+174: __NR_rt_sigaction 4s 2m
+-----------------------------------------------------
+
+Syscall param rt_sigaction(signum) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param rt_sigaction(act) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param rt_sigaction(oldact) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param rt_sigaction(sigsetsize) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param rt_sigaction(act) 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 rt_sigaction(oldact) 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
+-----------------------------------------------------
+182: __NR_chown 3s 1m
+-----------------------------------------------------
+
+Syscall param chown16(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown16(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown16(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param chown16(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
+-----------------------------------------------------
+191: __NR_ugetrlimit 2s 1m
+-----------------------------------------------------
+
+Syscall param getrlimit(resource) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getrlimit(rlim) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getrlimit(rlim) 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
+-----------------------------------------------------
+195: __NR_stat64 2s 2m
+-----------------------------------------------------
+
+Syscall param stat64(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat64(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param stat64(file_name) 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 stat64(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
+-----------------------------------------------------
+196: __NR_lstat64 2s 2m
+-----------------------------------------------------
+
+Syscall param lstat64(file_name) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat64(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lstat64(file_name) 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 lstat64(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
+-----------------------------------------------------
+197: __NR_fstat64 2s 1m
+-----------------------------------------------------
+
+Syscall param fstat64(fd) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat64(buf) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param fstat64(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
+-----------------------------------------------------
+198: __NR_lchown32 3s 1m
+-----------------------------------------------------
+
+Syscall param lchown(path) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lchown(owner) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lchown(group) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param lchown(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
+-----------------------------------------------------
+199: __NR_getuid32 0e
+-----------------------------------------------------
+-----------------------------------------------------
+200: __NR_getgid32 0e
+-----------------------------------------------------
+-----------------------------------------------------
+201: __NR_geteuid32 0e
+-----------------------------------------------------
+-----------------------------------------------------
+202: __NR_getegid32 0e
+-----------------------------------------------------
+-----------------------------------------------------
+203: __NR_setreuid32 2s 0m
+-----------------------------------------------------
+
+Syscall param setreuid(ruid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setreuid(euid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+204: __NR_setregid32 2s 0m
+-----------------------------------------------------
+
+Syscall param setregid(rgid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param setregid(egid) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+-----------------------------------------------------
+205: __NR_getgroups32 2s 1m
+-----------------------------------------------------
+
+Syscall param getgroups(size) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getgroups(list) contains uninitialised byte(s)
+ at 0x........: syscall (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+Syscall param getgroups(list) 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...
[truncated message content] |