tests: hook up fuzz targets to FuzzBuzz

This commit is contained in:
Evgeny Vereshchagin
2019-05-07 21:39:01 +00:00
parent 717e8eda77
commit 87ac55a129
6 changed files with 91 additions and 33 deletions
+3
View File
@@ -6,3 +6,6 @@
/* The entry point into the fuzzer */
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
/* https://docs.fuzzbuzz.io/developer-documentation/porting-targets-to-fuzzbuzz/libfuzzer-targets */
int FuzzerEntrypoint(const uint8_t *data, size_t size);
+5
View File
@@ -0,0 +1,5 @@
#include "fuzz.h"
int FuzzerEntrypoint(const uint8_t *data, size_t size) {
return LLVMFuzzerTestOneInput(data, size);
}