insnmap

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsnMap

type InsnMap struct {
	Funcs [][]Mapping
	// contains filtered or unexported fields
}

func (*InsnMap) Init

func (im *InsnMap) Init(numFuncs int)

func (*InsnMap) PutFunc

func (im *InsnMap) PutFunc(pos int32)

func (*InsnMap) PutInsn

func (im *InsnMap) PutInsn(absPos int32)

type Mapping

type Mapping struct {
	ObjectOffset int32 // Machine code byte position within a function
	SourceIndex  int32 // WebAssembly instruction count within a function
}

Mapping from machine code instruction to WebAssembly instruction.

Jump to

Keyboard shortcuts

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