(file string, start, end uint64, intelSyntax bool)
| 95 | } |
| 96 | |
| 97 | func (obj fakeObjTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]driver.Inst, error) { |
| 98 | return []driver.Inst{ |
| 99 | {Addr: addrBase + 10, Text: "f1:asm", Function: "F1", Line: 3}, |
| 100 | {Addr: addrBase + 20, Text: "f2:asm", Function: "F2", Line: 11}, |
| 101 | {Addr: addrBase + 30, Text: "d3:asm", Function: "F3", Line: 22}, |
| 102 | }, nil |
| 103 | } |
| 104 | |
| 105 | func makeFakeProfile() *profile.Profile { |
| 106 | // Three functions: F1, F2, F3 with three lines, 11, 22, 33. |
nothing calls this directly
no outgoing calls
no test coverage detected