diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-25 21:24:43 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-25 21:24:43 +0100 |
commit | e12edca29a43f728868b1105ca071c85a0c4a11e (patch) | |
tree | d4b17cc4b173783e68322eb068489a9afe197ff5 /gcc_plugin | |
parent | 7e0663e4e0040efabef875d6bcbb4e2c7a9085d7 (diff) | |
parent | 4bd736e1a79ada95ae4266be72c331106e580075 (diff) | |
download | afl++-e12edca29a43f728868b1105ca071c85a0c4a11e.tar.gz |
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'gcc_plugin')
-rw-r--r-- | gcc_plugin/afl-gcc-fast.c | 2 | ||||
-rw-r--r-- | gcc_plugin/afl-gcc-pass.so.cc | 2 | ||||
-rw-r--r-- | gcc_plugin/afl-gcc-rt.o.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c index 2aee8f4a..28190f93 100644 --- a/gcc_plugin/afl-gcc-fast.c +++ b/gcc_plugin/afl-gcc-fast.c @@ -330,7 +330,7 @@ int main(int argc, char** argv, char** envp) { exit(1); - } else if (isatty(2) && !getenv("AFL_QUIET")) { + } else if ((isatty(2) && !getenv("AFL_QUIET")) || getenv("AFL_DEBUG") != NULL) { SAYF(cCYA "afl-gcc-fast" VERSION cRST " initially by <aseipp@pobox.com>, maintainer: hexcoder-\n"); diff --git a/gcc_plugin/afl-gcc-pass.so.cc b/gcc_plugin/afl-gcc-pass.so.cc index f77af5fa..9c08cec4 100644 --- a/gcc_plugin/afl-gcc-pass.so.cc +++ b/gcc_plugin/afl-gcc-pass.so.cc @@ -533,7 +533,7 @@ int plugin_init(struct plugin_name_args * plugin_info, } /* Show a banner */ - if (isatty(2) && !getenv("AFL_QUIET")) { + if ((isatty(2) && !getenv("AFL_QUIET")) || getenv("AFL_DEBUG") != NULL) { SAYF(G_(cCYA "afl-gcc-pass" VERSION cRST " initially by <aseipp@pobox.com>, maintainer: hexcoder-\n")); diff --git a/gcc_plugin/afl-gcc-rt.o.c b/gcc_plugin/afl-gcc-rt.o.c index 1831f935..356d0b6d 100644 --- a/gcc_plugin/afl-gcc-rt.o.c +++ b/gcc_plugin/afl-gcc-rt.o.c @@ -214,7 +214,7 @@ static void __afl_start_forkserver(void) { } -/* A simplified persistent mode handler, used as explained in README.llvm. */ +/* A simplified persistent mode handler, used as explained in README.md. */ int __afl_persistent_loop(unsigned int max_cnt) { |