trie

package
v1.1.210 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeSleb128 added in v1.1.77

func EncodeSleb128(out io.ByteWriter, x int64)

EncodeSleb128 encodes input to the Signed Little Endian Base 128 format

func EncodeUleb128 added in v1.1.77

func EncodeUleb128(out io.ByteWriter, x uint64)

EncodeUleb128 encodes input to the Unsigned Little Endian Base 128 format

func ReadSleb128 added in v1.1.77

func ReadSleb128(r *bytes.Reader) (int64, error)

func ReadUleb128

func ReadUleb128(r *bytes.Reader) (uint64, error)

func ReadUleb128FromBuffer

func ReadUleb128FromBuffer(buf *bytes.Buffer) (uint64, int, error)

func WalkTrie

func WalkTrie(r *bytes.Reader, symbol string) (uint64, error)

Types

type Node added in v1.1.85

type Node struct {
	Offset uint64
	Data   []byte
}

func ParseTrie

func ParseTrie(r *bytes.Reader) ([]Node, error)

type TrieExport added in v1.1.85

type TrieExport struct {
	Name         string
	ReExport     string
	Flags        types.ExportFlag
	Other        uint64
	Address      uint64
	FoundInDylib string
}

func ParseTrieExports added in v1.1.85

func ParseTrieExports(r *bytes.Reader, loadAddress uint64) ([]TrieExport, error)

func ReadExport added in v1.1.85

func ReadExport(r *bytes.Reader, symbol string, loadAddress uint64) (*TrieExport, error)

func (TrieExport) String added in v1.1.85

func (e TrieExport) String() string

func (TrieExport) Type added in v1.1.87

func (e TrieExport) Type() string

Jump to

Keyboard shortcuts

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