MCPcopy Create free account
hub / github.com/google/pprof / Open

Method Open

internal/driver/driver_test.go:1630–1632  ·  view source on GitHub ↗
(file string, start, limit, offset uint64, relocationSymbol string)

Source from the content-addressed store, hash-verified

1628type mockObjTool struct{}
1629
1630func (*mockObjTool) Open(file string, start, limit, offset uint64, relocationSymbol string) (plugin.ObjFile, error) {
1631 return &mockFile{file, "abcdef", 0}, nil
1632}
1633
1634func (m *mockObjTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) {
1635 const fn1 = "line1000"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected