2017-10-17 18:08:39 +02:00
|
|
|
// 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
|
|
|
|
|
|
|
|
import (
|
|
|
|
"regexp"
|
|
|
|
)
|
|
|
|
|
2018-05-07 13:05:41 +02:00
|
|
|
type stub struct {
|
2017-10-17 18:08:39 +02:00
|
|
|
kernelSrc string
|
|
|
|
kernelObj string
|
|
|
|
ignores []*regexp.Regexp
|
|
|
|
}
|
|
|
|
|
2018-06-21 14:38:08 +02:00
|
|
|
func ctorStub(kernelSrc, kernelObj string, ignores []*regexp.Regexp) (Reporter, []string, error) {
|
2018-05-07 13:05:41 +02:00
|
|
|
ctx := &stub{
|
2017-10-17 18:08:39 +02:00
|
|
|
kernelSrc: kernelSrc,
|
|
|
|
kernelObj: kernelObj,
|
|
|
|
ignores: ignores,
|
|
|
|
}
|
2018-06-21 14:38:08 +02:00
|
|
|
return ctx, nil, nil
|
2017-10-17 18:08:39 +02:00
|
|
|
}
|
|
|
|
|
2018-05-07 13:05:41 +02:00
|
|
|
func (ctx *stub) ContainsCrash(output []byte) bool {
|
2017-10-17 18:08:39 +02:00
|
|
|
panic("not implemented")
|
|
|
|
}
|
|
|
|
|
2018-05-07 13:05:41 +02:00
|
|
|
func (ctx *stub) Parse(output []byte) *Report {
|
2017-10-17 18:08:39 +02:00
|
|
|
panic("not implemented")
|
|
|
|
}
|
|
|
|
|
2018-05-07 13:05:41 +02:00
|
|
|
func (ctx *stub) Symbolize(rep *Report) error {
|
2017-10-17 18:08:39 +02:00
|
|
|
panic("not implemented")
|
|
|
|
}
|