Documentation ¶
Index ¶
- func ReadDwarfLengthVersion(data []byte) (length uint64, dwarf64 bool, version uint8, byteOrder binary.ByteOrder)
- func ReadString(data *bytes.Buffer) (string, error)
- func ReadUintRaw(reader io.Reader, order binary.ByteOrder, ptrSize int) (uint64, error)
- func ReadUnitVersions(data []byte) map[dwarf.Offset]uint8
- func WriteUint(writer io.Writer, order binary.ByteOrder, ptrSize int, data uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDwarfLengthVersion ¶
func ReadDwarfLengthVersion(data []byte) (length uint64, dwarf64 bool, version uint8, byteOrder binary.ByteOrder)
ReadDwarfLengthVersion reads a DWARF length field followed by a version field
func ReadString ¶
ReadString reads a null-terminated string from data.
func ReadUintRaw ¶
ReadUintRaw reads an integer of ptrSize bytes, with the specified byte order, from reader.
func ReadUnitVersions ¶
ReadUnitVersions reads the DWARF version of each unit in a debug_info section and returns them as a map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.