about summary refs log tree commit diff
path: root/src/afl-cc.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-21 17:15:14 +0100
committervan Hauser <vh@thc.org>2021-01-21 17:15:14 +0100
commitb850951c726258053c5635d6597704cf346fe3c4 (patch)
treeb87280e0df9ce601b4e770984d4eb39856324aef /src/afl-cc.c
parent43edd969d8edeac874e28bf535e56a10867a2410 (diff)
downloadafl++-b850951c726258053c5635d6597704cf346fe3c4.tar.gz
code format and not setting sanitizers if debug and settings present
Diffstat (limited to 'src/afl-cc.c')
-rw-r--r--src/afl-cc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index b0b11f48..8e7af0f9 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -586,9 +586,9 @@ static void edit_params(u32 argc, char **argv, char **envp) {
       if (instrument_mode == INSTRUMENT_PCGUARD) {
 
 #if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0)
-#ifdef __ANDROID__
+  #ifdef __ANDROID__
         cc_params[cc_par_cnt++] = "-fsanitize-coverage=trace-pc-guard";
-#else
+  #else
         if (have_instr_list) {
 
           if (!be_quiet)
@@ -608,7 +608,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
         }
 
-#endif
+  #endif
 #else
   #if LLVM_MAJOR >= 4
         if (!be_quiet)
@@ -1036,7 +1036,7 @@ int main(int argc, char **argv, char **envp) {
 #endif
 
 #ifdef __ANDROID__
-    have_llvm = 1;
+  have_llvm = 1;
 #endif
 
   if ((ptr = find_object("afl-gcc-pass.so", argv[0])) != NULL) {