about summary refs log tree commit diff
path: root/llvm_mode/afl-clang-fast.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-18 19:53:10 +0200
committerhexcoder- <heiko@hexco.de>2019-10-18 19:53:10 +0200
commite7ab8be0cd97f9a18e6ca2f855afa69768322dfb (patch)
treed8248acacb9135473f35da77c832eddf4ae3d949 /llvm_mode/afl-clang-fast.c
parentb1822f26022c323e4b47198abbb7d5f5ea6a57e5 (diff)
downloadafl++-e7ab8be0cd97f9a18e6ca2f855afa69768322dfb.tar.gz
sync afl-fast-gcc with afl-clang-fast, add tests for gcc_plugin
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r--llvm_mode/afl-clang-fast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 142d6331..54f9e6e9 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -112,7 +112,7 @@ static void edit_params(u32 argc, char** argv) {
   if (!name)
     name = argv[0];
   else
-    name++;
+    ++name;
 
   if (!strcmp(name, "afl-clang-fast++")) {
 
@@ -128,7 +128,7 @@ static void edit_params(u32 argc, char** argv) {
 
   /* There are three ways to compile with afl-clang-fast. In the traditional
      mode, we use afl-llvm-pass.so, then there is libLLVMInsTrim.so which is
-     much faster but has less coverage. Finally tere is the experimental
+     much faster but has less coverage. Finally there is the experimental
      'trace-pc-guard' mode, we use native LLVM instrumentation callbacks
      instead. For trace-pc-guard see:
      http://clang.llvm.org/docs/SanitizerCoverage.html#tracing-pcs-with-guards