Namespace WaaS.Runtime
Classes
AsyncExternalFunction
Represents an asynchronous function that can be invoked from a WebAssembly module.
AsyncExternalFunctionDelegate
Represents an asynchronous external function that can be created from a delegate.
AsyncExternalFunctionPointer
Represents an asynchronous external function that can be created from a function pointer.
AsyncExternalStackFrame
Represents a stack frame used to invoke an asynchronous external function.
ExecutionContext
Represents an execution context, which is used to manage the execution of WebAssembly functions. It contains a stack of frames and behaves like a thread of execution.
ExportInstance
Represents an instance of exported items from a WebAssembly module.
ExternalFunction
Represents a function that can be invoked from a WebAssembly module.
ExternalFunctionCoreBoxedDelegate
Represents an external function that can be created from a delegate. It uses dynamic invocation of the delegate.
ExternalFunctionDelegate
Represents an external function that can be created from a delegate.
ExternalFunctionPointer
Represents an external function that can be created from a function pointer.
ExternalStackFrame
Represents a stack frame used to invoke an external function.
FuelExhaustedException
A trap raised when the fuel of an WaaS.Runtime.ExecutionContext runs out. See WaaS.Runtime.ExecutionContext.Fuel.
FunctionInstance
Represents an instance of functions.
Global
Represents global that can be accessed from a WebAssembly module.
Global<TValue>
Represents global that can be accessed from a WebAssembly module.
GlobalInstance
Represents a global instance.
GlobalMutable
Represents mutable global that can be accessed from a WebAssembly module.
GlobalMutable<TValue>
Represents mutable global that can be accessed from a WebAssembly module.
Imports
A set of "module exports" that can be imported by a WebAssembly module.
Instance
An instance of a WebAssembly module.
InstanceFunction
Represents an instance of a function.
InvalidCodeException
Represents an invalid code exception.
Memory
Represents an instance of a linear memory.
MemoryInstance
Represents an instance of a memory.
ModuleExports
A set of items that can be exported by a WebAssembly module.
Table
Represents a table in the WebAssembly module.
Table<T>
Represents a table in the WebAssembly module.
TableInstance
A collection of tables in a WebAssembly instance.
TrapException
WasmDebugFrame
A function of WebAssembly being executed.
WasmDebugPause
A paused execution.
WasmException
An exception thrown when a WebAssembly instruction fails.
WasmStackFrame
Represents a stack frame of a WebAssembly function loaded from binary. The calls from it to WebAssembly functions are also executed in the frame without pushing new frames, and the members such as WaaS.Runtime.WasmStackFrame.Function reflect the innermost function being executed.
WasmStackTrace
A snapshot of the stack frames of an WaaS.Runtime.ExecutionContext at the time an exception occurred. The first frame is the innermost one.
WasmStackTraceFrame
A frame in WaaS.Runtime.WasmStackTrace.
Structs
Label
Represents a label on the stack.
StackFrame
A wrapper of IStackFrameCore.
StackValueItem
Represents a value on the stack.
Waker
WasmDebugLocation
The instruction about to be executed.
Interfaces
IExternal
Represents an item that can be exported from / imported to a WebAssembly module.
IImports
A set of "module exports" that can be imported by a WebAssembly module.
IInvocableFunction
Represents a function that can be invoked from a WebAssembly module.
IModuleExports
A set of items that can be exported by a WebAssembly module.
IStackFrameCore
Represents a stack frame.
IWasmDebugger
Observes and pauses the execution of WebAssembly in the contexts it is attached to with WaaS.Runtime.ExecutionContext.Debugger. The methods are called on the thread executing WebAssembly.