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

Struct file

internal/binutils/binutils.go:576–587  ·  view source on GitHub ↗

file implements the binutils.ObjFile interface.

Source from the content-addressed store, hash-verified

574
575// file implements the binutils.ObjFile interface.
576type file struct {
577 b *binrep
578 name string
579 buildID string
580
581 baseOnce sync.Once // Ensures the base, baseErr and isData are computed once.
582 base uint64
583 baseErr error // Any eventual error while computing the base.
584 isData bool
585 // Mapping information. Relevant only for ELF files, nil otherwise.
586 m *elfMapping
587}
588
589// computeBase computes the relocation base for the given binary file only if
590// the elfMapping field is set. It populates the base and isData fields and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected