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

Struct elfNote

internal/elfexec/elfexec.go:32–36  ·  view source on GitHub ↗

elfNote is the payload of a Note Section in an ELF file.

Source from the content-addressed store, hash-verified

30
31// elfNote is the payload of a Note Section in an ELF file.
32type elfNote struct {
33 Name string // Contents of the "name" field, omitting the trailing zero byte.
34 Desc []byte // Contents of the "desc" field.
35 Type uint32 // Contents of the "type" field.
36}
37
38// parseNotes returns the notes from a SHT_NOTE section or PT_NOTE segment.
39func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder) ([]elfNote, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected