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

Method Symbols

driver/driver.go:264–275  ·  view source on GitHub ↗
(r *regexp.Regexp, addr uint64)

Source from the content-addressed store, hash-verified

262}
263
264func (f *internalObjFile) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym, error) {
265 syms, err := f.ObjFile.Symbols(r, addr)
266 if err != nil {
267 return nil, err
268 }
269 var pluginSyms []*plugin.Sym
270 for _, s := range syms {
271 ps := plugin.Sym(*s)
272 pluginSyms = append(pluginSyms, &ps)
273 }
274 return pluginSyms, nil
275}
276
277func (o *internalObjTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) {
278 insts, err := o.ObjTool.Disasm(file, start, end, intelSyntax)

Callers

nothing calls this directly

Calls 2

SymStruct · 0.92
SymbolsMethod · 0.65

Tested by

no test coverage detected