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) SetData(data []byte, memoryOffset int)
- 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 ¶
type Program struct { Text []byte ROData []byte ObjInfo object.CallMap // contains filtered or unexported fields }
func NewProgram ¶
func (*Program) RODataAddr ¶
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.