repro

package
v0.0.0-...-af24b05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoPrograms = errors.New("crash log does not contain any programs")
View Source
var ErrNoVMs = errors.New("all VMs failed to boot")

Functions

func Run

func Run(crashLog []byte, cfg *mgrconfig.Config, features *host.Features, reporter *report.Reporter,
	vmPool *vm.Pool, vmIndexes []int) (*Result, *Stats, error)

Types

type Result

type Result struct {
	Prog     *prog.Prog
	Duration time.Duration
	Opts     csource.Options
	CRepro   bool
	// Information about the final (non-symbolized) crash that we reproduced.
	// Can be different from what we started reproducing.
	Report *report.Report
}

type Simplify

type Simplify func(opts *csource.Options) bool

type Stats

type Stats struct {
	Log              []byte
	ExtractProgTime  time.Duration
	MinimizeProgTime time.Duration
	SimplifyProgTime time.Duration
	ExtractCTime     time.Duration
	SimplifyCTime    time.Duration
}

type StraceResult

type StraceResult struct {
	Report *report.Report
	Output []byte
	Error  error
}

func RunStrace

func RunStrace(result *Result, cfg *mgrconfig.Config, reporter *report.Reporter,
	vmPool *vm.Pool, vmIndex int) *StraceResult

func (*StraceResult) IsSameBug

func (strace *StraceResult) IsSameBug(repro *Result) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL