break up llvm rt afl init

This commit is contained in:
van Hauser
2020-08-11 03:37:02 +02:00
parent fee58a4d1b
commit 9cf8637fab
2 changed files with 18 additions and 7 deletions

View File

@ -1305,7 +1305,7 @@ int main(int argc, char **argv_orig, char **envp) {
OKF("Taint forkserver successfully started");
const rlim_t kStackSize = 64L * 1024L * 1024L; // min stack size = 64 Mb
const rlim_t kStackSize = 256L * 1024L * 1024L; // min stack size = 256 Mb
struct rlimit rl;
rl.rlim_cur = kStackSize;
if (getrlimit(RLIMIT_STACK, &rl) != 0)