Documentation ¶
Index ¶
- Variables
- type Executor
- type Program
- func (p *Program) CallSites() map[int]callSite
- func (p *Program) Close() (first error)
- func (p *Program) NewRunner(initMemorySize, growMemorySize wasm.MemorySize, stackSize int) (r *Runner, err error)
- func (p *Program) RODataAddr() int32
- func (p *Program) Seal() (err error)
- func (p *Program) SetCallMap(callMap []module.CallSite)
- func (p *Program) SetData(data []byte, memoryOffset int)
- func (p *Program) SetFunctionMap(funcMap []int32)
- type Runner
- func (r *Runner) Close() (first error)
- func (r *Runner) NewExecutor(sigs []function.Type, printer io.Writer) (e *Executor, trigger chan<- struct{})
- func (r *Runner) Run(arg int64, sigs []function.Type, printer io.Writer) (result int32, err error)
- func (r *Runner) WriteStacktraceTo(w io.Writer, funcSigs []function.Type, ns *section.NameSection) (err error)
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
View Source
var Env env
Functions ¶
This section is empty.
Types ¶
type Program ¶
func NewProgram ¶
func (*Program) RODataAddr ¶
func (*Program) SetCallMap ¶
func (*Program) SetFunctionMap ¶
type Runner ¶
type Runner struct { Snapshots []*Snapshot // contains filtered or unexported fields }
func (*Runner) NewExecutor ¶
func (*Runner) WriteStacktraceTo ¶
Click to show internal directories.
Click to hide internal directories.