about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-10 12:09:37 +0200
committervan Hauser <vh@thc.org>2020-05-10 12:09:37 +0200
commit30bfd44dfd9f442d5514a7100d76d1fd3d9deb74 (patch)
tree86d3b0b14103fd2bbc01f25c40e7d55694a4701b /src/afl-fuzz.c
parent26f8708fede1b15e6a93709d0baa2e5f481e082d (diff)
downloadafl++-30bfd44dfd9f442d5514a7100d76d1fd3d9deb74.tar.gz
indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-(
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 29ec8fd5..aaf615e9 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -853,7 +853,7 @@ int main(int argc, char **argv_orig, char **envp) {
 
   }
 
-#  if defined(__SANITIZE_ADDRESS__)
+#if defined(__SANITIZE_ADDRESS__)
   if (afl->fsrv.mem_limit) {
 
     WARNF("in the ASAN build we disable all memory limits");
@@ -861,7 +861,7 @@ int main(int argc, char **argv_orig, char **envp) {
 
   }
 
-#  endif
+#endif
 
   setup_signal_handlers();
   check_asan_opts();
@@ -1054,9 +1054,9 @@ int main(int argc, char **argv_orig, char **envp) {
 
   get_core_count(afl);
 
-#  ifdef HAVE_AFFINITY
+#ifdef HAVE_AFFINITY
   bind_to_free_cpu(afl);
-#  endif                                                   /* HAVE_AFFINITY */
+#endif                                                     /* HAVE_AFFINITY */
 
   check_crash_handling();
   check_cpu_governor(afl);
@@ -1352,12 +1352,12 @@ stop_fuzzing:
 
   }
 
-#  ifdef PROFILING
+#ifdef PROFILING
   SAYF(cYEL "[!] " cRST
             "Profiling information: %llu ms total work, %llu ns/run\n",
        time_spent_working / 1000000,
        time_spent_working / afl->fsrv.total_execs);
-#  endif
+#endif
 
   fclose(afl->fsrv.plot_file);
   destroy_queue(afl);