about summary refs log tree commit diff
path: root/gcc_plugin/afl-gcc-pass.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-25 14:01:55 +0100
committervan Hauser <vh@thc.org>2020-02-25 14:01:55 +0100
commit2c9c2e139e506a7a5bb2dab00c524bc9ed1f54eb (patch)
treeb3a645d432ba0e545939b9fbd49cc798affb8337 /gcc_plugin/afl-gcc-pass.so.cc
parenta540bae7a9af6f17630190127d053945b1ddeb25 (diff)
downloadafl++-2c9c2e139e506a7a5bb2dab00c524bc9ed1f54eb.tar.gz
afl-gcc change -> test.sh
Diffstat (limited to 'gcc_plugin/afl-gcc-pass.so.cc')
-rw-r--r--gcc_plugin/afl-gcc-pass.so.cc2
1 files changed, 1 insertions, 1 deletions
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"));