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

Method Disasm

driver/driver.go:277–287  ·  view source on GitHub ↗
(file string, start, end uint64, intelSyntax bool)

Source from the content-addressed store, hash-verified

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)
279 if err != nil {
280 return nil, err
281 }
282 var pluginInst []plugin.Inst
283 for _, inst := range insts {
284 pluginInst = append(pluginInst, plugin.Inst(inst))
285 }
286 return pluginInst, nil
287}
288
289// internalSymbolizer is a wrapper to map from the pprof external
290// interface to the internal interface.

Callers

nothing calls this directly

Calls 2

InstStruct · 0.92
DisasmMethod · 0.65

Tested by

no test coverage detected