Documentation
¶
Index ¶
Constants ¶
View Source
const ( TextAddrResume = 16 // return from import function or trap call TextAddrInitStart = 32 // init, call start and entry functions, and exit TextAddrInitEntry = 48 // init, call entry function, and exit )
View Source
const (
Word = 8 // stack entry size
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectMapper ¶ added in v0.8.0
type ObjectMapper interface {
InitObjectMap(numImportFuncs, numOtherFuncs int)
PutImportFuncAddr(addr int32)
PutFuncAddr(addr int32)
PutCallSite(returnAddr int32, stackOffset int32)
PutInsnAddr(addr int32)
PutDataBlock(addr int32, length int)
}
ObjectMapper gathers information about positions of (WebAssembly) functions, function calls and instructions within the text (machine code) section.
Click to show internal directories.
Click to hide internal directories.