You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(1) |
|
2
|
3
(6) |
4
(5) |
5
|
6
(2) |
7
(1) |
8
|
|
9
|
10
(4) |
11
(2) |
12
(2) |
13
(3) |
14
(1) |
15
|
|
16
(4) |
17
|
18
(3) |
19
(3) |
20
(3) |
21
|
22
|
|
23
(1) |
24
(10) |
25
(13) |
26
(6) |
27
(2) |
28
(3) |
29
(5) |
|
30
(6) |
|
|
|
|
|
|
Author: iraisr
Date: Mon Apr 10 21:36:00 2017
New Revision: 16301
Log:
Fix an INTERNAL ERROR problem in execve syscall wrapper.
Fixes BZ#378535.
Modified:
trunk/NEWS
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/memcheck/tests/x86-linux/scalar.c
trunk/memcheck/tests/x86-linux/scalar.stderr.exp
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Apr 10 21:36:00 2017
@@ -154,6 +154,7 @@
and 2 args for FUTEX_TRYLOCK_PI
377717 Fix massive space leak when reading compressed debuginfo sections
377930 fcntl syscall wrapper is missing flock structure check
+378535 Valgrind reports INTERNAL ERROR in execve syscall wrapper
Release 3.12.0 (20 October 2016)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modified: trunk/coregrind/m_syswrap/syswrap-generic.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-generic.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c Mon Apr 10 21:36:00 2017
@@ -2826,14 +2826,26 @@
SysRes res;
Bool setuid_allowed, trace_this_child;
- PRINT("sys_execve ( %#lx(%s), %#lx, %#lx )", ARG1, (char*)ARG1, ARG2, ARG3);
+ PRINT("sys_execve ( %#lx(%s), %#lx, %#lx )", ARG1, (HChar*)ARG1, ARG2, ARG3);
PRE_REG_READ3(vki_off_t, "execve",
char *, filename, char **, argv, char **, envp);
PRE_MEM_RASCIIZ( "execve(filename)", ARG1 );
- if (ARG2 != 0)
+ if (ARG2 != 0) {
+ /* At least the terminating NULL must be addressable. */
+ if (!ML_(safe_to_deref)((HChar **) ARG2, sizeof(HChar *))) {
+ SET_STATUS_Failure(VKI_EFAULT);
+ return;
+ }
ML_(pre_argv_envp)( ARG2, tid, "execve(argv)", "execve(argv[i])" );
- if (ARG3 != 0)
+ }
+ if (ARG3 != 0) {
+ /* At least the terminating NULL must be addressable. */
+ if (!ML_(safe_to_deref)((HChar **) ARG3, sizeof(HChar *))) {
+ SET_STATUS_Failure(VKI_EFAULT);
+ return;
+ }
ML_(pre_argv_envp)( ARG3, tid, "execve(envp)", "execve(envp[i])" );
+ }
vg_assert(VG_(is_valid_tid)(tid));
tst = VG_(get_ThreadState)(tid);
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c Mon Apr 10 21:36:00 2017
@@ -2071,7 +2071,7 @@
PRE(sys_tkill)
{
- PRINT("sys_tgkill ( %ld, %ld )", SARG1, SARG2);
+ PRINT("sys_tkill ( %ld, %ld )", SARG1, SARG2);
PRE_REG_READ2(long, "tkill", int, tid, int, sig);
if (!ML_(client_signal_OK)(ARG2)) {
SET_STATUS_Failure( VKI_EINVAL );
Modified: trunk/memcheck/tests/x86-linux/scalar.c
==============================================================================
--- trunk/memcheck/tests/x86-linux/scalar.c (original)
+++ trunk/memcheck/tests/x86-linux/scalar.c Mon Apr 10 21:36:00 2017
@@ -85,10 +85,18 @@
SY(__NR_unlink, x0); FAIL;
// __NR_execve 11
- // Nb: could have 3 memory errors if we pass x0+1 as the 2nd and 3rd
- // args, except for bug #93174.
GO(__NR_execve, "3s 1m");
- SY(__NR_execve, x0, x0, x0); FAIL;
+ SY(__NR_execve, x0 + 1, x0 + 1, x0); FAIL;
+
+ GO(__NR_execve, "3s 1m");
+ SY(__NR_execve, x0 + 1, x0, x0 + 1); FAIL;
+
+ char *argv_envp[] = {(char *) (x0 + 1), NULL};
+ GO(__NR_execve, "4s 2m");
+ SY(__NR_execve, x0 + 1, x0 + argv_envp, x0); FAIL;
+
+ GO(__NR_execve, "4s 2m");
+ SY(__NR_execve, x0 + 1, x0, x0 + argv_envp); FAIL;
// __NR_chdir 12
GO(__NR_chdir, "1s 1m");
Modified: trunk/memcheck/tests/x86-linux/scalar.stderr.exp
==============================================================================
--- trunk/memcheck/tests/x86-linux/scalar.stderr.exp (original)
+++ trunk/memcheck/tests/x86-linux/scalar.stderr.exp Mon Apr 10 21:36:00 2017
@@ -155,19 +155,101 @@
-----------------------------------------------------
Syscall param execve(filename) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:91)
+ by 0x........: main (scalar.c:89)
Syscall param execve(argv) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:91)
+ by 0x........: main (scalar.c:89)
Syscall param execve(envp) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:91)
+ by 0x........: main (scalar.c:89)
Syscall param execve(filename) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:91)
+ by 0x........: main (scalar.c:89)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 11: __NR_execve 3s 1m
+-----------------------------------------------------
+Syscall param execve(filename) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:92)
+
+Syscall param execve(argv) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:92)
+
+Syscall param execve(envp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:92)
+
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:92)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 11: __NR_execve 4s 2m
+-----------------------------------------------------
+Syscall param execve(filename) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:96)
+
+Syscall param execve(argv) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:96)
+
+Syscall param execve(envp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:96)
+
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:96)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param execve(argv) points to uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:96)
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by main (scalar.c:28)
+
+Syscall param execve(argv[i]) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:96)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+-----------------------------------------------------
+ 11: __NR_execve 4s 2m
+-----------------------------------------------------
+Syscall param execve(filename) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:99)
+
+Syscall param execve(argv) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:99)
+
+Syscall param execve(envp) contains uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:99)
+
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:99)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param execve(envp) points to uninitialised byte(s)
+ ...
+ by 0x........: main (scalar.c:99)
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by main (scalar.c:28)
+
+Syscall param execve(envp[i]) points to unaddressable byte(s)
+ ...
+ by 0x........: main (scalar.c:99)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -175,11 +257,11 @@
-----------------------------------------------------
Syscall param chdir(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:95)
+ by 0x........: main (scalar.c:103)
Syscall param chdir(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:95)
+ by 0x........: main (scalar.c:103)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -187,11 +269,11 @@
-----------------------------------------------------
Syscall param time(t) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:99)
+ by 0x........: main (scalar.c:107)
Syscall param time(t) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:99)
+ by 0x........: main (scalar.c:107)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -199,19 +281,19 @@
-----------------------------------------------------
Syscall param mknod(pathname) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:103)
+ by 0x........: main (scalar.c:111)
Syscall param mknod(mode) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:103)
+ by 0x........: main (scalar.c:111)
Syscall param mknod(dev) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:103)
+ by 0x........: main (scalar.c:111)
Syscall param mknod(pathname) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:103)
+ by 0x........: main (scalar.c:111)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -219,15 +301,15 @@
-----------------------------------------------------
Syscall param chmod(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:107)
+ by 0x........: main (scalar.c:115)
Syscall param chmod(mode) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:107)
+ by 0x........: main (scalar.c:115)
Syscall param chmod(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:107)
+ by 0x........: main (scalar.c:115)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -244,15 +326,15 @@
-----------------------------------------------------
Syscall param lseek(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:123)
+ by 0x........: main (scalar.c:131)
Syscall param lseek(offset) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:123)
+ by 0x........: main (scalar.c:131)
Syscall param lseek(whence) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:123)
+ by 0x........: main (scalar.c:131)
-----------------------------------------------------
20: __NR_getpid 0s 0m
@@ -262,32 +344,32 @@
-----------------------------------------------------
Syscall param mount(source) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Syscall param mount(target) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Syscall param mount(type) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Syscall param mount(flags) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Syscall param mount(data) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Syscall param mount(target) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param mount(type) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:131)
+ by 0x........: main (scalar.c:139)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -295,11 +377,11 @@
-----------------------------------------------------
Syscall param umount(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:135)
+ by 0x........: main (scalar.c:143)
Syscall param umount(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:135)
+ by 0x........: main (scalar.c:143)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -307,7 +389,7 @@
-----------------------------------------------------
Syscall param setuid16(uid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:139)
+ by 0x........: main (scalar.c:147)
-----------------------------------------------------
24: __NR_getuid 0s 0m
@@ -320,23 +402,23 @@
-----------------------------------------------------
Syscall param ptrace(request) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:152)
+ by 0x........: main (scalar.c:160)
Syscall param ptrace(pid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:152)
+ by 0x........: main (scalar.c:160)
Syscall param ptrace(addr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:152)
+ by 0x........: main (scalar.c:160)
Syscall param ptrace(data) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:152)
+ by 0x........: main (scalar.c:160)
Syscall param ptrace(getregs) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:152)
+ by 0x........: main (scalar.c:160)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -344,7 +426,7 @@
-----------------------------------------------------
Syscall param alarm(seconds) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:156)
+ by 0x........: main (scalar.c:164)
-----------------------------------------------------
28: __NR_oldfstat n/a
@@ -357,20 +439,20 @@
-----------------------------------------------------
Syscall param utime(filename) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:168)
+ by 0x........: main (scalar.c:176)
Syscall param utime(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:168)
+ by 0x........: main (scalar.c:176)
Syscall param utime(filename) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:168)
+ by 0x........: main (scalar.c:176)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param utime(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:168)
+ by 0x........: main (scalar.c:176)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -384,15 +466,15 @@
-----------------------------------------------------
Syscall param access(pathname) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:180)
+ by 0x........: main (scalar.c:188)
Syscall param access(mode) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:180)
+ by 0x........: main (scalar.c:188)
Syscall param access(pathname) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:180)
+ by 0x........: main (scalar.c:188)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -400,7 +482,7 @@
-----------------------------------------------------
Syscall param nice(inc) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:184)
+ by 0x........: main (scalar.c:192)
-----------------------------------------------------
35: __NR_ftime ni
@@ -413,31 +495,31 @@
-----------------------------------------------------
Syscall param kill(pid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:196)
+ by 0x........: main (scalar.c:204)
Syscall param kill(signal) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:196)
+ by 0x........: main (scalar.c:204)
-----------------------------------------------------
38: __NR_rename 2s 2m
-----------------------------------------------------
Syscall param rename(oldpath) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:200)
+ by 0x........: main (scalar.c:208)
Syscall param rename(newpath) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:200)
+ by 0x........: main (scalar.c:208)
Syscall param rename(oldpath) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:200)
+ by 0x........: main (scalar.c:208)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param rename(newpath) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:200)
+ by 0x........: main (scalar.c:208)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -445,15 +527,15 @@
-----------------------------------------------------
Syscall param mkdir(pathname) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:204)
+ by 0x........: main (scalar.c:212)
Syscall param mkdir(mode) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:204)
+ by 0x........: main (scalar.c:212)
Syscall param mkdir(pathname) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:204)
+ by 0x........: main (scalar.c:212)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -461,11 +543,11 @@
-----------------------------------------------------
Syscall param rmdir(pathname) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:208)
+ by 0x........: main (scalar.c:216)
Syscall param rmdir(pathname) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:208)
+ by 0x........: main (scalar.c:216)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -473,18 +555,18 @@
-----------------------------------------------------
Syscall param dup(oldfd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:212)
+ by 0x........: main (scalar.c:220)
-----------------------------------------------------
42: __NR_pipe 1s 1m
-----------------------------------------------------
Syscall param pipe(filedes) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:216)
+ by 0x........: main (scalar.c:224)
Syscall param pipe(filedes) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:216)
+ by 0x........: main (scalar.c:224)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -492,11 +574,14 @@
-----------------------------------------------------
Syscall param times(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:220)
+ by 0x........: main (scalar.c:228)
+
+More than 100 errors detected. Subsequent errors
+will still be recorded, but in less detail than before.
Syscall param times(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:220)
+ by 0x........: main (scalar.c:228)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -507,14 +592,14 @@
-----------------------------------------------------
Syscall param brk(end_data_segment) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:228)
+ by 0x........: main (scalar.c:236)
-----------------------------------------------------
46: __NR_setgid 1s 0m
-----------------------------------------------------
Syscall param setgid16(gid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:232)
+ by 0x........: main (scalar.c:240)
-----------------------------------------------------
47: __NR_getgid 0s 0m
@@ -533,11 +618,11 @@
-----------------------------------------------------
Syscall param acct(filename) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:252)
+ by 0x........: main (scalar.c:260)
Syscall param acct(filename) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:252)
+ by 0x........: main (scalar.c:260)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -545,15 +630,15 @@
-----------------------------------------------------
Syscall param umount2(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:256)
+ by 0x........: main (scalar.c:264)
Syscall param umount2(flags) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:256)
+ by 0x........: main (scalar.c:264)
Syscall param umount2(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:256)
+ by 0x........: main (scalar.c:264)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -564,19 +649,19 @@
-----------------------------------------------------
Syscall param ioctl(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:265)
+ by 0x........: main (scalar.c:273)
Syscall param ioctl(request) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:265)
+ by 0x........: main (scalar.c:273)
Syscall param ioctl(arg) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:265)
+ by 0x........: main (scalar.c:273)
Syscall param ioctl(TCSET{S,SW,SF}) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:265)
+ by 0x........: main (scalar.c:273)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -584,52 +669,49 @@
-----------------------------------------------------
Syscall param fcntl(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:271)
+ by 0x........: main (scalar.c:279)
Syscall param fcntl(cmd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:271)
+ by 0x........: main (scalar.c:279)
-----------------------------------------------------
55: __NR_fcntl (DUPFD) 1s 0m
-----------------------------------------------------
Syscall param fcntl(arg) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:277)
+ by 0x........: main (scalar.c:285)
-----------------------------------------------------
55: __NR_fcntl (GETLK) 1s 5m
-----------------------------------------------------
Syscall param fcntl(lock) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:283)
-
+ by 0x........: main (scalar.c:291)
-More than 100 errors detected. Subsequent errors
-will still be recorded, but in less detail than before.
Syscall param fcntl(lock->l_type) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:283)
+ by 0x........: main (scalar.c:291)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param fcntl(lock->l_whence) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:283)
+ by 0x........: main (scalar.c:291)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param fcntl(lock->l_start) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:283)
+ by 0x........: main (scalar.c:291)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param fcntl(lock->l_len) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:283)
+ by 0x........: main (scalar.c:291)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param fcntl(lock->l_pid) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:283)
+ by 0x........: main (scalar.c:291)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -640,11 +722,11 @@
-----------------------------------------------------
Syscall param setpgid(pid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:291)
+ by 0x........: main (scalar.c:299)
Syscall param setpgid(pgid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:291)
+ by 0x........: main (scalar.c:299)
-----------------------------------------------------
58: __NR_ulimit ni
@@ -657,18 +739,18 @@
-----------------------------------------------------
Syscall param umask(mask) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:303)
+ by 0x........: main (scalar.c:311)
-----------------------------------------------------
61: __NR_chroot 1s 1m
-----------------------------------------------------
Syscall param chroot(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:307)
+ by 0x........: main (scalar.c:315)
Syscall param chroot(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:307)
+ by 0x........: main (scalar.c:315)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -679,11 +761,11 @@
-----------------------------------------------------
Syscall param dup2(oldfd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:315)
+ by 0x........: main (scalar.c:323)
Syscall param dup2(newfd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:315)
+ by 0x........: main (scalar.c:323)
-----------------------------------------------------
64: __NR_getppid 0s 0m
@@ -699,40 +781,40 @@
-----------------------------------------------------
Syscall param sigaction(signum) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Syscall param sigaction(act) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Syscall param sigaction(oldact) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Syscall param sigaction(act->sa_handler) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Address 0x........ is 0 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (scalar.c:30)
Syscall param sigaction(act->sa_mask) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Address 0x........ is 4 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (scalar.c:30)
Syscall param sigaction(act->sa_flags) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Address 0x........ is 8 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (scalar.c:30)
Syscall param sigaction(oldact) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:331)
+ by 0x........: main (scalar.c:339)
Address 0x........ is 0 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (scalar.c:30)
@@ -748,22 +830,22 @@
-----------------------------------------------------
Syscall param setreuid16(ruid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:343)
+ by 0x........: main (scalar.c:351)
Syscall param setreuid16(euid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:343)
+ by 0x........: main (scalar.c:351)
-----------------------------------------------------
71: __NR_setregid 2s 0m
-----------------------------------------------------
Syscall param setregid16(rgid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:347)
+ by 0x........: main (scalar.c:355)
Syscall param setregid16(egid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:347)
+ by 0x........: main (scalar.c:355)
-----------------------------------------------------
72: __NR_sigsuspend ignore
@@ -773,11 +855,11 @@
-----------------------------------------------------
Syscall param sigpending(set) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:356)
+ by 0x........: main (scalar.c:364)
Syscall param sigpending(set) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:356)
+ by 0x........: main (scalar.c:364)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -788,15 +870,15 @@
-----------------------------------------------------
Syscall param setrlimit(resource) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:364)
+ by 0x........: main (scalar.c:372)
Syscall param setrlimit(rlim) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:364)
+ by 0x........: main (scalar.c:372)
Syscall param setrlimit(rlim) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:364)
+ by 0x........: main (scalar.c:372)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -804,15 +886,15 @@
-----------------------------------------------------
Syscall param old_getrlimit(resource) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:368)
+ by 0x........: main (scalar.c:376)
Syscall param old_getrlimit(rlim) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:368)
+ by 0x........: main (scalar.c:376)
Syscall param old_getrlimit(rlim) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:368)
+ by 0x........: main (scalar.c:376)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -820,15 +902,15 @@
-----------------------------------------------------
Syscall param getrusage(who) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:372)
+ by 0x........: main (scalar.c:380)
Syscall param getrusage(usage) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:372)
+ by 0x........: main (scalar.c:380)
Syscall param getrusage(usage) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:372)
+ by 0x........: main (scalar.c:380)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -836,20 +918,20 @@
-----------------------------------------------------
Syscall param gettimeofday(tv) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:376)
+ by 0x........: main (scalar.c:384)
Syscall param gettimeofday(tz) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:376)
+ by 0x........: main (scalar.c:384)
Syscall param gettimeofday(tv) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:376)
+ by 0x........: main (scalar.c:384)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param gettimeofday(tz) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:376)
+ by 0x........: main (scalar.c:384)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -857,20 +939,20 @@
-----------------------------------------------------
Syscall param settimeofday(tv) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:380)
+ by 0x........: main (scalar.c:388)
Syscall param settimeofday(tz) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:380)
+ by 0x........: main (scalar.c:388)
Syscall param settimeofday(tv) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:380)
+ by 0x........: main (scalar.c:388)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param settimeofday(tz) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:380)
+ by 0x........: main (scalar.c:388)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -878,15 +960,15 @@
-----------------------------------------------------
Syscall param getgroups16(size) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:384)
+ by 0x........: main (scalar.c:392)
Syscall param getgroups16(list) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:384)
+ by 0x........: main (scalar.c:392)
Syscall param getgroups16(list) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:384)
+ by 0x........: main (scalar.c:392)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -894,15 +976,15 @@
-----------------------------------------------------
Syscall param setgroups16(size) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:388)
+ by 0x........: main (scalar.c:396)
Syscall param setgroups16(list) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:388)
+ by 0x........: main (scalar.c:396)
Syscall param setgroups16(list) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:388)
+ by 0x........: main (scalar.c:396)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -910,32 +992,32 @@
-----------------------------------------------------
Syscall param old_select(args) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:394)
+ by 0x........: main (scalar.c:402)
Syscall param old_select(args) points to uninitialised byte(s)
...
- by 0x........: main (scalar.c:394)
+ by 0x........: main (scalar.c:402)
Address 0x........ is on thread 1's stack
in frame #1, created by main (scalar.c:28)
Syscall param old_select(readfds) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:394)
+ by 0x........: main (scalar.c:402)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param old_select(writefds) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:394)
+ by 0x........: main (scalar.c:402)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param old_select(exceptfds) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:394)
+ by 0x........: main (scalar.c:402)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param old_select(timeout) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:394)
+ by 0x........: main (scalar.c:402)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -943,20 +1025,20 @@
-----------------------------------------------------
Syscall param symlink(oldpath) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:399)
+ by 0x........: main (scalar.c:407)
Syscall param symlink(newpath) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:399)
+ by 0x........: main (scalar.c:407)
Syscall param symlink(oldpath) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:399)
+ by 0x........: main (scalar.c:407)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param symlink(newpath) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:399)
+ by 0x........: main (scalar.c:407)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -967,24 +1049,24 @@
-----------------------------------------------------
Syscall param readlink(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:407)
+ by 0x........: main (scalar.c:415)
Syscall param readlink(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:407)
+ by 0x........: main (scalar.c:415)
Syscall param readlink(bufsiz) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:407)
+ by 0x........: main (scalar.c:415)
Syscall param readlink(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:407)
+ by 0x........: main (scalar.c:415)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param readlink(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:407)
+ by 0x........: main (scalar.c:415)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1004,11 +1086,11 @@
-----------------------------------------------------
Syscall param old_mmap(args) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:429)
+ by 0x........: main (scalar.c:437)
Syscall param old_mmap(args) points to uninitialised byte(s)
...
- by 0x........: main (scalar.c:429)
+ by 0x........: main (scalar.c:437)
Address 0x........ is on thread 1's stack
in frame #1, created by main (scalar.c:28)
@@ -1017,26 +1099,26 @@
-----------------------------------------------------
Syscall param munmap(start) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:434)
+ by 0x........: main (scalar.c:442)
Syscall param munmap(length) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:434)
+ by 0x........: main (scalar.c:442)
-----------------------------------------------------
92: __NR_truncate 2s 1m
-----------------------------------------------------
Syscall param truncate(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:438)
+ by 0x........: main (scalar.c:446)
Syscall param truncate(length) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:438)
+ by 0x........: main (scalar.c:446)
Syscall param truncate(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:438)
+ by 0x........: main (scalar.c:446)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1044,63 +1126,63 @@
-----------------------------------------------------
Syscall param ftruncate(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:442)
+ by 0x........: main (scalar.c:450)
Syscall param ftruncate(length) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:442)
+ by 0x........: main (scalar.c:450)
-----------------------------------------------------
94: __NR_fchmod 2s 0m
-----------------------------------------------------
Syscall param fchmod(fildes) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:446)
+ by 0x........: main (scalar.c:454)
Syscall param fchmod(mode) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:446)
+ by 0x........: main (scalar.c:454)
-----------------------------------------------------
95: __NR_fchown 3s 0m
-----------------------------------------------------
Syscall param fchown16(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:450)
+ by 0x........: main (scalar.c:458)
Syscall param fchown16(owner) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:450)
+ by 0x........: main (scalar.c:458)
Syscall param fchown16(group) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:450)
+ by 0x........: main (scalar.c:458)
-----------------------------------------------------
96: __NR_getpriority 2s 0m
-----------------------------------------------------
Syscall param getpriority(which) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:454)
+ by 0x........: main (scalar.c:462)
Syscall param getpriority(who) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:454)
+ by 0x........: main (scalar.c:462)
-----------------------------------------------------
97: __NR_setpriority 3s 0m
-----------------------------------------------------
Syscall param setpriority(which) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:458)
+ by 0x........: main (scalar.c:466)
Syscall param setpriority(who) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:458)
+ by 0x........: main (scalar.c:466)
Syscall param setpriority(prio) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:458)
+ by 0x........: main (scalar.c:466)
-----------------------------------------------------
98: __NR_profil ni
@@ -1110,20 +1192,20 @@
-----------------------------------------------------
Syscall param statfs(path) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:466)
+ by 0x........: main (scalar.c:474)
Syscall param statfs(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:466)
+ by 0x........: main (scalar.c:474)
Syscall param statfs(path) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:466)
+ by 0x........: main (scalar.c:474)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param statfs(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:466)
+ by 0x........: main (scalar.c:474)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1131,15 +1213,15 @@
-----------------------------------------------------
Syscall param fstatfs(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:470)
+ by 0x........: main (scalar.c:478)
Syscall param fstatfs(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:470)
+ by 0x........: main (scalar.c:478)
Syscall param fstatfs(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:470)
+ by 0x........: main (scalar.c:478)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1147,15 +1229,15 @@
-----------------------------------------------------
Syscall param ioperm(from) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:474)
+ by 0x........: main (scalar.c:482)
Syscall param ioperm(num) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:474)
+ by 0x........: main (scalar.c:482)
Syscall param ioperm(turn_on) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:474)
+ by 0x........: main (scalar.c:482)
-----------------------------------------------------
102: __NR_socketcall XXX
@@ -1165,19 +1247,19 @@
-----------------------------------------------------
Syscall param syslog(type) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:482)
+ by 0x........: main (scalar.c:490)
Syscall param syslog(bufp) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:482)
+ by 0x........: main (scalar.c:490)
Syscall param syslog(len) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:482)
+ by 0x........: main (scalar.c:490)
Syscall param syslog(bufp) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:482)
+ by 0x........: main (scalar.c:490)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1185,34 +1267,34 @@
-----------------------------------------------------
Syscall param setitimer(which) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Syscall param setitimer(value) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Syscall param setitimer(ovalue) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Syscall param setitimer(&value->it_interval) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param setitimer(&value->it_value) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param setitimer(&ovalue->it_interval) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param setitimer(&ovalue->it_value) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:486)
+ by 0x........: main (scalar.c:494)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1220,20 +1302,20 @@
-----------------------------------------------------
Syscall param getitimer(which) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:490)
+ by 0x........: main (scalar.c:498)
Syscall param getitimer(value) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:490)
+ by 0x........: main (scalar.c:498)
Syscall param getitimer(&value->it_interval) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:490)
+ by 0x........: main (scalar.c:498)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param getitimer(&value->it_value) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:490)
+ by 0x........: main (scalar.c:498)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1241,20 +1323,20 @@
-----------------------------------------------------
Syscall param stat(file_name) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:494)
+ by 0x........: main (scalar.c:502)
Syscall param stat(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:494)
+ by 0x........: main (scalar.c:502)
Syscall param stat(file_name) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:494)
+ by 0x........: main (scalar.c:502)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param stat(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:494)
+ by 0x........: main (scalar.c:502)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1262,20 +1344,20 @@
-----------------------------------------------------
Syscall param lstat(file_name) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:498)
+ by 0x........: main (scalar.c:506)
Syscall param lstat(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:498)
+ by 0x........: main (scalar.c:506)
Syscall param lstat(file_name) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:498)
+ by 0x........: main (scalar.c:506)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param lstat(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:498)
+ by 0x........: main (scalar.c:506)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1283,15 +1365,15 @@
-----------------------------------------------------
Syscall param fstat(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:502)
+ by 0x........: main (scalar.c:510)
Syscall param fstat(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:502)
+ by 0x........: main (scalar.c:510)
Syscall param fstat(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:502)
+ by 0x........: main (scalar.c:510)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1302,7 +1384,7 @@
-----------------------------------------------------
Syscall param iopl(level) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:510)
+ by 0x........: main (scalar.c:518)
-----------------------------------------------------
111: __NR_vhangup 0s 0m
@@ -1318,28 +1400,28 @@
-----------------------------------------------------
Syscall param wait4(pid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:526)
+ by 0x........: main (scalar.c:534)
Syscall param wait4(status) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:526)
+ by 0x........: main (scalar.c:534)
Syscall param wait4(options) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:526)
+ by 0x........: main (scalar.c:534)
Syscall param wait4(rusage) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:526)
+ by 0x........: main (scalar.c:534)
Syscall param wait4(status) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:526)
+ by 0x........: main (scalar.c:534)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param wait4(rusage) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:526)
+ by 0x........: main (scalar.c:534)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1350,11 +1432,11 @@
-----------------------------------------------------
Syscall param sysinfo(info) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:534)
+ by 0x........: main (scalar.c:542)
Syscall param sysinfo(info) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:534)
+ by 0x........: main (scalar.c:542)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1362,34 +1444,34 @@
-----------------------------------------------------
Syscall param ipc(call) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:541)
+ by 0x........: main (scalar.c:549)
Syscall param ipc(first) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:541)
+ by 0x........: main (scalar.c:549)
Syscall param ipc(second) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:541)
+ by 0x........: main (scalar.c:549)
Syscall param ipc(third) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:541)
+ by 0x........: main (scalar.c:549)
Syscall param ipc(ptr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:541)
+ by 0x........: main (scalar.c:549)
Syscall param ipc(fifth) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:541)
+ by 0x........: main (scalar.c:549)
-----------------------------------------------------
118: __NR_fsync 1s 0m
-----------------------------------------------------
Syscall param fsync(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:545)
+ by 0x........: main (scalar.c:553)
-----------------------------------------------------
119: __NR_sigreturn n/a
@@ -1399,37 +1481,37 @@
-----------------------------------------------------
Syscall param clone(flags) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Syscall param clone(child_stack) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Syscall param clone(parent_tidptr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Syscall param clone(parent_tidptr) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param clone(tlsinfo) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Syscall param clone(tlsinfo) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param clone(child_tidptr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Syscall param clone(child_tidptr) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:556)
+ by 0x........: main (scalar.c:564)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1440,11 +1522,11 @@
-----------------------------------------------------
Syscall param uname(buf) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:567)
+ by 0x........: main (scalar.c:575)
Syscall param uname(buf) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:567)
+ by 0x........: main (scalar.c:575)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1452,19 +1534,19 @@
-----------------------------------------------------
Syscall param modify_ldt(func) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:571)
+ by 0x........: main (scalar.c:579)
Syscall param modify_ldt(ptr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:571)
+ by 0x........: main (scalar.c:579)
Syscall param modify_ldt(bytecount) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:571)
+ by 0x........: main (scalar.c:579)
Syscall param modify_ldt(ptr) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:571)
+ by 0x........: main (scalar.c:579)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1475,41 +1557,41 @@
-----------------------------------------------------
Syscall param mprotect(addr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:580)
+ by 0x........: main (scalar.c:588)
Syscall param mprotect(len) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:580)
+ by 0x........: main (scalar.c:588)
Syscall param mprotect(prot) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:580)
+ by 0x........: main (scalar.c:588)
-----------------------------------------------------
126: __NR_sigprocmask 3s 2m
-----------------------------------------------------
Syscall param sigprocmask(how) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:584)
+ by 0x........: main (scalar.c:592)
Syscall param sigprocmask(set) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:584)
+ by 0x........: main (scalar.c:592)
Syscall param sigprocmask(oldset) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:584)
+ by 0x........: main (scalar.c:592)
Syscall param sigprocmask(set) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:584)
+ by 0x........: main (scalar.c:592)
Address 0x........ is 0 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (scalar.c:30)
Syscall param sigprocmask(oldset) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:584)
+ by 0x........: main (scalar.c:592)
Address 0x........ is 0 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (scalar.c:30)
@@ -1522,24 +1604,24 @@
-----------------------------------------------------
Syscall param init_module(umod) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:592)
+ by 0x........: main (scalar.c:600)
Syscall param init_module(len) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:592)
+ by 0x........: main (scalar.c:600)
Syscall param init_module(uargs) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:592)
+ by 0x........: main (scalar.c:600)
Syscall param init_module(umod) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:592)
+ by 0x........: main (scalar.c:600)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param init_module(uargs) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:592)
+ by 0x........: main (scalar.c:600)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1553,23 +1635,23 @@
-----------------------------------------------------
Syscall param quotactl(cmd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:604)
+ by 0x........: main (scalar.c:612)
Syscall param quotactl(special) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:604)
+ by 0x........: main (scalar.c:612)
Syscall param quotactl(id) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:604)
+ by 0x........: main (scalar.c:612)
Syscall param quotactl(addr) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:604)
+ by 0x........: main (scalar.c:612)
Syscall param quotactl(special) points to unaddressable byte(s)
...
- by 0x........: main (scalar.c:604)
+ by 0x........: main (scalar.c:612)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
-----------------------------------------------------
@@ -1577,14 +1659,14 @@
-----------------------------------------------------
Syscall param getpgid(pid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:608)
+ by 0x........: main (scalar.c:616)
-----------------------------------------------------
133: __NR_fchdir 1s 0m
-----------------------------------------------------
Syscall param fchdir(fd) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:612)
+ by 0x........: main (scalar.c:620)
-----------------------------------------------------
134: __NR_bdflush n/a
@@ -1597,7 +1679,7 @@
-----------------------------------------------------
Syscall param personality(persona) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:624)
+ by 0x........: main (scalar.c:632)
-----------------------------------------------------
137: __NR_afs_syscall ni
@@ -1607,41 +1689,41 @@
-----------------------------------------------------
Syscall param setfsuid16(uid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:632)
+ by 0x........: main (scalar.c:640)
-----------------------------------------------------
139: __NR_setfsgid 1s 0m
-----------------------------------------------------
Syscall param setfsgid16(gid) contains uninitialised byte(s)
...
- by 0x........: main (scalar.c:636)
+ by 0x........: main (scalar.c:644)
-----------------------------------------------------
140: __NR__llseek 5s 1m
-----------------------------------------------------
Syscall param llseek(fd) contains uninitialised byte(s)
...
...
[truncated message content] |
|
From: <sv...@va...> - 2017-04-10 17:56:06
|
Author: petarj
Date: Mon Apr 10 18:55:59 2017
New Revision: 16300
Log:
Update svn:ignore list
Add vgprintf_nvalgrind to it.
Modified:
trunk/none/tests/ (props changed)
|
|
From: <sv...@va...> - 2017-04-10 17:43:26
|
Author: petarj
Date: Mon Apr 10 18:43:20 2017
New Revision: 16299
Log:
mips64: update Makefile
Update Makefile with new name for the stdout.exp file.
Missed to do this as part of r16298.
Modified:
trunk/none/tests/mips64/Makefile.am
Modified: trunk/none/tests/mips64/Makefile.am
==============================================================================
--- trunk/none/tests/mips64/Makefile.am (original)
+++ trunk/none/tests/mips64/Makefile.am Mon Apr 10 18:43:20 2017
@@ -21,7 +21,7 @@
cvm_atomic.stdout.exp-LE cvm_atomic.stdout.exp-BE \
cvm_atomic.stdout.exp-non-octeon \
cvm_atomic.stderr.exp cvm_atomic.vgtest \
- cvm_atomic_thread.stdout.exp-LE cvm_atomic_thread.stdout.exp-non-octeon \
+ cvm_atomic_thread.stdout.exp cvm_atomic_thread.stdout.exp-non-octeon \
cvm_atomic_thread.stderr.exp cvm_atomic_thread.vgtest \
extract_insert_bit_field.stdout.exp-mips64 \
extract_insert_bit_field.stdout.exp-mips64r2 \
|
|
From: <sv...@va...> - 2017-04-10 17:11:10
|
Author: petarj
Date: Mon Apr 10 18:11:01 2017
New Revision: 16298
Log:
mips64: update cvm_atomic_thread test for BE
Update the test cvm_atomic_thread so it can be executed on BE boards too.
Reuse the stdout.exp file.
Based on patch from Tamara Vlahovic.
Added:
trunk/none/tests/mips64/cvm_atomic_thread.stdout.exp
- copied unchanged from r16295, trunk/none/tests/mips64/cvm_atomic_thread.stdout.exp-LE
Removed:
trunk/none/tests/mips64/cvm_atomic_thread.stdout.exp-LE
Modified:
trunk/none/tests/mips64/cvm_atomic_thread.c
Modified: trunk/none/tests/mips64/cvm_atomic_thread.c
==============================================================================
--- trunk/none/tests/mips64/cvm_atomic_thread.c (original)
+++ trunk/none/tests/mips64/cvm_atomic_thread.c Mon Apr 10 18:11:01 2017
@@ -14,7 +14,7 @@
#define NNN 3456987 // Number of repetition.
/* Expected values */
-long long int p1_expd[N] = { 2156643710, 2156643710, 3456986, 6913974,
+int p1_expd[N] = { 2156643710, 2156643710, 3456986, 6913974,
4288053322, 0, 4294967295,
6913974, 21777111,
3456986, 2153186724,
@@ -34,7 +34,7 @@
#define IS_8_ALIGNED(_ptr) (0 == (((unsigned long)(_ptr)) & 7))
-__attribute__((noinline)) void atomic_saa ( long long int* p, int n )
+__attribute__((noinline)) void atomic_saa ( int* p, int n )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p, (unsigned long)n };
@@ -66,7 +66,7 @@
#endif
}
-__attribute__((noinline)) void atomic_laa ( long long int* p, int n )
+__attribute__((noinline)) void atomic_laa ( int* p, int n )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p, (unsigned long)n };
@@ -98,7 +98,7 @@
#endif
}
-__attribute__((noinline)) void atomic_law ( long long int* p, int n )
+__attribute__((noinline)) void atomic_law ( int* p, int n )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p, (unsigned long)n };
@@ -130,7 +130,7 @@
#endif
}
-__attribute__((noinline)) void atomic_lai ( long long int* p )
+__attribute__((noinline)) void atomic_lai ( int* p )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p };
@@ -162,7 +162,7 @@
#endif
}
-__attribute__((noinline)) void atomic_lad ( long long int* p )
+__attribute__((noinline)) void atomic_lad ( int* p )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p };
@@ -194,7 +194,7 @@
#endif
}
-__attribute__((noinline)) void atomic_lac ( long long int* p )
+__attribute__((noinline)) void atomic_lac ( int* p )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p };
@@ -226,7 +226,7 @@
#endif
}
-__attribute__((noinline)) void atomic_las ( long long int* p )
+__attribute__((noinline)) void atomic_las ( int* p )
{
#if (_MIPS_ARCH_OCTEON2)
unsigned long block[2] = { (unsigned long)p };
@@ -307,7 +307,7 @@
#if (_MIPS_ARCH_OCTEON2)
int i, status;
char* page[N];
- long long int* p1[N];
+ int* p1[N];
long long int* p2[N];
pid_t child, pc2;
@@ -321,8 +321,8 @@
perror("mmap failed");
exit(1);
}
- p1[i] = (long long int*)(page[i]+0);
- p2[i] = (long long int*)(page[i]+256);
+ p1[i] = (int*)(page[i] + 0);
+ p2[i] = (long long int*)(page[i] + 256);
assert( IS_8_ALIGNED(p1[i]) );
assert( IS_8_ALIGNED(p2[i]) );
@@ -345,11 +345,11 @@
printf("child\n");
for (i = 0; i < NNN; i++) {
atomic_saa(p1[0], i);
- atomic_saad(p2[0], i+98765 ); /* ensure we hit the upper 32 bits */
+ atomic_saad(p2[0], i + 98765 ); /* ensure we hit the upper 32 bits */
atomic_laa(p1[1], i);
- atomic_laad(p2[1], i+98765 ); /* ensure we hit the upper 32 bits */
+ atomic_laad(p2[1], i + 98765 ); /* ensure we hit the upper 32 bits */
atomic_law(p1[2], i);
- atomic_lawd(p2[2], i+98765 ); /* ensure we hit the upper 32 bits */
+ atomic_lawd(p2[2], i + 98765 ); /* ensure we hit the upper 32 bits */
atomic_lai(p1[3]);
atomic_laid(p2[3]);
atomic_lad(p1[4]);
@@ -381,11 +381,11 @@
for (i = 0; i < NNN; i++) {
atomic_saa(p1[0], i);
- atomic_saad(p2[0], i+98765); /* ensure we hit the upper 32 bits */
+ atomic_saad(p2[0], i + 98765); /* ensure we hit the upper 32 bits */
atomic_laa(p1[1], i);
- atomic_laad(p2[1], i+98765); /* ensure we hit the upper 32 bits */
+ atomic_laad(p2[1], i + 98765); /* ensure we hit the upper 32 bits */
atomic_law(p1[2], i);
- atomic_lawd(p2[2], i+98765 ); /* ensure we hit the upper 32 bits */
+ atomic_lawd(p2[2], i + 98765 ); /* ensure we hit the upper 32 bits */
atomic_lai(p1[3]);
atomic_laid(p2[3]);
atomic_lad(p1[4]);
@@ -414,25 +414,25 @@
/* assert that child finished normally */
assert(WIFEXITED(status));
- printf("Store Atomic Add: 32 bit %lld, 64 bit %lld\n", *p1[0], *p2[0]);
- printf("Load Atomic Add: 32 bit %lld, 64 bit %lld\n", *p1[1], *p2[1]);
- printf("Load Atomic Swap: 32 bit %lld, 64 bit %lld\n", *p1[2], *p2[2]);
- printf("Load Atomic Increment: 32 bit %lld, 64 bit %lld\n", *p1[3], *p2[3]);
- printf("Load Atomic Decrement: 32 bit %lld, 64 bit %lld\n", *p1[4], *p2[4]);
- printf("Load Atomic Clear: 32 bit %lld, 64 bit %lld\n", *p1[5], *p2[5]);
- printf("Load Atomic Set: 32 bit %lld, 64 bit %lld\n", *p1[6], *p2[6]);
- printf("laa and saa: base1: %lld, base2: %lld\n", *p1[7], *p1[8]);
- printf("laad and saad: base1: %lld, base2: %lld\n", *p2[7], *p2[8]);
- printf("law and saa: base1: %lld, base2: %lld\n", *p1[9], *p1[10]);
- printf("lawd and saad: base1: %lld, base2: %lld\n", *p2[9], *p2[10]);
- printf("lai and saa: base1: %lld, base2: %lld\n", *p1[11], *p1[12]);
- printf("laid and saad: base1: %lld, base2: %lld\n", *p2[11], *p2[12]);
- printf("las and saa: base1: %lld, base2: %lld\n", *p1[13], *p1[14]);
- printf("lasd and saad: base1: %lld, base2: %lld\n", *p2[13], *p2[14]);
- printf("lad and saa: base1: %lld, base2: %lld\n", *p1[15], *p1[16]);
- printf("ladd and saad: base1: %lld, base2: %lld\n", *p2[15], *p2[16]);
- printf("lac and saa: base1: %lld, base2: %lld\n", *p1[17], *p1[18]);
- printf("lacd and saad: base1: %lld, base2: %lld\n", *p2[17], *p2[18]);
+ printf("Store Atomic Add: 32 bit %u, 64 bit %lld\n", *p1[0], *p2[0]);
+ printf("Load Atomic Add: 32 bit %u, 64 bit %lld\n", *p1[1], *p2[1]);
+ printf("Load Atomic Swap: 32 bit %u, 64 bit %lld\n", *p1[2], *p2[2]);
+ printf("Load Atomic Increment: 32 bit %u, 64 bit %lld\n", *p1[3], *p2[3]);
+ printf("Load Atomic Decrement: 32 bit %u, 64 bit %lld\n", *p1[4], *p2[4]);
+ printf("Load Atomic Clear: 32 bit %u, 64 bit %lld\n", *p1[5], *p2[5]);
+ printf("Load Atomic Set: 32 bit %u, 64 bit %lld\n", *p1[6], *p2[6]);
+ printf("laa and saa: base1: %u, base2: %u\n", *p1[7], *p1[8]);
+ printf("laad and saad: base1: %lld, base2: %lld\n", *p2[7], *p2[8]);
+ printf("law and saa: base1: %u, base2: %u\n", *p1[9], *p1[10]);
+ printf("lawd and saad: base1: %lld, base2: %lld\n", *p2[9], *p2[10]);
+ printf("lai and saa: base1: %u, base2: %u\n", *p1[11], *p1[12]);
+ printf("laid and saad: base1: %lld, base2: %lld\n", *p2[11], *p2[12]);
+ printf("las and saa: base1: %u, base2: %u\n", *p1[13], *p1[14]);
+ printf("lasd and saad: base1: %lld, base2: %lld\n", *p2[13], *p2[14]);
+ printf("lad and saa: base1: %u, base2: %u\n", *p1[15], *p1[16]);
+ printf("ladd and saad: base1: %lld, base2: %lld\n", *p2[15], *p2[16]);
+ printf("lac and saa: base1: %u, base2: %u\n", *p1[17], *p1[18]);
+ printf("lacd and saad: base1: %lld, base2: %lld\n", *p2[17], *p2[18]);
for (i = 0; i < N; i++) {
if (p1_expd[i] == *p1[i] && p2_expd[i] == *p2[i]) {
Removed: trunk/none/tests/mips64/cvm_atomic_thread.stdout.exp-LE
==============================================================================
--- trunk/none/tests/mips64/cvm_atomic_thread.stdout.exp-LE (original)
+++ trunk/none/tests/mips64/cvm_atomic_thread.stdout.exp-LE (removed)
@@ -1,43 +0,0 @@
-parent, pre-fork
-child
-parent, pre-fork
-parent
-Store Atomic Add: 32 bit 2156643710, 64 bit 12633614303292
-Load Atomic Add: 32 bit 2156643710, 64 bit 12633614303292
-Load Atomic Swap: 32 bit 3456986, 64 bit 3555751
-Load Atomic Increment: 32 bit 6913974, 64 bit 6913974
-Load Atomic Decrement: 32 bit 4288053322, 64 bit -6913974
-Load Atomic Clear: 32 bit 0, 64 bit 0
-Load Atomic Set: 32 bit 4294967295, 64 bit -1
-laa and saa: base1: 6913974, base2: 21777111
-laad and saad: base1: 6913974, base2: 23901514779351
-law and saa: base1: 3456986, base2: 2153186724
-lawd and saad: base1: 3456986, base2: 11950752204196
-lai and saa: base1: 6913974, base2: 21777111
-laid and saad: base1: 6913974, base2: 23901514779351
-las and saa: base1: 4294967295, base2: 4288053323
-lasd and saad: base1: -1, base2: -6913973
-lad and saa: base1: 4288053322, base2: 4273190185
-ladd and saad: base1: -6913974, base2: -23901514779351
-lac and saa: base1: 0, base2: 0
-lacd and saad: base1: 0, base2: 0
-PASS 1
-PASS 2
-PASS 3
-PASS 4
-PASS 5
-PASS 6
-PASS 7
-PASS 8
-PASS 9
-PASS 10
-PASS 11
-PASS 12
-PASS 13
-PASS 14
-PASS 15
-PASS 16
-PASS 17
-PASS 18
-PASS 19
-parent exits
|