about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--examples/aflpp_driver/aflpp_driver_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aflpp_driver/aflpp_driver_test.c b/examples/aflpp_driver/aflpp_driver_test.c
index ddc3effb..b66c3b37 100644
--- a/examples/aflpp_driver/aflpp_driver_test.c
+++ b/examples/aflpp_driver/aflpp_driver_test.c
@@ -16,13 +16,13 @@ void __attribute__((noinline)) crashme(const uint8_t *Data, size_t Size) {
 
 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
 
+  if (Size < 5) return 0;
+
   fprintf(stderr, "FUNC crc: %016llx len: %lu\n",
           hash64((u8 *)Data, (unsigned int)Size,
                  (unsigned long long int)0xa5b35705),
           Size);
 
-  if (Size < 5) return 0;
-
   crashme(Data, Size);
 
   return 0;