github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/oracle/testdata/src/main/calls.golden (about) 1 -------- @pointsto pointsto-A-x -------- 2 this *int may point to these objects: 3 a 4 b 5 6 -------- @callstack callstack-A -------- 7 Found a call path from root to main.A 8 main.A 9 dynamic function call from main.apply 10 static function call from main.main 11 12 -------- @pointsto pointsto-B-x -------- 13 this *int may point to these objects: 14 a 15 b 16 17 -------- @callers callers-B -------- 18 main.B is called from these 1 sites: 19 dynamic function call from main.apply 20 21 -------- @callees callees-apply -------- 22 this dynamic function call dispatches to: 23 main.A 24 main.B 25 26 -------- @callers callers-apply -------- 27 main.apply is called from these 2 sites: 28 static function call from main.main 29 static function call from main.main 30 31 -------- @callers callers-store -------- 32 main.store is called from these 2 sites: 33 static function call from main.main 34 static function call from main.main 35 36 -------- @pointsto pointsto-result-f -------- 37 this func() *int may point to these objects: 38 main.main$1 39 40 -------- @callees callees-main.call-f -------- 41 this dynamic function call dispatches to: 42 main.main$1 43 44 -------- @callers callers-main.call -------- 45 main.call is called from these 2 sites: 46 static function call from main.main 47 static function call from main.main 48 49 -------- @callees callees-main-apply1 -------- 50 this static function call dispatches to: 51 main.apply 52 53 -------- @pointsto pointsto-pc -------- 54 this *int may point to these objects: 55 c 56 57 -------- @pointsto pointsto-pd -------- 58 this *int may point to these objects: 59 d 60 61 -------- @callees callees-err-no-call -------- 62 63 Error: there is no function call here 64 -------- @callees callees-err-builtin -------- 65 66 Error: this is a call to the built-in 'print' operator 67 -------- @callees callees-err-conversion -------- 68 69 Error: this is a type conversion, not a function call 70 -------- @callees callees-err-bad-selection -------- 71 72 Error: ambiguous selection within function call (or conversion) 73 -------- @callees callees-err-deadcode1 -------- 74 this static function call dispatches to: 75 main.main 76 77 -------- @callees callees-err-nil-func -------- 78 dynamic function call on nil value 79 80 -------- @callees callees-err-nil-interface -------- 81 dynamic method call on nil value 82 83 -------- @callees callees-not-a-wrapper -------- 84 this dynamic method call dispatches to: 85 (main.myint).f 86 87 -------- @callers callers-not-a-wrapper -------- 88 (main.myint).f is called from these 1 sites: 89 dynamic method call from main.main 90 91 -------- @callees callees-err-deadcode2 -------- 92 this static function call dispatches to: 93 main.main 94 95 -------- @callstack callstack-err-deadcode -------- 96 main.deadcode is unreachable in this analysis scope 97 98 -------- @callees callees-err-deadcode3 -------- 99 100 Error: this call site is unreachable in this analysis 101 -------- @callers callers-global -------- 102 main.init is called from these 1 sites: 103 the root of the call graph 104 105 -------- @callstack callstack-init -------- 106 Found a call path from root to main.init#1 107 main.init#1 108 static function call from main.init 109