Home | History | Annotate | Download | only in tests
      1 
      2 Doing invalid access.  Expect complaint.
      3 
      4 Invalid write of size 4
      5    at 0x........: main (err_disable_arange1.c:19)
      6  Address 0x........ is 492 bytes inside a block of size 4,000 free'd
      7    at 0x........: free (vg_replace_malloc.c:...)
      8    by 0x........: main (err_disable_arange1.c:15)
      9  Block was alloc'd at
     10    at 0x........: malloc (vg_replace_malloc.c:...)
     11    by 0x........: main (err_disable_arange1.c:14)
     12 
     13 
     14 Disabling address error reporting for the range.
     15 
     16 
     17 Doing invalid another access.  Expect no complaint.
     18 
     19 
     20 Partially reenabling address error reporting.
     21 
     22 
     23 Doing a third access.  Expect complaint.
     24 
     25 Invalid write of size 4
     26    at 0x........: main (err_disable_arange1.c:35)
     27  Address 0x........ is 3,156 bytes inside a block of size 4,000 free'd
     28    at 0x........: free (vg_replace_malloc.c:...)
     29    by 0x........: main (err_disable_arange1.c:15)
     30  Block was alloc'd at
     31    at 0x........: malloc (vg_replace_malloc.c:...)
     32    by 0x........: main (err_disable_arange1.c:14)
     33 
     34 
     35 Exiting.  Expect warnings of 2 remaining ranges.
     36 
     37 WARNING: exiting program has the following client-requested
     38 WARNING: address error disablement range(s) still in force,
     39 WARNING: possibly as a result of some mistake in the use of the
     40 WARNING: VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING_IN_RANGE macros.
     41    [4]  0x........-0x........  ClientReq
     42    [6]  0x........-0x........  ClientReq
     43