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

Method Symbols

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

Symbols returns a list of symbols in the object file. If r is not nil, Symbols restricts the list to symbols with names matching the regular expression. If addr is not zero, Symbols restricts the list to symbols containing that address.

(r *regexp.Regexp, addr uint64)

Source from the content-addressed store, hash-verified

180 // If addr is not zero, Symbols restricts the list to symbols
181 // containing that address.
182 Symbols(r *regexp.Regexp, addr uint64) ([]*Sym, error)
183
184 // Close closes the file, releasing associated resources.
185 Close() error

Callers 6

openELFMethod · 0.65
TestObjFileFunction · 0.65
TestMachoFilesFunction · 0.65
TestPEFileFunction · 0.65
symbolsFromBinariesFunction · 0.65
SymbolsMethod · 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 3

TestObjFileFunction · 0.52
TestMachoFilesFunction · 0.52
TestPEFileFunction · 0.52