comparison fuzz/fuzz-harness.c @ 1760:2406a9987810

Add first try at fuzzing custom mutator
author Matt Johnston <matt@ucc.asn.au>
date Sun, 25 Oct 2020 22:52:36 +0800
parents d5680e12ac33
children 8179eabe16c9
comparison
equal deleted inserted replaced
1759:4c5599435084 1760:2406a9987810
44 44
45 printf("Finished\n"); 45 printf("Finished\n");
46 46
47 return 0; 47 return 0;
48 } 48 }
49
50 size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
51 printf("standalone fuzzer harness shouldn't call LLVMFuzzerMutate");
52 abort();
53 return 0;
54 }