increased default memory limit (200megs) on NetBSD (due to kernel bug), fixes the afl-tmin test

This commit is contained in:
hexcoder-
2020-01-17 16:06:43 +01:00
parent 7c0704b30c
commit cb23fe2aba

View File

@ -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