util

package
v1.0.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeSLEB128

func DecodeSLEB128(buf *bytes.Buffer) (int64, uint32)

DecodeSLEB128 decodes a signed Little Endian Base 128 represented number.

func DecodeULEB128

func DecodeULEB128(buf *bytes.Buffer) (uint64, uint32)

DecodeULEB128 decodes an unsigned Little Endian Base 128 represented number.

func MakeBuf added in v1.0.0

func MakeBuf(d *dwarf.Data, format dataFormat, name string, off dwarf.Offset, data []byte) buf

func ParseString

func ParseString(data *bytes.Buffer) (string, uint32)

Types

type UnknownFormat added in v1.0.0

type UnknownFormat struct{}

Some parts of DWARF have no data format, e.g., abbrevs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL