about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afl-analyze.c28
-rw-r--r--src/afl-as.c18
-rw-r--r--src/afl-common.c2
-rw-r--r--src/afl-forkserver.c6
-rw-r--r--src/afl-fuzz-bitmap.c22
-rw-r--r--src/afl-fuzz-extras.c2
-rw-r--r--src/afl-fuzz-globals.c4
-rw-r--r--src/afl-fuzz-init.c28
-rw-r--r--src/afl-fuzz-misc.c2
-rw-r--r--src/afl-fuzz-one.c16
-rw-r--r--src/afl-fuzz-python.c4
-rw-r--r--src/afl-fuzz-queue.c2
-rw-r--r--src/afl-fuzz-run.c6
-rw-r--r--src/afl-fuzz-stats.c6
-rw-r--r--src/afl-fuzz.c6
-rw-r--r--src/afl-gcc.c4
-rw-r--r--src/afl-gotcpu.c6
-rw-r--r--src/afl-sharedmem.c4
-rw-r--r--src/afl-showmap.c6
-rw-r--r--src/afl-tmin.c4
20 files changed, 88 insertions, 88 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c
index 7b647595..357672b1 100644
--- a/src/afl-analyze.c
+++ b/src/afl-analyze.c
@@ -3,7 +3,7 @@
    -------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -85,14 +85,14 @@ static volatile u8 stop_soon,          /* Ctrl-C pressed?                   */
 
 /* Constants used for describing byte behavior. */
 
-#define RESP_NONE 0x00     /* Changing byte is a no-op.         */
-#define RESP_MINOR 0x01    /* Some changes have no effect.      */
-#define RESP_VARIABLE 0x02 /* Changes produce variable paths.   */
-#define RESP_FIXED 0x03    /* Changes produce fixed patterns.   */
+#define RESP_NONE 0x00                 /* Changing byte is a no-op.         */
+#define RESP_MINOR 0x01                /* Some changes have no effect.      */
+#define RESP_VARIABLE 0x02             /* Changes produce variable paths.   */
+#define RESP_FIXED 0x03                /* Changes produce fixed patterns.   */
 
-#define RESP_LEN 0x04     /* Potential length field            */
-#define RESP_CKSUM 0x05   /* Potential checksum                */
-#define RESP_SUSPECT 0x06 /* Potential "suspect" blob          */
+#define RESP_LEN 0x04                  /* Potential length field            */
+#define RESP_CKSUM 0x05                /* Potential checksum                */
+#define RESP_SUSPECT 0x06              /* Potential "suspect" blob          */
 
 /* Classify tuple counts. This is a slow & naive version, but good enough here.
  */
@@ -260,7 +260,7 @@ static u32 run_target(char** argv, u8* mem, u32 len, u8 first_run) {
 
       setrlimit(RLIMIT_DATA, &r);                          /* Ignore errors */
 
-#endif /* ^RLIMIT_AS */
+#endif                                                        /* ^RLIMIT_AS */
 
     }
 
@@ -371,7 +371,7 @@ static void show_legend(void) {
 
 }
 
-#endif /* USE_COLOR */
+#endif                                                         /* USE_COLOR */
 
 /* Interpret and report a pattern in the input file. */
 
@@ -385,7 +385,7 @@ static void dump_hex(u8* buf, u32 len, u8* b_data) {
     u32 rlen = 1, off;
 #else
     u32 rlen = 1;
-#endif /* ^USE_COLOR */
+#endif                                                        /* ^USE_COLOR */
 
     u8 rtype = b_data[i] & 0x0f;
 
@@ -527,7 +527,7 @@ static void dump_hex(u8* buf, u32 len, u8* b_data) {
 
     }
 
-#endif /* ^USE_COLOR */
+#endif                                                        /* ^USE_COLOR */
 
     i += rlen - 1;
 
@@ -535,7 +535,7 @@ static void dump_hex(u8* buf, u32 len, u8* b_data) {
 
 #ifdef USE_COLOR
   SAYF(cRST "\n");
-#endif /* USE_COLOR */
+#endif                                                         /* USE_COLOR */
 
 }
 
@@ -555,7 +555,7 @@ static void analyze(char** argv) {
 
 #ifdef USE_COLOR
   show_legend();
-#endif /* USE_COLOR */
+#endif                                                         /* USE_COLOR */
 
   for (i = 0; i < in_len; i++) {
 
diff --git a/src/afl-as.c b/src/afl-as.c
index fed1882b..b5a5ed58 100644
--- a/src/afl-as.c
+++ b/src/afl-as.c
@@ -3,7 +3,7 @@
    -----------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -81,9 +81,9 @@ static u8 use_64bit = 0;
 
 #ifdef __APPLE__
 #error "Sorry, 32-bit Apple platforms are not supported."
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
 /* Examine and modify parameters to pass to 'as'. Note that the file name
    is always the last parameter passed by GCC, so we exploit this property
@@ -120,7 +120,7 @@ static void edit_params(int argc, char** argv) {
 
   }
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
   /* Although this is not documented, GCC also uses TEMP and TMP when TMPDIR
      is not set. We need to check these non-standard variables to properly
@@ -162,7 +162,7 @@ static void edit_params(int argc, char** argv) {
     if (clang_mode && (!strcmp(argv[i], "-q") || !strcmp(argv[i], "-Q")))
       continue;
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
     as_params[as_par_cnt++] = argv[i];
 
@@ -181,7 +181,7 @@ static void edit_params(int argc, char** argv) {
 
   }
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
   input_file = argv[argc - 1];
 
@@ -242,7 +242,7 @@ static void add_instrumentation(void) {
 
   u8* colon_pos;
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
   if (input_file) {
 
@@ -413,7 +413,7 @@ static void add_instrumentation(void) {
 
       if (line[0] == '.') {
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
         /* .L0: or LBB0_0: style jump destination */
 
@@ -432,7 +432,7 @@ static void add_instrumentation(void) {
              (clang_mode && !strncmp(line + 1, "LBB", 3))) &&
             R(100) < inst_ratio) {
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
           /* An optimization is possible here by adding the code only if the
              label is mentioned in the code in contexts other than call / jmp.
diff --git a/src/afl-common.c b/src/afl-common.c
index 7859a74f..62722cb9 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -3,7 +3,7 @@
    --------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c
index 2a4e0819..f2f3c0f0 100644
--- a/src/afl-forkserver.c
+++ b/src/afl-forkserver.c
@@ -3,9 +3,9 @@
    --------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Forkserver design by Jann Horn <jannhorn@googlemail.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -187,7 +187,7 @@ void init_forkserver(char **argv) {
          maps - so we should be getting good protection against OOM bugs. */
 
       setrlimit(RLIMIT_DATA, &r);                          /* Ignore errors */
-#endif /* ^RLIMIT_AS */
+#endif                                                        /* ^RLIMIT_AS */
 
     }
 
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index 34e1dacb..d867a318 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -3,7 +3,7 @@
    ----------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -87,7 +87,7 @@ u8 has_new_bits(u8* virgin_map) {
 
   u32 i = (MAP_SIZE >> 2);
 
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
   u8 ret = 0;
 
@@ -125,7 +125,7 @@ u8 has_new_bits(u8* virgin_map) {
         else
           ret = 1;
 
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
       }
 
@@ -306,7 +306,7 @@ void simplify_trace(u32* mem) {
 
 }
 
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
 /* Destructively classify execution counts in a trace. This is used as a
    preprocessing step for any newly acquired traces. Called on every exec,
@@ -391,7 +391,7 @@ void classify_counts(u32* mem) {
 
 }
 
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
 /* Compact trace bytes into a smaller bitmap. We effectively just drop the
    count information here. This is called only sporadically, for some
@@ -453,7 +453,7 @@ u8* describe_op(u8 hnb) {
 
 }
 
-#endif /* !SIMPLE_FILES */
+#endif                                                     /* !SIMPLE_FILES */
 
 /* Write a message accompanying the crash directory :-) */
 
@@ -551,7 +551,7 @@ u8 save_if_interesting(char** argv, void* mem, u32 len, u8 fault) {
 
     fn = alloc_printf("%s/queue/id_%06u", out_dir, queued_paths);
 
-#endif /* ^!SIMPLE_FILES */
+#endif                                                    /* ^!SIMPLE_FILES */
 
     add_to_queue(fn, len, 0);
 
@@ -599,7 +599,7 @@ u8 save_if_interesting(char** argv, void* mem, u32 len, u8 fault) {
         simplify_trace((u64*)trace_bits);
 #else
         simplify_trace((u32*)trace_bits);
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
         if (!has_new_bits(virgin_tmout)) return keeping;
 
@@ -636,7 +636,7 @@ u8 save_if_interesting(char** argv, void* mem, u32 len, u8 fault) {
 
       fn = alloc_printf("%s/hangs/id_%06llu", out_dir, unique_hangs);
 
-#endif /* ^!SIMPLE_FILES */
+#endif                                                    /* ^!SIMPLE_FILES */
 
       ++unique_hangs;
 
@@ -662,7 +662,7 @@ u8 save_if_interesting(char** argv, void* mem, u32 len, u8 fault) {
         simplify_trace((u64*)trace_bits);
 #else
         simplify_trace((u32*)trace_bits);
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
         if (!has_new_bits(virgin_crash)) return keeping;
 
@@ -680,7 +680,7 @@ u8 save_if_interesting(char** argv, void* mem, u32 len, u8 fault) {
       fn = alloc_printf("%s/crashes/id_%06llu_%02u", out_dir, unique_crashes,
                         kill_signal);
 
-#endif /* ^!SIMPLE_FILES */
+#endif                                                    /* ^!SIMPLE_FILES */
 
       ++unique_crashes;
 
diff --git a/src/afl-fuzz-extras.c b/src/afl-fuzz-extras.c
index 97f3ac5c..1a0e2eff 100644
--- a/src/afl-fuzz-extras.c
+++ b/src/afl-fuzz-extras.c
@@ -3,7 +3,7 @@
    ----------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
diff --git a/src/afl-fuzz-globals.c b/src/afl-fuzz-globals.c
index 0d073154..9aaa03cc 100644
--- a/src/afl-fuzz-globals.c
+++ b/src/afl-fuzz-globals.c
@@ -3,7 +3,7 @@
    -------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -220,7 +220,7 @@ s32 cpu_core_count;                     /* CPU core count                   */
 
 s32 cpu_aff = -1;                       /* Selected CPU core                */
 
-#endif /* HAVE_AFFINITY */
+#endif                                                     /* HAVE_AFFINITY */
 
 FILE *plot_file;                        /* Gnuplot output file              */
 
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index b45d3783..55464a36 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -3,7 +3,7 @@
    ------------------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -142,7 +142,7 @@ void bind_to_free_cpu(void) {
 
 }
 
-#endif /* HAVE_AFFINITY */
+#endif                                                     /* HAVE_AFFINITY */
 
 /* Load postprocessor, if available. */
 
@@ -651,7 +651,7 @@ void pivot_inputs(void) {
 
       nfn = alloc_printf("%s/queue/id_%06u", out_dir, id);
 
-#endif /* ^!SIMPLE_FILES */
+#endif                                                    /* ^!SIMPLE_FILES */
 
     }
 
@@ -827,7 +827,7 @@ double get_runnable_processes(void) {
 
   }
 
-#endif /* ^(__APPLE__ || __FreeBSD__ || __OpenBSD__) */
+#endif                        /* ^(__APPLE__ || __FreeBSD__ || __OpenBSD__) */
 
   return res;
 
@@ -901,7 +901,7 @@ void maybe_delete_out_dir(void) {
 
   }
 
-#endif /* !__sun */
+#endif                                                            /* !__sun */
 
   f = fopen(fn, "r");
 
@@ -1043,7 +1043,7 @@ void maybe_delete_out_dir(void) {
                            t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min,
                            t->tm_sec);
 
-#endif /* ^!SIMPLE_FILES */
+#endif                                                    /* ^!SIMPLE_FILES */
 
     rename(fn, nfn);                                      /* Ignore errors. */
     ck_free(nfn);
@@ -1074,7 +1074,7 @@ void maybe_delete_out_dir(void) {
                            t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min,
                            t->tm_sec);
 
-#endif /* ^!SIMPLE_FILES */
+#endif                                                    /* ^!SIMPLE_FILES */
 
     rename(fn, nfn);                                      /* Ignore errors. */
     ck_free(nfn);
@@ -1174,7 +1174,7 @@ void setup_dirs_fds(void) {
     if (out_dir_fd < 0 || flock(out_dir_fd, LOCK_EX | LOCK_NB))
       PFATAL("Unable to flock() output directory.");
 
-#endif /* !__sun */
+#endif                                                            /* !__sun */
 
   }
 
@@ -1390,7 +1390,7 @@ void check_crash_handling(void) {
 
   close(fd);
 
-#endif /* ^__APPLE__ */
+#endif                                                        /* ^__APPLE__ */
 
 }
 
@@ -1504,7 +1504,7 @@ void get_core_count(void) {
 
   if (sysctl(s_name, 2, &cpu_core_count, &s, NULL, 0) < 0) return;
 
-#endif /* ^__APPLE__ */
+#endif                                                        /* ^__APPLE__ */
 
 #else
 
@@ -1524,9 +1524,9 @@ void get_core_count(void) {
 
   fclose(f);
 
-#endif /* ^HAVE_AFFINITY */
+#endif                                                    /* ^HAVE_AFFINITY */
 
-#endif /* ^(__APPLE__ || __FreeBSD__ || __OpenBSD__) */
+#endif                        /* ^(__APPLE__ || __FreeBSD__ || __OpenBSD__) */
 
   if (cpu_core_count > 0) {
 
@@ -1540,7 +1540,7 @@ void get_core_count(void) {
 
     ++cur_runnable;
 
-#endif /* __APPLE__ || __FreeBSD__ || __OpenBSD__ */
+#endif                           /* __APPLE__ || __FreeBSD__ || __OpenBSD__ */
 
     OKF("You have %d CPU core%s and %u runnable tasks (utilization: %0.0f%%).",
         cpu_core_count, cpu_core_count > 1 ? "s" : "", cur_runnable,
@@ -1780,7 +1780,7 @@ void check_binary(u8* fname) {
     FATAL("Program '%s' is not a 64-bit Mach-O binary", target_path);
 #endif
 
-#endif /* ^!__APPLE__ */
+#endif                                                       /* ^!__APPLE__ */
 
   if (!qemu_mode && !unicorn_mode && !dumb_mode &&
       !memmem(f_data, f_len, SHM_ENV_VAR, strlen(SHM_ENV_VAR) + 1)) {
diff --git a/src/afl-fuzz-misc.c b/src/afl-fuzz-misc.c
index 09b02345..a7372b7d 100644
--- a/src/afl-fuzz-misc.c
+++ b/src/afl-fuzz-misc.c
@@ -3,7 +3,7 @@
    ----------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index 6dc7b658..9a7a5938 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -3,7 +3,7 @@
    ---------------------------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -328,7 +328,7 @@ static void locate_diffs(u8* ptr1, u8* ptr2, u32 len, s32* first, s32* last) {
 
 }
 
-#endif /* !IGNORE_FINDS */
+#endif                                                     /* !IGNORE_FINDS */
 
 /* Take the current entry from the queue, fuzz it for a while. This
    function is a tad too long... returns 0 if fuzzed successfully, 1 if
@@ -385,7 +385,7 @@ u8 fuzz_one_original(char** argv) {
 
   }
 
-#endif /* ^IGNORE_FINDS */
+#endif                                                     /* ^IGNORE_FINDS */
 
   if (not_on_tty) {
 
@@ -2253,7 +2253,7 @@ retry_splicing:
 
   }
 
-#endif /* !IGNORE_FINDS */
+#endif                                                     /* !IGNORE_FINDS */
 
   ret_val = 0;
 
@@ -2337,7 +2337,7 @@ u8 pilot_fuzzing(char** argv) {
 
   }
 
-#endif /* ^IGNORE_FINDS */
+#endif                                                     /* ^IGNORE_FINDS */
 
   if (not_on_tty) {
 
@@ -4015,7 +4015,7 @@ pacemaker_fuzzing:
 
       }
 
-#endif /* !IGNORE_FINDS */
+#endif                                                     /* !IGNORE_FINDS */
 
       ret_val = 0;
 
@@ -4198,7 +4198,7 @@ u8 core_fuzzing(char** argv) {
 
   }
 
-#endif /* ^IGNORE_FINDS */
+#endif                                                     /* ^IGNORE_FINDS */
 
   if (not_on_tty) {
 
@@ -5860,7 +5860,7 @@ pacemaker_fuzzing:
 
       }
 
-#endif /* !IGNORE_FINDS */
+#endif                                                     /* !IGNORE_FINDS */
 
       ret_val = 0;
     abandon_entry:
diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c
index 9a1309e0..1a28f603 100644
--- a/src/afl-fuzz-python.c
+++ b/src/afl-fuzz-python.c
@@ -3,7 +3,7 @@
    ------------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -401,5 +401,5 @@ abort_trimming:
 
 }
 
-#endif /* USE_PYTHON */
+#endif                                                        /* USE_PYTHON */
 
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c
index a77b5799..905fd931 100644
--- a/src/afl-fuzz-queue.c
+++ b/src/afl-fuzz-queue.c
@@ -3,7 +3,7 @@
    ---------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index 9f4fafe4..3c3a1d37 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -3,7 +3,7 @@
    --------------------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -73,7 +73,7 @@ u8 run_target(char** argv, u32 timeout) {
 
         setrlimit(RLIMIT_DATA, &r);                        /* Ignore errors */
 
-#endif /* ^RLIMIT_AS */
+#endif                                                        /* ^RLIMIT_AS */
 
       }
 
@@ -210,7 +210,7 @@ u8 run_target(char** argv, u32 timeout) {
   classify_counts((u64*)trace_bits);
 #else
   classify_counts((u32*)trace_bits);
-#endif /* ^__x86_64__ */
+#endif                                                       /* ^__x86_64__ */
 
   prev_timed_out = child_timed_out;
 
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index e68dc980..7f171279 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -3,7 +3,7 @@
    ---------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -310,7 +310,7 @@ void show_stats(void) {
   sprintf(tmp + banner_pad, "%s " cLCY VERSION cLGN " (%s) " cPIN "[%s]",
           crash_mode ? cPIN "peruvian were-rabbit" : cYEL "american fuzzy lop",
           use_banner, power_name);
-#endif /* HAVE_AFFINITY */
+#endif                                                     /* HAVE_AFFINITY */
 
   SAYF("\n%s\n", tmp);
 
@@ -674,7 +674,7 @@ void show_stats(void) {
     SAYF(SP10 cGRA "   [cpu:%s%3u%%" cGRA "]\r" cRST, cpu_color,
          MIN(cur_utilization, 999));
 
-#endif /* ^HAVE_AFFINITY */
+#endif                                                    /* ^HAVE_AFFINITY */
 
   } else
 
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 398d1b80..e94116f5 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -3,7 +3,7 @@
    --------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -621,7 +621,7 @@ int main(int argc, char** argv) {
 
 #ifdef HAVE_AFFINITY
   bind_to_free_cpu();
-#endif /* HAVE_AFFINITY */
+#endif                                                     /* HAVE_AFFINITY */
 
   check_crash_handling();
   check_cpu_governor();
@@ -880,5 +880,5 @@ stop_fuzzing:
 
 }
 
-#endif /* !AFL_LIB */
+#endif                                                          /* !AFL_LIB */
 
diff --git a/src/afl-gcc.c b/src/afl-gcc.c
index 08705a36..2dc17baf 100644
--- a/src/afl-gcc.c
+++ b/src/afl-gcc.c
@@ -3,7 +3,7 @@
    ------------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -201,7 +201,7 @@ static void edit_params(u32 argc, char** argv) {
 
     }
 
-#endif /* __APPLE__ */
+#endif                                                         /* __APPLE__ */
 
   }
 
diff --git a/src/afl-gotcpu.c b/src/afl-gotcpu.c
index 6ca129c2..a39659bb 100644
--- a/src/afl-gotcpu.c
+++ b/src/afl-gotcpu.c
@@ -3,7 +3,7 @@
    -----------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -54,7 +54,7 @@
 
 #ifdef __linux__
 #define HAVE_AFFINITY 1
-#endif /* __linux__ */
+#endif                                                         /* __linux__ */
 
 /* Get unix time in microseconds. */
 
@@ -255,7 +255,7 @@ int main(int argc, char** argv) {
 
   return (util_perc > 105) + (util_perc > 130);
 
-#endif /* ^HAVE_AFFINITY */
+#endif                                                    /* ^HAVE_AFFINITY */
 
 }
 
diff --git a/src/afl-sharedmem.c b/src/afl-sharedmem.c
index 9fd5fb01..0bd1ff2f 100644
--- a/src/afl-sharedmem.c
+++ b/src/afl-sharedmem.c
@@ -3,9 +3,9 @@
    -------------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Forkserver design by Jann Horn <jannhorn@googlemail.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 649684d3..f3b6c561 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -3,9 +3,9 @@
    ------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Forkserver design by Jann Horn <jannhorn@googlemail.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>
@@ -261,7 +261,7 @@ static void run_target(char** argv) {
 
       setrlimit(RLIMIT_DATA, &r);                          /* Ignore errors */
 
-#endif /* ^RLIMIT_AS */
+#endif                                                        /* ^RLIMIT_AS */
 
     }
 
diff --git a/src/afl-tmin.c b/src/afl-tmin.c
index a33966a0..a501b068 100644
--- a/src/afl-tmin.c
+++ b/src/afl-tmin.c
@@ -3,9 +3,9 @@
    ------------------------------------------
 
    Originally written by Michal Zalewski <lcamtuf@google.com>
-   
+
    Forkserver design by Jann Horn <jannhorn@googlemail.com>
-   
+
    Now maintained by by Marc Heuse <mh@mh-sec.de>,
                         Heiko Eißfeldt <heiko.eissfeldt@hexco.de> and
                         Andrea Fioraldi <andreafioraldi@gmail.com>