diff fuzz/fuzz-harness.c @ 1775:8179eabe16c9

fuzzing - fix some wrong types and -lcrypt on macos
author Matt Johnston <matt@ucc.asn.au>
date Mon, 02 Nov 2020 20:33:48 +0800
parents 2406a9987810
children fd00aeff38fd
line wrap: on
line diff
--- a/fuzz/fuzz-harness.c	Sun Nov 01 23:44:58 2020 +0800
+++ b/fuzz/fuzz-harness.c	Mon Nov 02 20:33:48 2020 +0800
@@ -47,7 +47,8 @@
     return 0;
 }
 
-size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
+// Just to let it link
+size_t LLVMFuzzerMutate(uint8_t *UNUSED(Data), size_t UNUSED(Size), size_t UNUSED(MaxSize)) {
     printf("standalone fuzzer harness shouldn't call LLVMFuzzerMutate");
     abort();
     return 0;