about summary refs log tree commit diff
path: root/llvm_mode/afl-clang-fast.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-19 09:53:46 +0100
committervan Hauser <vh@thc.org>2020-02-19 09:53:46 +0100
commit687b357b2db4155eabaa30195d8d532a6e6b1b62 (patch)
tree61162e436224b7a6d1f8ae87b06c43cc997b0cc6 /llvm_mode/afl-clang-fast.c
parent3beee6da772f88f1bd7987b4b2e7c56a53ec3270 (diff)
downloadafl++-687b357b2db4155eabaa30195d8d532a6e6b1b62.tar.gz
isatty for all compilers + AFL_DEBUG
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r--llvm_mode/afl-clang-fast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index a760959f..751d25b8 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -498,7 +498,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")) {
 
 #ifdef USE_TRACE_PC
     SAYF(cCYA "afl-clang-fast" VERSION cRST