trie

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadUleb128

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

func ReadUleb128FromBuffer

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

func WalkTrie

func WalkTrie(data []byte, symbol string) (uint64, error)

Types

type CacheExportFlag

type CacheExportFlag int

func (CacheExportFlag) Absolute

func (f CacheExportFlag) Absolute() bool

func (CacheExportFlag) ReExport

func (f CacheExportFlag) ReExport() bool

func (CacheExportFlag) Regular

func (f CacheExportFlag) Regular() bool

func (CacheExportFlag) String

func (f CacheExportFlag) String() string

func (CacheExportFlag) StubAndResolver

func (f CacheExportFlag) StubAndResolver() bool

func (CacheExportFlag) ThreadLocal

func (f CacheExportFlag) ThreadLocal() bool

func (CacheExportFlag) WeakDefinition

func (f CacheExportFlag) WeakDefinition() bool

type TrieEntry

type TrieEntry struct {
	Name         string
	Flags        CacheExportFlag
	Other        uint64
	Address      uint64
	FoundInDylib string
}

func ParseTrie

func ParseTrie(trieData []byte, loadAddress uint64) ([]TrieEntry, error)

func (TrieEntry) String

func (e TrieEntry) String() string

Jump to

Keyboard shortcuts

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