Source file
src/runtime/libfuzzer.go
1
2
3
4
5
6
7 package runtime
8
9 import _ "unsafe"
10
11 func libfuzzerCall(fn *byte, arg0, arg1 uintptr)
12
13 func libfuzzerTraceCmp1(arg0, arg1 uint8) {
14 libfuzzerCall(&__sanitizer_cov_trace_cmp1, uintptr(arg0), uintptr(arg1))
15 }
16
17 func libfuzzerTraceCmp2(arg0, arg1 uint16) {
18 libfuzzerCall(&__sanitizer_cov_trace_cmp2, uintptr(arg0), uintptr(arg1))
19 }
20
21 func libfuzzerTraceCmp4(arg0, arg1 uint32) {
22 libfuzzerCall(&__sanitizer_cov_trace_cmp4, uintptr(arg0), uintptr(arg1))
23 }
24
25 func libfuzzerTraceCmp8(arg0, arg1 uint64) {
26 libfuzzerCall(&__sanitizer_cov_trace_cmp8, uintptr(arg0), uintptr(arg1))
27 }
28
29 func libfuzzerTraceConstCmp1(arg0, arg1 uint8) {
30 libfuzzerCall(&__sanitizer_cov_trace_const_cmp1, uintptr(arg0), uintptr(arg1))
31 }
32
33 func libfuzzerTraceConstCmp2(arg0, arg1 uint16) {
34 libfuzzerCall(&__sanitizer_cov_trace_const_cmp2, uintptr(arg0), uintptr(arg1))
35 }
36
37 func libfuzzerTraceConstCmp4(arg0, arg1 uint32) {
38 libfuzzerCall(&__sanitizer_cov_trace_const_cmp4, uintptr(arg0), uintptr(arg1))
39 }
40
41 func libfuzzerTraceConstCmp8(arg0, arg1 uint64) {
42 libfuzzerCall(&__sanitizer_cov_trace_const_cmp8, uintptr(arg0), uintptr(arg1))
43 }
44
45
46
47 var __sanitizer_cov_trace_cmp1 byte
48
49
50
51 var __sanitizer_cov_trace_cmp2 byte
52
53
54
55 var __sanitizer_cov_trace_cmp4 byte
56
57
58
59 var __sanitizer_cov_trace_cmp8 byte
60
61
62
63 var __sanitizer_cov_trace_const_cmp1 byte
64
65
66
67 var __sanitizer_cov_trace_const_cmp2 byte
68
69
70
71 var __sanitizer_cov_trace_const_cmp4 byte
72
73
74
75 var __sanitizer_cov_trace_const_cmp8 byte
76
View as plain text