about summary refs log tree commit diff
path: root/gcc_plugin/afl-gcc-fast.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-12-02 17:32:31 +0100
committervan Hauser <vh@thc.org>2019-12-02 17:32:31 +0100
commitdbdd9dbbde2735fb604456fd05e3fa16566e9e49 (patch)
tree3ed6ba2969d8898d0f358a0efd8a5aebdfd2e82b /gcc_plugin/afl-gcc-fast.c
parenta3416b1571cc9be79ce2eede347915f7701c2fcf (diff)
downloadafl++-dbdd9dbbde2735fb604456fd05e3fa16566e9e49.tar.gz
getting very close with travis
Diffstat (limited to 'gcc_plugin/afl-gcc-fast.c')
-rw-r--r--gcc_plugin/afl-gcc-fast.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c
index 68035944..6522aa69 100644
--- a/gcc_plugin/afl-gcc-fast.c
+++ b/gcc_plugin/afl-gcc-fast.c
@@ -325,6 +325,12 @@ int main(int argc, char** argv) {
     SAYF(cCYA "afl-gcc-fast" VERSION cRST
               " initially by <aseipp@pobox.com>, maintainer: hexcoder-\n");
 
+    if (getenv("AFL_GCC_WHITELIST") == NULL) {
+    
+      SAYF(cYEL "Warning:" cRST " using afl-gcc-fast without using AFL_GCC_WHITELIST currently produces worse results than afl-gcc. Even better, use llvm_mode for now.\n");
+    
+    }
+
   }
 
   find_obj(argv[0]);