wasm library

WebAssembly VM for Dart

Classes

Address
Abstract address of an instance in a store.
Function
Runtime representation of a WebAssembly function.
FunctionAddress
Function address of a function instance in a store.
Global
Runtime representation of a WebAssembly global.
GlobalAddress
Global address of a global instance in a store.
Machine
Virtual machine with program state.
Memory
Runtime representation of a linear memory.
MemoryAddress
Memory address of a memory instance in a store.
Module
Runtime representation of a WebAssembly module.
Opcode
Opcodes
Stack
Stack that records operand values and control constructs.
Store
Runtime representation of all global state that can be manipulated by WebAssembly programs.
Table
Runtime representation of a WebAssembly table.
TableAddress
Table address of a table instance in a store.

Functions

allocMem(Store store) MemoryAddress
TODO
decodeModule(ByteBuffer bytes) Module
TODO
initStore() Store
Returns the empty store.
instantiateModule(Store store, Module module) Store
TODO
parseModule(String source) Module
TODO
validateModule(Module module) → bool
TODO