Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
1774:833bf9947603 | 1775:8179eabe16c9 |
---|---|
45 printf("Finished\n"); | 45 printf("Finished\n"); |
46 | 46 |
47 return 0; | 47 return 0; |
48 } | 48 } |
49 | 49 |
50 size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) { | 50 // Just to let it link |
51 size_t LLVMFuzzerMutate(uint8_t *UNUSED(Data), size_t UNUSED(Size), size_t UNUSED(MaxSize)) { | |
51 printf("standalone fuzzer harness shouldn't call LLVMFuzzerMutate"); | 52 printf("standalone fuzzer harness shouldn't call LLVMFuzzerMutate"); |
52 abort(); | 53 abort(); |
53 return 0; | 54 return 0; |
54 } | 55 } |