warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter

This commit is contained in:
van Hauser 2020-07-06 14:10:14 +02:00
parent b5a00312e0
commit 75fa1ac3b0
4 changed files with 8 additions and 3 deletions

View File

@ -21,6 +21,11 @@ gcc_plugin:
- laf-intel
- better instrumentation (seems to be better with gcc-9+)
better documentation:
- flow graph
- short intro
- faq (how to increase stability, speed, many parallel ...)
qemu_mode:
- update to 5.x (if the performance bug if gone)
- non colliding instrumentation

View File

@ -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");
}

View File

@ -939,7 +939,7 @@ int main(int argc, char **argv, char **envp) {
u32 map_size = atoi(ptr2);
if (map_size != MAP_SIZE)
FATAL("AFL_MAP_SIZE is not supported by afl-clang-fast");
WARN("AFL_MAP_SIZE is not supported by afl-clang-fast");
}

View File

@ -465,7 +465,7 @@ int main(int argc, char **argv) {
u32 map_size = atoi(ptr);
if (map_size != MAP_SIZE) {
FATAL("AFL_MAP_SIZE is not supported by afl-gcc");
WARN("AFL_MAP_SIZE is not supported by afl-gcc");
}