aboutsummaryrefslogtreecommitdiffstats
path: root/sys/trusty/init.go
blob: 5f5335566917a99ac3237e03a3efc652ee17e239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2018 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 trusty

import (
	"github.com/google/syzkaller/prog"
	"github.com/google/syzkaller/sys/targets"
)

type arch struct {
}

func InitTarget(target *prog.Target) {
	arch := &arch{}
	target.MakeMmap = targets.MakeSyzMmap(target)
	target.SanitizeCall = arch.sanitizeCall
}

func (arch *arch) sanitizeCall(c *prog.Call) {
}