mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
review done, pray
This commit is contained in:
@ -894,9 +894,18 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
if (afl->taint_mode) { FATAL("-A and -n are mutually exclusive"); }
|
||||
|
||||
}
|
||||
|
||||
if (afl->limit_time_sig != 0 && afl->taint_mode) { FATAL("-A and -L are mutually exclusive"); }
|
||||
if (afl->unicorn_mode != 0 && afl->taint_mode) { FATAL("-A and -U are mutually exclusive"); }
|
||||
|
||||
if (afl->limit_time_sig != 0 && afl->taint_mode) {
|
||||
|
||||
FATAL("-A and -L are mutually exclusive");
|
||||
|
||||
}
|
||||
|
||||
if (afl->unicorn_mode != 0 && afl->taint_mode) {
|
||||
|
||||
FATAL("-A and -U are mutually exclusive");
|
||||
|
||||
}
|
||||
|
||||
if (get_afl_env("AFL_DISABLE_TRIM")) { afl->disable_trim = 1; }
|
||||
|
||||
@ -1309,7 +1318,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
OKF("Taint forkserver successfully started");
|
||||
|
||||
const rlim_t kStackSize = 256L * 1024L * 1024L; // min stack size = 256 Mb
|
||||
const rlim_t kStackSize = 128L * 1024L * 1024L; // min stack size = 128 Mb
|
||||
struct rlimit rl;
|
||||
rl.rlim_cur = kStackSize;
|
||||
if (getrlimit(RLIMIT_STACK, &rl) != 0)
|
||||
|
Reference in New Issue
Block a user