Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain func() error
Chain represents the next stage in the boot process.
func Reset ¶
Reset is intended to emulate the early stage boot process of a device.
It's separate from the device emulator code to highlight that the process of verifying the local firmware/proofs/etc. could be done on-device at as part of the boot-ROM execution to provide some tamper-resistant properties to the firmware installed on the device.
Other, real-world, devices with secure elements may be able to optimise this process by checking once and leveraging properties of the hardware.
Returns the first link in the boot chain as a func.
type Resolver ¶
type Resolver struct{}
Resolver defines imports for WebAssembly modules ran in Life.
func (*Resolver) ResolveFunc ¶
func (r *Resolver) ResolveFunc(module, field string) exec.FunctionImport
ResolveFunc defines a set of import functions that may be called within a WebAssembly module.
func (*Resolver) ResolveGlobal ¶
ResolveGlobal defines a set of global variables for use within a WebAssembly module.