diff options
Diffstat (limited to 'llvm/lib/Fuzzer/test/AFLDriverTest.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/test/AFLDriverTest.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/AFLDriverTest.cpp b/llvm/lib/Fuzzer/test/AFLDriverTest.cpp new file mode 100644 index 00000000000..9ae18cb6cb9 --- /dev/null +++ b/llvm/lib/Fuzzer/test/AFLDriverTest.cpp @@ -0,0 +1,12 @@ +#include <stdint.h> +#include <stdlib.h> + +extern "C" void __afl_manual_init() {} + +extern "C" int __afl_persistent_loop(unsigned int) { + return 0; +} + +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { + return 0; +} |