elfNote is the payload of a Note Section in an ELF file.
| 30 | |
| 31 | // elfNote is the payload of a Note Section in an ELF file. |
| 32 | type 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. |
| 39 | func parseNotes(reader io.Reader, alignment int, order binary.ByteOrder) ([]elfNote, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected