mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-18 00:58:10 +00:00
d9ec038e02
We now pass 5 arguments through a bunch of functions, this is quite inconvinient when the set of arguments changes. Incapsulate all arguments in a struct and pass/store it as a whole.
28 lines
562 B
Go
28 lines
562 B
Go
// Copyright 2017 syzkaller project authors. All rights reserved.
|
|
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
|
|
|
|
package report
|
|
|
|
type stub struct {
|
|
*config
|
|
}
|
|
|
|
func ctorStub(cfg *config) (Reporter, []string, error) {
|
|
ctx := &stub{
|
|
config: cfg,
|
|
}
|
|
return ctx, nil, nil
|
|
}
|
|
|
|
func (ctx *stub) ContainsCrash(output []byte) bool {
|
|
panic("not implemented")
|
|
}
|
|
|
|
func (ctx *stub) Parse(output []byte) *Report {
|
|
panic("not implemented")
|
|
}
|
|
|
|
func (ctx *stub) Symbolize(rep *Report) error {
|
|
panic("not implemented")
|
|
}
|