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

Method ObjAddr

driver/driver.go:166–166  ·  view source on GitHub ↗

ObjAddr returns the objdump address corresponding to a runtime address.

(addr uint64)

Source from the content-addressed store, hash-verified

164
165 // ObjAddr returns the objdump address corresponding to a runtime address.
166 ObjAddr(addr uint64) (uint64, error)
167
168 // BuildID returns the GNU build ID of the file, or an empty string.
169 BuildID() string

Callers 7

TestObjFileFunction · 0.65
TestPEFileFunction · 0.65
TestELFObjAddrFunction · 0.65
TestELFKernelOffsetFunction · 0.65
expandAddressesMethod · 0.65
nodesPerSymbolFunction · 0.65
annotateAssemblyFunction · 0.65

Implementers 6

fileinternal/binutils/binutils.go
testFileinternal/driver/fetch_test.go
fakeObjinternal/driver/webui_test.go
mockFileinternal/driver/driver_test.go
mockObjFileinternal/symbolizer/symbolizer_test.go
fakeObjbrowsertests/testutils.go

Calls

no outgoing calls

Tested by 4

TestObjFileFunction · 0.52
TestPEFileFunction · 0.52
TestELFObjAddrFunction · 0.52
TestELFKernelOffsetFunction · 0.52