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>2020-07-06 14:11:21 +0200
committervan Hauser <vh@thc.org>2020-07-06 14:11:21 +0200
commit0aed549df102cde6a60dc9ef57524413e978814f (patch)
treece2a575ef9a08dc20268dbaada434082dbdfb012 /gcc_plugin/afl-gcc-fast.c
parent75fa1ac3b00a01a0ae02addcedae0e09d674930e (diff)
downloadafl++-0aed549df102cde6a60dc9ef57524413e978814f.tar.gz
warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter
Diffstat (limited to 'gcc_plugin/afl-gcc-fast.c')
-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 fa1c70d7..b1bacfbd 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)
-      WARN("AFL_MAP_SIZE is not supported by afl-gcc-fast");
+      WARNF("AFL_MAP_SIZE is not supported by afl-gcc-fast");
 
   }