summaryrefslogtreecommitdiff
path: root/exp-sgcheck/tests/add.stderr.exp
blob: e4e0f11f47e51d0598d273569e0fd6f45dd75706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

about to do 14 [0]
Invalid read of size 4
   at 0x........: main (add.c:14)
 Address 0x........ is not derived from any known block
about to do 14 [-1]

Invalid read of size 4
   at 0x........: main (add.c:14)
 Address 0x........ is not derived from any known block
about to do 16 [0]
about to do 16 [-1]

Invalid read of size 4
   at 0x........: main (add.c:16)
 Address 0x........ is 4 bytes before the accessing pointer's
 legitimate range, a block of size 40 alloc'd
   at 0x........: malloc (vg_replace_malloc.c:...)
   by 0x........: main (arith_include2.c:22)
about to do 18 [0]
about to do 18 [-1]

Invalid read of size 4
   at 0x........: main (add.c:18)
 Address 0x........ is 4 bytes before the accessing pointer's
 legitimate range, a block of size 40 alloc'd
   at 0x........: malloc (vg_replace_malloc.c:...)
   by 0x........: main (arith_include2.c:22)

Invalid arguments to Add32/Add64
   at 0x........: main (add.c:20)
 Both args derived from address 0x........ of 40-byte block alloc'd
   at 0x........: malloc (vg_replace_malloc.c:...)
   by 0x........: main (arith_include2.c:22)
about to do 20 [0]

Invalid read of size 4
   at 0x........: main (add.c:20)
 Address 0x........ is not derived from any known block
about to do 20 [-1]

Invalid read of size 4
   at 0x........: main (add.c:20)
 Address 0x........ is not derived from any known block
about to do 22 [0]
about to do 22 [-1]
about to do 23 [0]
about to do 23 [-1]
about to do 25 [0]
about to do 25 [-1]
about to do 26 [0]
about to do 26 [-1]
about to do 28 [0]
about to do 28 [-1]
about to do 29 [0]
about to do 29 [-1]
about to do 30 [0]
about to do 30 [-1]
about to do 31 [0]
about to do 31 [-1]
about to do 33 [0]
about to do 33 [-1]
about to do 34 [0]
about to do 34 [-1]
about to do 36 [0]
about to do 36 [-1]
about to do 37 [0]
about to do 37 [-1]

ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)