wag: github.com/tsavola/wag/internal/obj Index | Files

package obj

import "github.com/tsavola/wag/internal/obj"

Index

Package Files

obj.go

Constants

const (
    Word = 8 // stack entry size
)

type DebugObjectMapper Uses

type DebugObjectMapper interface {
    ObjectMapper
    PutTrapSite(addr uint32, stackOffset int32)
    PutInsnAddr(addr uint32)
    PutDataBlock(addr uint32, length int32)
}

DebugObjectMapper gathers information about positions of (WebAssembly) functions, function calls and instructions within the text (machine code) section.

type DummyDebugMapper Uses

type DummyDebugMapper struct{ DummyMapper }

func (DummyDebugMapper) PutDataBlock Uses

func (DummyDebugMapper) PutDataBlock(uint32, int32)

func (DummyDebugMapper) PutInsnAddr Uses

func (DummyDebugMapper) PutInsnAddr(uint32)

func (DummyDebugMapper) PutTrapSite Uses

func (DummyDebugMapper) PutTrapSite(uint32, int32)

type DummyMapper Uses

type DummyMapper struct{}

func (DummyMapper) InitObjectMap Uses

func (DummyMapper) InitObjectMap(int, int)

func (DummyMapper) PutCallSite Uses

func (DummyMapper) PutCallSite(uint32, int32)

func (DummyMapper) PutFuncAddr Uses

func (DummyMapper) PutFuncAddr(uint32)

type ObjectMapper Uses

type ObjectMapper interface {
    InitObjectMap(numImportFuncs, numOtherFuncs int)
    PutFuncAddr(addr uint32)
    PutCallSite(returnAddr uint32, stackOffset int32)
}

ObjectMapper gathers information about positions of (WebAssembly) functions and function calls within the text (machine code) section.

Package obj is imported by 9 packages. Updated 2020-02-20. Refresh now. Tools for package owners.