Documentation

Index

Constants

View Source
const (
	Word = 8 // stack entry size
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugObjectMapper

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

    type DummyDebugMapper struct{ DummyMapper }

    func (DummyDebugMapper) PutDataBlock

    func (DummyDebugMapper) PutDataBlock(uint32, int32)

    func (DummyDebugMapper) PutInsnAddr

    func (DummyDebugMapper) PutInsnAddr(uint32)

    func (DummyDebugMapper) PutTrapSite

    func (DummyDebugMapper) PutTrapSite(uint32, int32)

    type DummyMapper

    type DummyMapper struct{}

    func (DummyMapper) InitObjectMap

    func (DummyMapper) InitObjectMap(int, int)

    func (DummyMapper) PutCallSite

    func (DummyMapper) PutCallSite(uint32, int32)

    func (DummyMapper) PutFuncAddr

    func (DummyMapper) PutFuncAddr(uint32)

    type ObjectMapper

    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.

      Source Files