1
2--------- SIMPLE TEST ---------
3
4
5--------- enabled (expect 1) ---------
6
7Invalid read of size 1
8   at 0x........: err (err_disable1.c:21)
9   by 0x........: main (err_disable1.c:32)
10 Address 0x........ is 5 bytes inside a block of size 10 free'd
11   at 0x........: free (vg_replace_malloc.c:...)
12   by 0x........: main (err_disable1.c:27)
13 Block was alloc'd at
14   at 0x........: malloc (vg_replace_malloc.c:...)
15   by 0x........: main (err_disable1.c:26)
16
17
18--------- disabled (expect 0) ---------
19
20
21--------- re-enabled (expect 1) ---------
22
23Invalid read of size 1
24   at 0x........: err (err_disable1.c:21)
25   by 0x........: main (err_disable1.c:42)
26 Address 0x........ is 5 bytes inside a block of size 10 free'd
27   at 0x........: free (vg_replace_malloc.c:...)
28   by 0x........: main (err_disable1.c:27)
29 Block was alloc'd at
30   at 0x........: malloc (vg_replace_malloc.c:...)
31   by 0x........: main (err_disable1.c:26)
32
33
34--------- MULTI-LEVEL TEST (expect 2) ---------
35
36Invalid read of size 1
37   at 0x........: err (err_disable1.c:21)
38   by 0x........: main (err_disable1.c:67)
39 Address 0x........ is 5 bytes inside a block of size 10 free'd
40   at 0x........: free (vg_replace_malloc.c:...)
41   by 0x........: main (err_disable1.c:27)
42 Block was alloc'd at
43   at 0x........: malloc (vg_replace_malloc.c:...)
44   by 0x........: main (err_disable1.c:26)
45
46Invalid read of size 1
47   at 0x........: err (err_disable1.c:21)
48   by 0x........: main (err_disable1.c:70)
49 Address 0x........ is 5 bytes inside a block of size 10 free'd
50   at 0x........: free (vg_replace_malloc.c:...)
51   by 0x........: main (err_disable1.c:27)
52 Block was alloc'd at
53   at 0x........: malloc (vg_replace_malloc.c:...)
54   by 0x........: main (err_disable1.c:26)
55
56
57--------- MULTI-LEVEL TEST end ---------
58
59