1// Copyright 2015 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5// +build msan 6 7package syscall 8 9import ( 10 "runtime" 11 "unsafe" 12) 13 14const msanenabled = true 15 16func msanRead(addr unsafe.Pointer, len int) { 17 runtime.MSanRead(addr, len) 18} 19 20func msanWrite(addr unsafe.Pointer, len int) { 21 runtime.MSanWrite(addr, len) 22} 23