|
From: <sv...@va...> - 2011-05-17 15:52:38
|
Author: sewardj
Date: 2011-05-17 16:52:28 +0100 (Tue, 17 May 2011)
New Revision: 11763
Log:
Update expected outputs.
Modified:
trunk/exp-sgcheck/tests/bad_percentify.stderr.exp-glibc28-amd64
trunk/exp-sgcheck/tests/filter_stderr
trunk/exp-sgcheck/tests/globalerr.stderr.exp-glibc28-amd64
trunk/exp-sgcheck/tests/hackedbz2.stderr.exp-glibc28-amd64
trunk/exp-sgcheck/tests/hsg.stderr.exp
trunk/exp-sgcheck/tests/preen_invars.stderr.exp-glibc28-amd64
trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64
Modified: trunk/exp-sgcheck/tests/bad_percentify.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/bad_percentify.stderr.exp-glibc28-amd64 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/bad_percentify.stderr.exp-glibc28-amd64 2011-05-17 15:52:28 UTC (rev 11763)
@@ -1,4 +1,3 @@
-exp-sgcheck, a stack and global array overrun detector
Invalid read of size 1
at 0x........: local_strlen (bad_percentify.c:138)
Modified: trunk/exp-sgcheck/tests/filter_stderr
===================================================================
--- trunk/exp-sgcheck/tests/filter_stderr 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/filter_stderr 2011-05-17 15:52:28 UTC (rev 11763)
@@ -16,7 +16,7 @@
# Remove preambly stuff; also postambly stuff
sed \
--e "/^exp-ptrcheck, a heap, stack and global array overrun detector$/d" \
+-e "/^exp-sgcheck, a stack and global array overrun detector$/d" \
-e "/^NOTE: This is an Experimental-Class Valgrind Tool$/d" \
-e "/^Copyright (C) 2003-201., and GNU GPL'd, by OpenWorks Ltd et al.$/d" \
-e "/^For counts of detected and suppressed errors, rerun with: -v$/d" |
Modified: trunk/exp-sgcheck/tests/globalerr.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/globalerr.stderr.exp-glibc28-amd64 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/globalerr.stderr.exp-glibc28-amd64 2011-05-17 15:52:28 UTC (rev 11763)
@@ -2,14 +2,16 @@
Invalid read of size 2
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
- Expected: global array "a" in object with soname "NONE"
+ Expected: global array "a" of size 14 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 2
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
- Expected: global array "b" in object with soname "NONE"
+ Expected: global array "b" of size 14 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/exp-sgcheck/tests/hackedbz2.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/hackedbz2.stderr.exp-glibc28-amd64 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/hackedbz2.stderr.exp-glibc28-amd64 2011-05-17 15:52:28 UTC (rev 11763)
@@ -9,8 +9,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (hackedbz2.c:5638)
by 0x........: main (hackedbz2.c:6484)
Address 0x........ expected vs actual:
- Expected: global array "myprintf_buf" in object with soname "NONE"
+ Expected: global array "myprintf_buf" of size 70 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/exp-sgcheck/tests/hsg.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/hsg.stderr.exp 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/hsg.stderr.exp 2011-05-17 15:52:28 UTC (rev 11763)
@@ -3,7 +3,7 @@
<valgrindoutput>
<protocolversion>4</protocolversion>
-<protocoltool>exp-ptrcheck</protocoltool>
+<protocoltool>exp-sgcheck</protocoltool>
<preamble>
<line>...</line>
@@ -15,7 +15,7 @@
<pid>...</pid>
<ppid>...</ppid>
-<tool>exp-ptrcheck</tool>
+<tool>exp-sgcheck</tool>
<args>
<vargv>...</vargv>
@@ -53,7 +53,7 @@
</frame>
</stack>
<auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: global array "ga" in object with soname "NONE"</auxwhat>
+ <auxwhat>Expected: global array "ga" of size 200 in object with soname "NONE"</auxwhat>
<auxwhat>Actual: unknown</auxwhat>
</error>
@@ -89,117 +89,11 @@
</frame>
</stack>
<auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: stack array "la" in frame 1 back from here</auxwhat>
+ <auxwhat>Expected: stack array "la" of size 200 in frame 1 back from here</auxwhat>
<auxwhat>Actual: unknown</auxwhat>
</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>Heap</kind>
- <what>Invalid read of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 1 bytes before the accessing pointer's</auxwhat>
- <auxwhat>legitimate range, a block of size 100 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>Heap</kind>
- <what>Invalid read of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 50 bytes inside the accessing pointer's</auxwhat>
- <auxwhat>once-legitimate range, a block of size 100 free'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>free</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-
<status>
<state>FINISHED</state>
<time>...</time>
@@ -214,14 +108,6 @@
<count>...</count>
<unique>0x........</unique>
</pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
</errorcounts>
<suppcounts>...</suppcounts>
Modified: trunk/exp-sgcheck/tests/preen_invars.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/preen_invars.stderr.exp-glibc28-amd64 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/preen_invars.stderr.exp-glibc28-amd64 2011-05-17 15:52:28 UTC (rev 11763)
@@ -3,7 +3,7 @@
at 0x........: main (preen_invars.c:22)
Address 0x........ expected vs actual:
Expected: unknown
- Actual: global array "im_a_global_arr" in object with soname "preen_invars_so"
+ Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64 2011-05-17 15:36:01 UTC (rev 11762)
+++ trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64 2011-05-17 15:52:28 UTC (rev 11763)
@@ -4,14 +4,16 @@
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" in this frame
+ Expected: stack array "a" of size 56 in this frame
Actual: unknown
+ Actual: is 0 after Expected
Invalid write of size 1
at 0x........: _IO_default_xsputn (in /...libc...)
@@ -20,8 +22,9 @@
by 0x........: ...
by 0x........: main (stackerr.c:49)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 4 back from here
+ Expected: stack array "buf" of size 8 in frame 4 back from here
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
|