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 7package fuzz 8 9import _ "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//go:linkname libfuzzerHookStrCmp runtime.libfuzzerHookStrCmp 22//go:linkname libfuzzerHookEqualFold runtime.libfuzzerHookEqualFold 23 24func libfuzzerTraceCmp1(arg0, arg1 uint8, fakePC uint) {} 25func libfuzzerTraceCmp2(arg0, arg1 uint16, fakePC uint) {} 26func libfuzzerTraceCmp4(arg0, arg1 uint32, fakePC uint) {} 27func libfuzzerTraceCmp8(arg0, arg1 uint64, fakePC uint) {} 28 29func libfuzzerTraceConstCmp1(arg0, arg1 uint8, fakePC uint) {} 30func libfuzzerTraceConstCmp2(arg0, arg1 uint16, fakePC uint) {} 31func libfuzzerTraceConstCmp4(arg0, arg1 uint32, fakePC uint) {} 32func libfuzzerTraceConstCmp8(arg0, arg1 uint64, fakePC uint) {} 33 34func libfuzzerHookStrCmp(arg0, arg1 string, fakePC uint) {} 35func libfuzzerHookEqualFold(arg0, arg1 string, fakePC uint) {} 36