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

Method ObjAddr

internal/driver/driver_test.go:1670–1672  ·  view source on GitHub ↗

ObjAddr returns the objdump address corresponding to a runtime address.

(addr uint64)

Source from the content-addressed store, hash-verified

1668
1669// ObjAddr returns the objdump address corresponding to a runtime address.
1670func (m *mockFile) ObjAddr(addr uint64) (uint64, error) {
1671 return addr - m.base, nil
1672}
1673
1674// BuildID returns the GNU build ID of the file, or an empty string.
1675func (m *mockFile) BuildID() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected