Documentation
¶
Index ¶
- Variables
- func ObjectRuntime() (code []byte, addr uint64)
- type Executor
- type Program
- func (p *Program) CallSites() map[int]callSite
- func (p *Program) Close() (first error)
- func (p *Program) NewRunner(initMemorySize, growMemorySize, stackSize int) (r *Runner, err error)
- func (p *Program) RODataAddr() uintptr
- func (p *Program) Seal() (err error)
- func (p *Program) SetData(data []byte, memoryOffset int)
- func (p *Program) TextAddr() uintptr
- type Runner
- func (r *Runner) Close() (first error)
- func (r *Runner) NewExecutor(sigs []wa.FuncType, printer io.Writer) (e *Executor, eventHandler func(event.Event))
- func (r *Runner) Run(arg int64, sigs []wa.FuncType, printer io.Writer) (result int32, err error)
- func (r *Runner) WriteStacktraceTo(w io.Writer, funcs []wa.FuncType, ns *section.NameSection) (err error)
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
View Source
var Resolver res
Functions ¶
func ObjectRuntime ¶ added in v0.6.0
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 ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.