Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 1 | -------- @pointsto const -------- |
| 2 | |
| 3 | Error: pointer analysis wants an expression of reference type; got untyped float |
| 4 | -------- @pointsto func-ref-main -------- |
| 5 | this func() may point to these objects: |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 6 | pointsto.main |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 7 | |
| 8 | -------- @pointsto func-ref-*C.f -------- |
| 9 | this func() may point to these objects: |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 10 | (*pointsto.C).f |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 11 | |
| 12 | -------- @pointsto func-ref-D.f -------- |
| 13 | this func() may point to these objects: |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 14 | (pointsto.D).f |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 15 | |
| 16 | -------- @pointsto func-ref-I.f -------- |
| 17 | |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 18 | Error: func (pointsto.I).f() is an interface method |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 19 | -------- @pointsto func-ref-d.f -------- |
| 20 | this func() may point to these objects: |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 21 | (pointsto.D).f |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 22 | |
| 23 | -------- @pointsto func-ref-i.f -------- |
| 24 | |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 25 | Error: func (pointsto.I).f() is an interface method |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 26 | -------- @pointsto ref-lexical-d.f -------- |
| 27 | this func() may point to these objects: |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 28 | (pointsto.D).f |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 29 | |
| 30 | -------- @pointsto ref-anon -------- |
| 31 | this func() may point to these objects: |
Alan Donovan | 2327a65 | 2016-02-25 17:06:15 -0500 | [diff] [blame] | 32 | pointsto.main$1 |
Alan Donovan | 7347379 | 2016-02-11 17:57:17 -0500 | [diff] [blame] | 33 | |
| 34 | -------- @pointsto ref-global -------- |
| 35 | this *string may point to these objects: |
| 36 | new |
| 37 | |
| 38 | -------- @pointsto var-def-x-1 -------- |
| 39 | this *int may point to these objects: |
| 40 | a |
| 41 | |
| 42 | -------- @pointsto var-ref-x-1 -------- |
| 43 | this *int may point to these objects: |
| 44 | a |
| 45 | |
| 46 | -------- @pointsto var-def-x-2 -------- |
| 47 | this *int may point to these objects: |
| 48 | b |
| 49 | |
| 50 | -------- @pointsto var-ref-x-2 -------- |
| 51 | this *int may point to these objects: |
| 52 | b |
| 53 | |
| 54 | -------- @pointsto var-ref-i-C -------- |
| 55 | this I may contain these dynamic types: |
| 56 | *C, may point to: |
| 57 | new |
| 58 | |
| 59 | -------- @pointsto var-ref-i-D -------- |
| 60 | this I may contain these dynamic types: |
| 61 | D |
| 62 | |
| 63 | -------- @pointsto var-ref-i -------- |
| 64 | this I may contain these dynamic types: |
| 65 | *C, may point to: |
| 66 | new |
| 67 | D |
| 68 | |
| 69 | -------- @pointsto map-lookup,ok -------- |
| 70 | |
| 71 | Error: pointer analysis wants an expression of reference type; got (*int, bool) |
| 72 | -------- @pointsto mapval -------- |
| 73 | this *int may point to these objects: |
| 74 | a |
| 75 | |
| 76 | -------- @pointsto m -------- |
| 77 | this map[string]*int may point to these objects: |
| 78 | makemap |
| 79 | |
| 80 | -------- @pointsto builtin-panic -------- |
| 81 | |
| 82 | Error: pointer analysis wants an expression of reference type; got () |
| 83 | -------- @pointsto var-ref-s-f -------- |
| 84 | this interface{} may contain these dynamic types: |
| 85 | chan bool, may point to: |
| 86 | makechan |
| 87 | |
| 88 | -------- @pointsto func-live -------- |
| 89 | |
| 90 | Error: pointer analysis did not find expression (dead code?) |
| 91 | -------- @pointsto func-dead -------- |
| 92 | |
| 93 | Error: pointer analysis did not find expression (dead code?) |
| 94 | -------- @pointsto b -------- |
| 95 | |
| 96 | Error: pointer analysis did not find expression (dead code?) |