From 37188de25b804899974d56e0aade0aa8d04253fc Mon Sep 17 00:00:00 2001 From: Alex Groce Date: Fri, 27 Jul 2018 16:11:21 -0700 Subject: [PATCH] entry point --- src/include/deepstate/DeepState.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/deepstate/DeepState.h b/src/include/deepstate/DeepState.h index 8a24179..b466267 100644 --- a/src/include/deepstate/DeepState.h +++ b/src/include/deepstate/DeepState.h @@ -719,6 +719,10 @@ static int DeepState_RunSavedTestCases(void) { return num_failed_tests; } +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { + return 0; // Non-zero return values are reserved for future use. +} + /* Start DeepState and run the tests. Returns the number of failed tests. */ static int DeepState_Run(void) { if (!DeepState_OptionsAreInitialized) {