File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -258,3 +258,20 @@ fun:reflect.MakeFuncStubGo=uninstrumented
258
258
fun:reflect.MakeFuncStubGo=discard
259
259
fun:reflect.makeFuncStub=uninstrumented
260
260
fun:reflect.makeFuncStub=discard
261
+
262
+
263
+ ###############################################################################
264
+ # lib/Fuzzer
265
+ ###############################################################################
266
+ # Replaces __sanitizer_cov_trace_cmp with __dfsw___sanitizer_cov_trace_cmp
267
+ fun:__sanitizer_cov_trace_cmp=custom
268
+ fun:__sanitizer_cov_trace_cmp=uninstrumented
269
+
270
+ # Ignores coverage callbacks.
271
+ fun:__sanitizer_cov=uninstrumented
272
+ fun:__sanitizer_cov=discard
273
+ fun:__sanitizer_cov_module_init=uninstrumented
274
+ fun:__sanitizer_cov_module_init=discard
275
+
276
+ # Don't add extra parameters to the Fuzzer callback.
277
+ fun:LLVMFuzzerTestOneInput=uninstrumented
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ on_exit() {
17
17
rm -f ${DIFF_B} 2> /dev/null
18
18
}
19
19
20
+ # Ignore __sanitizer_cov_trace* because they are implemented elsewhere.
20
21
trap on_exit EXIT
21
- grep -E " ^fun:.*=custom" ${DFSAN_ABI_LIST} | grep -v " dfsan_get_label" \
22
+ grep -E " ^fun:.*=custom" ${DFSAN_ABI_LIST} \
23
+ | grep -v " dfsan_get_label\|__sanitizer_cov_trace" \
22
24
| sed " s/^fun:\(.*\)=custom.*/\1/" | sort > $DIFF_A
23
25
grep -E " __dfsw.*\(" ${DFSAN_CUSTOM_WRAPPERS} \
24
26
| sed " s/.*__dfsw_\(.*\)(.*/\1/" | sort > $DIFF_B
You can’t perform that action at this time.
0 commit comments