(r *regexp.Regexp, addr uint64)
| 72 | return nil, fmt.Errorf("SourceLine unimplemented") |
| 73 | } |
| 74 | func (f fakeObj) Symbols(r *regexp.Regexp, addr uint64) ([]*driver.Sym, error) { |
| 75 | return []*driver.Sym{ |
| 76 | { |
| 77 | Name: []string{"F1"}, File: fakeSource, |
| 78 | Start: addrBase, End: addrBase + 10, |
| 79 | }, |
| 80 | { |
| 81 | Name: []string{"F2"}, File: fakeSource, |
| 82 | Start: addrBase + 10, End: addrBase + 20, |
| 83 | }, |
| 84 | { |
| 85 | Name: []string{"F3"}, File: fakeSource, |
| 86 | Start: addrBase + 20, End: addrBase + 30, |
| 87 | }, |
| 88 | }, nil |
| 89 | } |
| 90 | |
| 91 | type fakeObjTool struct{} |
| 92 |
nothing calls this directly
no outgoing calls
no test coverage detected