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 []meta.CallSite)
- func (p *Program) SetData(data []byte, memoryOffset int)
- func (p *Program) SetFuncMap(funcMap []meta.TextAddr)
- type Runner
- func (r *Runner) Close() (first error)
- func (r *Runner) NewExecutor(sigs []abi.Sig, printer io.Writer) (e *Executor, trigger chan<- struct{})
- func (r *Runner) Run(arg int64, sigs []abi.Sig, printer io.Writer) (result int32, err error)
- func (r *Runner) WriteStacktraceTo(w io.Writer, funcSigs []abi.Sig, 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) SetFuncMap ¶ added in v0.3.1
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.