diff options
author | van Hauser <vh@thc.org> | 2020-10-09 23:23:44 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-10-09 23:23:44 +0200 |
commit | 125f8b6ba71fba91735374b1bd07333b19aae635 (patch) | |
tree | eb2ae6521fa72a3c49da0f54a1e622fde425fff8 /include/config.h | |
parent | fd4a2dfec2d44879aa7b9eee76978b56a60e7912 (diff) | |
download | afl++-125f8b6ba71fba91735374b1bd07333b19aae635.tar.gz |
-m none is the default now
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/include/config.h b/include/config.h index 3f5c5448..5df604e7 100644 --- a/include/config.h +++ b/include/config.h @@ -66,25 +66,17 @@ #define WORD_SIZE_64 1 #endif -/* Default memory limit for child process (MB): */ - -#ifndef __NetBSD__ - #ifndef WORD_SIZE_64 - #define MEM_LIMIT 50 - #else - #define MEM_LIMIT 75 - #endif /* ^!WORD_SIZE_64 */ -#else /* NetBSD's kernel needs more space for stack, see discussion for issue \ - #165 */ - #define MEM_LIMIT 250 -#endif -/* Default memory limit when running in QEMU mode (MB): */ +/* Default memory limit for child process (MB) 0 = disabled : */ + +#define MEM_LIMIT 0 + +/* Default memory limit when running in QEMU mode (MB) 0 = disabled : */ -#define MEM_LIMIT_QEMU 250 +#define MEM_LIMIT_QEMU 0 -/* Default memory limit when running in Unicorn mode (MB): */ +/* Default memory limit when running in Unicorn mode (MB) 0 = disabled : */ -#define MEM_LIMIT_UNICORN 250 +#define MEM_LIMIT_UNICORN 0 /* Number of calibration cycles per every new test case (and for test cases that show variable behavior): */ |