aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/fuchsia.go
blob: 9e75c97b70fc7cc952bca8b51e0dbfdac95374e2 (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
// 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(rep *Report) error {
	panic("not implemented")
}