|
From: <sv...@va...> - 2005-05-24 15:00:59
|
Author: sewardj
Date: 2005-05-24 16:00:55 +0100 (Tue, 24 May 2005)
New Revision: 3797
Modified:
trunk/README_XML_OUTPUT.txt
trunk/memcheck/tests/xml1.stderr.exp
Log:
More XML output futzing.
Modified: trunk/README_XML_OUTPUT.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/README_XML_OUTPUT.txt 2005-05-24 14:46:02 UTC (rev 3796)
+++ trunk/README_XML_OUTPUT.txt 2005-05-24 15:00:55 UTC (rev 3797)
@@ -59,8 +59,10 @@
=20
The output format
~~~~~~~~~~~~~~~~~
-For the most part this should be self descriptive. It is printed
-in a sort-of human-readable way for easy understanding.
+For the most part this should be self descriptive. It is printed in a
+sort-of human-readable way for easy understanding. You may want to
+read the rest of this together with the results of "valgrind --xml=3Dyes
+memcheck/tests/xml1" as an example.
=20
All tags are balanced: a <foo> tag is always closed by </foo>. Hence
in the description that follows, mention of a tag <foo> implicitly
@@ -72,7 +74,7 @@
The following nonterminals are not described further:
INT is a 64-bit signed decimal integer.
TEXT is arbitrary text.
- HEX64 is a 64-bit hexadecimal number.
+ HEX64 is a 64-bit hexadecimal number, with leading "0x".
=20
=20
TOPLEVEL
@@ -314,7 +316,7 @@
unique tag </unique>. The counts do not have to give a count for each
error so far presented - partial information is allowable.
=20
-As at Valgrind rev 3792, error counts are only emitted at program
+As at Valgrind rev 3793, error counts are only emitted at program
termination. However, it is perfectly acceptable to periodically emit
error counts as the program is running. Doing so would facilitate a
GUI to dynamically update its error-count display as the program runs.
Modified: trunk/memcheck/tests/xml1.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/xml1.stderr.exp 2005-05-24 14:46:02 UTC (rev 379=
6)
+++ trunk/memcheck/tests/xml1.stderr.exp 2005-05-24 15:00:55 UTC (rev 379=
7)
@@ -26,18 +26,18 @@
<kind>InvalidRead</kind>
<what>Invalid read of size 4</what>
<stack>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>11</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 40 alloc'=
d</auxwhat>
<stack>
<frame><ip>0x........</ip><obj>...</obj><fn>malloc</fn><file>vg_repl=
ace_malloc.c</file><line>220</line></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>8</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
</error>
=20
@@ -47,10 +47,10 @@
<kind>UninitCondition</kind>
<what>Conditional jump or move depends on uninitialised value(s)</what=
>
<stack>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>14</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
</error>
=20
@@ -60,10 +60,10 @@
<kind>UninitValue</kind>
<what>Use of uninitialised value of size 4</what>
<stack>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>21</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
</error>
=20
@@ -74,18 +74,18 @@
<what>Invalid free() / delete / delete[]</what>
<stack>
<frame><ip>0x........</ip><obj>...</obj><fn>free</fn><file>vg_replac=
e_malloc.c</file><line>306</line></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>25</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes inside a block of size 40 free'=
d</auxwhat>
<stack>
<frame><ip>0x........</ip><obj>...</obj><fn>free</fn><file>vg_replac=
e_malloc.c</file><line>306</line></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>24</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
</error>
=20
@@ -96,10 +96,10 @@
<what>Invalid free() / delete / delete[]</what>
<stack>
<frame><ip>0x........</ip><obj>...</obj><fn>free</fn><file>vg_replac=
e_malloc.c</file><line>306</line></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>28</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
<auxwhat>Address 0x........ is on thread 1's stack</auxwhat>
</error>
@@ -140,10 +140,10 @@
<leakedblocks>1</leakedblocks>
<stack>
<frame><ip>0x........</ip><obj>...</obj><fn>malloc</fn><file>vg_repl=
ace_malloc.c</file><line>220</line></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn></frame>
- <frame><ip>0x........</ip><obj>...</obj><fn>main</fn></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame3</fn><file>xml1.c<=
/file><line>31</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame2</fn><file>xml1.c<=
/file><line>39</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>frame1</fn><file>xml1.c<=
/file><line>44</line></frame>
+ <frame><ip>0x........</ip><obj>...</obj><fn>main</fn><file>xml1.c</f=
ile><line>49</line></frame>
</stack>
</error>
=20
|