syzkaller/sys/trusty/init.go
Dmitry Vyukov 0d872150de sys: initial trusty support
Trusty is a set of software components supporting
a Trusted Execution Environment (TEE) on mobile devices.

https://source.android.com/security/trusty

Add syscall descriptions and some boilerplate.
2018-11-07 17:52:06 -08:00

22 lines
490 B
Go

// 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) {
}