aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/fuchsia.go
blob: 0d529a1d511ab7c4b27bc24993bd3f7b367943cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// 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 fuchsia struct {
	kernelSrc string
	kernelObj string
	symbols   map[string][]symbolizer.Symbol
	ignores   []*regexp.Regexp
}

func ctorFuchsia(kernelSrc, kernelObj string, symbols map[string][]symbolizer.Symbol,
	ignores []*regexp.Regexp) (Reporter, error) {
	ctx := &fuchsia{
		kernelSrc: kernelSrc,
		kernelObj: kernelObj,
		symbols:   symbols,
		ignores:   ignores,
	}
	return ctx, nil
}

func (ctx *fuchsia) ContainsCrash(output []byte) bool {
	panic("not implemented")
}

func (ctx *fuchsia) Parse(output []byte) *Report {
	panic("not implemented")
}

func (ctx *fuchsia) Symbolize(text []byte) ([]byte, error) {
	panic("not implemented")
}

func (ctx *fuchsia) ExtractConsoleOutput(output []byte) (result []byte) {
	panic("not implemented")
}

func (ctx *fuchsia) ExtractGuiltyFile(report []byte) string {
	panic("not implemented")
}

func (ctx *fuchsia) GetMaintainers(file string) ([]string, error) {
	panic("not implemented")
}