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, stackSize int) (r *Runner, err error)
- func (p *Program) Seal() (err error)
- func (p *Program) SetData(data []byte, memoryOffset int)
- func (p *Program) SetEntryAddr(addr uint32)
- 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(testArg 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 ¶
This section is empty.
Types ¶
type Program ¶
type Program struct {
Text []byte
DebugMap debug.InsnMap
// contains filtered or unexported fields
}
func NewProgram ¶
func (*Program) SetEntryAddr ¶ added in v0.32.0
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.