mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
warn rather than fail if AFL_MAP_SIZE is set and not understood by instrumenter
This commit is contained in:
@ -379,7 +379,7 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
|
|
||||||
u32 map_size = atoi(ptr);
|
u32 map_size = atoi(ptr);
|
||||||
if (map_size != MAP_SIZE)
|
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");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -939,7 +939,7 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
|
|
||||||
u32 map_size = atoi(ptr2);
|
u32 map_size = atoi(ptr2);
|
||||||
if (map_size != MAP_SIZE)
|
if (map_size != MAP_SIZE)
|
||||||
WARN("AFL_MAP_SIZE is not supported by afl-clang-fast");
|
WARNF("AFL_MAP_SIZE is not supported by afl-clang-fast");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -465,7 +465,7 @@ int main(int argc, char **argv) {
|
|||||||
u32 map_size = atoi(ptr);
|
u32 map_size = atoi(ptr);
|
||||||
if (map_size != MAP_SIZE) {
|
if (map_size != MAP_SIZE) {
|
||||||
|
|
||||||
WARN("AFL_MAP_SIZE is not supported by afl-gcc");
|
WARNF("AFL_MAP_SIZE is not supported by afl-gcc");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user