Documentation ¶
Index ¶
- func DecodeSLEB128(buf *bytes.Buffer) (int64, uint32)
- func DecodeULEB128(buf *bytes.Buffer) (uint64, uint32)
- func EncodeSLEB128(out io.ByteWriter, x int64)
- func EncodeULEB128(out io.ByteWriter, x uint64)
- func MakeBuf(d *dwarf.Data, format dataFormat, name string, off dwarf.Offset, data []byte) buf
- func ParseString(data *bytes.Buffer) (string, uint32)
- func ReadUintRaw(reader io.Reader, order binary.ByteOrder, ptrSize int) (uint64, error)
- func WriteUint(writer io.Writer, order binary.ByteOrder, ptrSize int, data uint64) error
- type UnknownFormat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSLEB128 ¶
DecodeSLEB128 decodes a signed Little Endian Base 128 represented number.
func DecodeULEB128 ¶
DecodeULEB128 decodes an unsigned Little Endian Base 128 represented number.
func EncodeSLEB128 ¶
func EncodeSLEB128(out io.ByteWriter, x int64)
EncodeSLEB128 encodes x to the signed Little Endian Base 128 format into out.
func EncodeULEB128 ¶
func EncodeULEB128(out io.ByteWriter, x uint64)
EncodeULEB128 encodes x to the unsigned Little Endian Base 128 format into out.
func ReadUintRaw ¶
ReadUintRaw reads an integer of ptrSize bytes, with the specified byte order, from reader.
Types ¶
type UnknownFormat ¶
type UnknownFormat struct{}
Some parts of DWARF have no data format, e.g., abbrevs.
Click to show internal directories.
Click to hide internal directories.