2017-10-17 16:08:39 +00: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"
|
|
|
|
|
|
|
|
"github.com/google/syzkaller/pkg/symbolizer"
|
|
|
|
)
|
|
|
|
|
|
|
|
type akaros struct {
|
|
|
|
kernelSrc string
|
|
|
|
kernelObj string
|
|
|
|
symbols map[string][]symbolizer.Symbol
|
|
|
|
ignores []*regexp.Regexp
|
|
|
|
}
|
|
|
|
|
|
|
|
func ctorAkaros(kernelSrc, kernelObj string, symbols map[string][]symbolizer.Symbol,
|
|
|
|
ignores []*regexp.Regexp) (Reporter, error) {
|
|
|
|
ctx := &akaros{
|
|
|
|
kernelSrc: kernelSrc,
|
|
|
|
kernelObj: kernelObj,
|
|
|
|
symbols: symbols,
|
|
|
|
ignores: ignores,
|
|
|
|
}
|
|
|
|
return ctx, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ctx *akaros) ContainsCrash(output []byte) bool {
|
|
|
|
panic("not implemented")
|
|
|
|
}
|
|
|
|
|
2017-11-14 08:41:55 +00:00
|
|
|
func (ctx *akaros) Parse(output []byte) *Report {
|
2017-10-17 16:08:39 +00:00
|
|
|
panic("not implemented")
|
|
|
|
}
|
|
|
|
|
2017-11-29 16:53:07 +00:00
|
|
|
func (ctx *akaros) Symbolize(rep *Report) error {
|
2017-10-17 16:08:39 +00:00
|
|
|
panic("not implemented")
|
|
|
|
}
|