about summary refs log tree commit diff
path: root/gcc_plugin
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-06 14:10:14 +0200
committervan Hauser <vh@thc.org>2020-07-06 14:10:14 +0200
commit75fa1ac3b00a01a0ae02addcedae0e09d674930e (patch)
treee93dd01e261b4a2b11c339eecfb919cb315e73cc /gcc_plugin
parentb5a00312e02748cf217358f2fcc0c22275c1fc48 (diff)
downloadafl++-75fa1ac3b00a01a0ae02addcedae0e09d674930e.tar.gz
warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter
Diffstat (limited to 'gcc_plugin')
-rw-r--r--gcc_plugin/afl-gcc-fast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c
index af0beca7..fa1c70d7 100644
--- a/gcc_plugin/afl-gcc-fast.c
+++ b/gcc_plugin/afl-gcc-fast.c
@@ -379,7 +379,7 @@ int main(int argc, char **argv, char **envp) {
 
     u32 map_size = atoi(ptr);
     if (map_size != MAP_SIZE)
-      FATAL("AFL_MAP_SIZE is not supported by afl-gcc-fast");
+      WARN("AFL_MAP_SIZE is not supported by afl-gcc-fast");
 
   }