aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/netbsd.go
blob: 6c4dbedf98de8c789b933dfd8494edcbb4025760 (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 netbsd struct {
	kernelSrc string
	kernelObj string
	symbols   map[string][]symbolizer.Symbol
	ignores   []*regexp.Regexp
}

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

func (ctx *netbsd) ContainsCrash(output []byte) bool {
	return false
}

func (ctx *netbsd) Parse(output []byte) *Report {
	return nil
}

func (ctx *netbsd) Symbolize(rep *Report) error {
	return nil
}