Source file src/internal/fuzz/trace.go
1 // Copyright 2021 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 //go:build !libfuzzer 6 7 package fuzz 8 9 import _ "unsafe" // for go:linkname 10 11 //go:linkname libfuzzerTraceCmp1 runtime.libfuzzerTraceCmp1 12 //go:linkname libfuzzerTraceCmp2 runtime.libfuzzerTraceCmp2 13 //go:linkname libfuzzerTraceCmp4 runtime.libfuzzerTraceCmp4 14 //go:linkname libfuzzerTraceCmp8 runtime.libfuzzerTraceCmp8 15 16 //go:linkname libfuzzerTraceConstCmp1 runtime.libfuzzerTraceConstCmp1 17 //go:linkname libfuzzerTraceConstCmp2 runtime.libfuzzerTraceConstCmp2 18 //go:linkname libfuzzerTraceConstCmp4 runtime.libfuzzerTraceConstCmp4 19 //go:linkname libfuzzerTraceConstCmp8 runtime.libfuzzerTraceConstCmp8 20 21 func libfuzzerTraceCmp1(arg0, arg1 uint8) {} 22 func libfuzzerTraceCmp2(arg0, arg1 uint16) {} 23 func libfuzzerTraceCmp4(arg0, arg1 uint32) {} 24 func libfuzzerTraceCmp8(arg0, arg1 uint64) {} 25 26 func libfuzzerTraceConstCmp1(arg0, arg1 uint8) {} 27 func libfuzzerTraceConstCmp2(arg0, arg1 uint16) {} 28 func libfuzzerTraceConstCmp4(arg0, arg1 uint32) {} 29 func libfuzzerTraceConstCmp8(arg0, arg1 uint64) {} 30