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
14
15--------- disabled (expect 0) ---------
16
17
18--------- re-enabled (expect 1) ---------
19
20Invalid read of size 1
21   at 0x........: err (err_disable1.c:21)
22   by 0x........: main (err_disable1.c:42)
23 Address 0x........ is 5 bytes inside a block of size 10 free'd
24   at 0x........: free (vg_replace_malloc.c:...)
25   by 0x........: main (err_disable1.c:27)
26
27
28--------- MULTI-LEVEL TEST (expect 2) ---------
29
30Invalid read of size 1
31   at 0x........: err (err_disable1.c:21)
32   by 0x........: main (err_disable1.c:67)
33 Address 0x........ is 5 bytes inside a block of size 10 free'd
34   at 0x........: free (vg_replace_malloc.c:...)
35   by 0x........: main (err_disable1.c:27)
36
37Invalid read of size 1
38   at 0x........: err (err_disable1.c:21)
39   by 0x........: main (err_disable1.c:70)
40 Address 0x........ is 5 bytes inside a block of size 10 free'd
41   at 0x........: free (vg_replace_malloc.c:...)
42   by 0x........: main (err_disable1.c:27)
43
44
45--------- MULTI-LEVEL TEST end ---------
46
47