about summary refs log tree commit diff
path: root/llvm_mode
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-15 19:23:26 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-15 19:23:26 +0200
commit0c02a8f4d31480c8459bc695ae655b69d02b98df (patch)
tree1e01de3965be2bd32e784411aa318fb1cfefc543 /llvm_mode
parent48f7f7a17b8ac848e261cfc47800e1e6d7a51bcb (diff)
downloadafl++-0c02a8f4d31480c8459bc695ae655b69d02b98df.tar.gz
changed run_target
Diffstat (limited to 'llvm_mode')
-rw-r--r--llvm_mode/afl-clang-fast.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index f58c22dd..57d7b89a 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -184,7 +184,9 @@ static void edit_params(u32 argc, char **argv, char **envp) {
       sprintf(llvm_fullpath, CLANGPP_BIN);
     cc_params[0] = alt_cxx && *alt_cxx ? alt_cxx : (u8 *)llvm_fullpath;
 
-  } else if (!strcmp(name, "afl-clang-fast") || !strcmp(name, "afl-clang-lto")) {
+  } else if (!strcmp(name, "afl-clang-fast") ||
+
+             !strcmp(name, "afl-clang-lto")) {
 
     u8 *alt_cc = getenv("AFL_CC");
     if (USE_BINDIR)
@@ -194,8 +196,12 @@ static void edit_params(u32 argc, char **argv, char **envp) {
     cc_params[0] = alt_cc && *alt_cc ? alt_cc : (u8 *)llvm_fullpath;
 
   } else {
+
     fprintf(stderr, "Name of the binary: %s\n", argv[0]);
-    FATAL("Name of the binary is not a known name, expected afl-clang-fast(++) or afl-clang-lto(++)");
+    FATAL(
+        "Name of the binary is not a known name, expected afl-clang-fast(++) "
+        "or afl-clang-lto(++)");
+
   }
 
   /* There are three ways to compile with afl-clang-fast. In the traditional