blob: 7b12b2aff77ea7a7989dcc0c0f1341fcb1c65ce0 [file] [log] [blame]
Alan Donovan73473792016-02-11 17:57:17 -05001-------- @pointsto const --------
2
3Error: pointer analysis wants an expression of reference type; got untyped float
4-------- @pointsto func-ref-main --------
5this func() may point to these objects:
Alan Donovan2327a652016-02-25 17:06:15 -05006 pointsto.main
Alan Donovan73473792016-02-11 17:57:17 -05007
8-------- @pointsto func-ref-*C.f --------
9this func() may point to these objects:
Alan Donovan2327a652016-02-25 17:06:15 -050010 (*pointsto.C).f
Alan Donovan73473792016-02-11 17:57:17 -050011
12-------- @pointsto func-ref-D.f --------
13this func() may point to these objects:
Alan Donovan2327a652016-02-25 17:06:15 -050014 (pointsto.D).f
Alan Donovan73473792016-02-11 17:57:17 -050015
16-------- @pointsto func-ref-I.f --------
17
Alan Donovan2327a652016-02-25 17:06:15 -050018Error: func (pointsto.I).f() is an interface method
Alan Donovan73473792016-02-11 17:57:17 -050019-------- @pointsto func-ref-d.f --------
20this func() may point to these objects:
Alan Donovan2327a652016-02-25 17:06:15 -050021 (pointsto.D).f
Alan Donovan73473792016-02-11 17:57:17 -050022
23-------- @pointsto func-ref-i.f --------
24
Alan Donovan2327a652016-02-25 17:06:15 -050025Error: func (pointsto.I).f() is an interface method
Alan Donovan73473792016-02-11 17:57:17 -050026-------- @pointsto ref-lexical-d.f --------
27this func() may point to these objects:
Alan Donovan2327a652016-02-25 17:06:15 -050028 (pointsto.D).f
Alan Donovan73473792016-02-11 17:57:17 -050029
30-------- @pointsto ref-anon --------
31this func() may point to these objects:
Alan Donovan2327a652016-02-25 17:06:15 -050032 pointsto.main$1
Alan Donovan73473792016-02-11 17:57:17 -050033
34-------- @pointsto ref-global --------
35this *string may point to these objects:
36 new
37
38-------- @pointsto var-def-x-1 --------
39this *int may point to these objects:
40 a
41
42-------- @pointsto var-ref-x-1 --------
43this *int may point to these objects:
44 a
45
46-------- @pointsto var-def-x-2 --------
47this *int may point to these objects:
48 b
49
50-------- @pointsto var-ref-x-2 --------
51this *int may point to these objects:
52 b
53
54-------- @pointsto var-ref-i-C --------
55this I may contain these dynamic types:
56 *C, may point to:
57 new
58
59-------- @pointsto var-ref-i-D --------
60this I may contain these dynamic types:
61 D
62
63-------- @pointsto var-ref-i --------
64this I may contain these dynamic types:
65 *C, may point to:
66 new
67 D
68
69-------- @pointsto map-lookup,ok --------
70
71Error: pointer analysis wants an expression of reference type; got (*int, bool)
72-------- @pointsto mapval --------
73this *int may point to these objects:
74 a
75
76-------- @pointsto m --------
77this map[string]*int may point to these objects:
78 makemap
79
80-------- @pointsto builtin-panic --------
81
82Error: pointer analysis wants an expression of reference type; got ()
83-------- @pointsto var-ref-s-f --------
84this interface{} may contain these dynamic types:
85 chan bool, may point to:
86 makechan
87
88-------- @pointsto func-live --------
89
90Error: pointer analysis did not find expression (dead code?)
91-------- @pointsto func-dead --------
92
93Error: pointer analysis did not find expression (dead code?)
94-------- @pointsto b --------
95
96Error: pointer analysis did not find expression (dead code?)