aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/syscall/asan0.go
blob: 08bc44dea1c657ca53daf6f9613134fd543c0bd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !asan

package syscall

import (
	"unsafe"
)

const asanenabled = false

func asanRead(addr unsafe.Pointer, len int) {
}

func asanWrite(addr unsafe.Pointer, len int) {
}