Home | History | Annotate | Download | only in tests
      1 <?xml version="1.0"?>
      2 
      3 <valgrindoutput>
      4 
      5 <protocolversion>4</protocolversion>
      6 <protocoltool>exp-ptrcheck</protocoltool>
      7 
      8 <preamble>
      9   <line>...</line>
     10   <line>...</line>
     11   <line>...</line>
     12   <line>...</line>
     13   <line>...</line>
     14 </preamble>
     15 
     16 <pid>...</pid>
     17 <ppid>...</ppid>
     18 <tool>exp-ptrcheck</tool>
     19 
     20 <args>
     21   <vargv>...</vargv>
     22   <argv>
     23     <exe>./hsg</exe>
     24   </argv>
     25 </args>
     26 
     27 <status>
     28   <state>RUNNING</state>
     29   <time>...</time>
     30 </status>
     31 
     32 <error>
     33   <unique>0x........</unique>
     34   <tid>...</tid>
     35   <kind>SorG</kind>
     36   <what>Invalid read of size 2</what>
     37   <stack>
     38     <frame>
     39       <ip>0x........</ip>
     40       <obj>...</obj>
     41       <fn>addup_wrongly</fn>
     42       <dir>...</dir>
     43       <file>hsg.c</file>
     44       <line>...</line>
     45     </frame>
     46     <frame>
     47       <ip>0x........</ip>
     48       <obj>...</obj>
     49       <fn>main</fn>
     50       <dir>...</dir>
     51       <file>hsg.c</file>
     52       <line>...</line>
     53     </frame>
     54   </stack>
     55   <auxwhat>Address 0x........ expected vs actual:</auxwhat>
     56   <auxwhat>Expected: global array "ga" in object with soname "NONE"</auxwhat>
     57   <auxwhat>Actual:   unknown</auxwhat>
     58 </error>
     59 
     60 <error>
     61   <unique>0x........</unique>
     62   <tid>...</tid>
     63   <kind>SorG</kind>
     64   <what>Invalid read of size 2</what>
     65   <stack>
     66     <frame>
     67       <ip>0x........</ip>
     68       <obj>...</obj>
     69       <fn>addup_wrongly</fn>
     70       <dir>...</dir>
     71       <file>hsg.c</file>
     72       <line>...</line>
     73     </frame>
     74     <frame>
     75       <ip>0x........</ip>
     76       <obj>...</obj>
     77       <fn>do_other_stuff</fn>
     78       <dir>...</dir>
     79       <file>hsg.c</file>
     80       <line>...</line>
     81     </frame>
     82     <frame>
     83       <ip>0x........</ip>
     84       <obj>...</obj>
     85       <fn>main</fn>
     86       <dir>...</dir>
     87       <file>hsg.c</file>
     88       <line>...</line>
     89     </frame>
     90   </stack>
     91   <auxwhat>Address 0x........ expected vs actual:</auxwhat>
     92   <auxwhat>Expected: stack array "la" in frame 1 back from here</auxwhat>
     93   <auxwhat>Actual:   unknown</auxwhat>
     94 </error>
     95 
     96 <error>
     97   <unique>0x........</unique>
     98   <tid>...</tid>
     99   <kind>Heap</kind>
    100   <what>Invalid read of size 1</what>
    101   <stack>
    102     <frame>
    103       <ip>0x........</ip>
    104       <obj>...</obj>
    105       <fn>do_stupid_malloc_stuff</fn>
    106       <dir>...</dir>
    107       <file>hsg.c</file>
    108       <line>...</line>
    109     </frame>
    110     <frame>
    111       <ip>0x........</ip>
    112       <obj>...</obj>
    113       <fn>main</fn>
    114       <dir>...</dir>
    115       <file>hsg.c</file>
    116       <line>...</line>
    117     </frame>
    118   </stack>
    119   <auxwhat>Address 0x........ is 1 bytes before the accessing pointer's</auxwhat>
    120   <auxwhat>legitimate range, a block of size 100 alloc'd</auxwhat>
    121   <stack>
    122     <frame>
    123       <ip>0x........</ip>
    124       <obj>...</obj>
    125       <fn>malloc</fn>
    126       <dir>...</dir>
    127       <file>vg_replace_malloc.c</file>
    128       <line>...</line>
    129     </frame>
    130     <frame>
    131       <ip>0x........</ip>
    132       <obj>...</obj>
    133       <fn>do_stupid_malloc_stuff</fn>
    134       <dir>...</dir>
    135       <file>hsg.c</file>
    136       <line>...</line>
    137     </frame>
    138     <frame>
    139       <ip>0x........</ip>
    140       <obj>...</obj>
    141       <fn>main</fn>
    142       <dir>...</dir>
    143       <file>hsg.c</file>
    144       <line>...</line>
    145     </frame>
    146   </stack>
    147 </error>
    148 
    149 <error>
    150   <unique>0x........</unique>
    151   <tid>...</tid>
    152   <kind>Heap</kind>
    153   <what>Invalid read of size 1</what>
    154   <stack>
    155     <frame>
    156       <ip>0x........</ip>
    157       <obj>...</obj>
    158       <fn>do_stupid_malloc_stuff</fn>
    159       <dir>...</dir>
    160       <file>hsg.c</file>
    161       <line>...</line>
    162     </frame>
    163     <frame>
    164       <ip>0x........</ip>
    165       <obj>...</obj>
    166       <fn>main</fn>
    167       <dir>...</dir>
    168       <file>hsg.c</file>
    169       <line>...</line>
    170     </frame>
    171   </stack>
    172   <auxwhat>Address 0x........ is 50 bytes inside the accessing pointer's</auxwhat>
    173   <auxwhat>once-legitimate range, a block of size 100 free'd</auxwhat>
    174   <stack>
    175     <frame>
    176       <ip>0x........</ip>
    177       <obj>...</obj>
    178       <fn>free</fn>
    179       <dir>...</dir>
    180       <file>vg_replace_malloc.c</file>
    181       <line>...</line>
    182     </frame>
    183     <frame>
    184       <ip>0x........</ip>
    185       <obj>...</obj>
    186       <fn>do_stupid_malloc_stuff</fn>
    187       <dir>...</dir>
    188       <file>hsg.c</file>
    189       <line>...</line>
    190     </frame>
    191     <frame>
    192       <ip>0x........</ip>
    193       <obj>...</obj>
    194       <fn>main</fn>
    195       <dir>...</dir>
    196       <file>hsg.c</file>
    197       <line>...</line>
    198     </frame>
    199   </stack>
    200 </error>
    201 
    202 
    203 <status>
    204   <state>FINISHED</state>
    205   <time>...</time>
    206 </status>
    207 
    208 <errorcounts>
    209   <pair>
    210     <count>...</count>
    211     <unique>0x........</unique>
    212   </pair>
    213   <pair>
    214     <count>...</count>
    215     <unique>0x........</unique>
    216   </pair>
    217   <pair>
    218     <count>...</count>
    219     <unique>0x........</unique>
    220   </pair>
    221   <pair>
    222     <count>...</count>
    223     <unique>0x........</unique>
    224   </pair>
    225 </errorcounts>
    226 
    227 <suppcounts>...</suppcounts>
    228 
    229 </valgrindoutput>
    230 
    231