diff options
author | hexcoder- <heiko@hexco.de> | 2020-01-17 16:06:43 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-01-17 16:06:43 +0100 |
commit | cb23fe2aba8487464755abe2debfb78980cc5eba (patch) | |
tree | e86265da51958267166f39f1e107a377f854b0dc | |
parent | 7c0704b30c85b5fdaba582bfb4299623c255f498 (diff) | |
download | afl++-cb23fe2aba8487464755abe2debfb78980cc5eba.tar.gz |
increased default memory limit (200megs) on NetBSD (due to kernel bug), fixes the afl-tmin test
-rw-r--r-- | include/config.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h index c5139dbd..69380282 100644 --- a/include/config.h +++ b/include/config.h @@ -61,12 +61,15 @@ /* Default memory limit for child process (MB): */ -#ifndef WORD_SIZE_64 -#define MEM_LIMIT 25 +#ifndef __NetBSD__ +# ifndef WORD_SIZE_64 +# define MEM_LIMIT 25 +# else +# define MEM_LIMIT 50 +# endif /* ^!WORD_SIZE_64 */ #else -#define MEM_LIMIT 50 -#endif /* ^!WORD_SIZE_64 */ - +# define MEM_LIMIT 200 +#endif /* Default memory limit when running in QEMU mode (MB): */ #define MEM_LIMIT_QEMU 200 |