sync afl-fast-gcc with afl-clang-fast, add tests for gcc_plugin

This commit is contained in:
hexcoder-
2019-10-18 19:53:10 +02:00
parent b1822f2602
commit e7ab8be0cd
5 changed files with 108 additions and 21 deletions

View File

@ -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