mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
fixes
This commit is contained in:
@ -262,7 +262,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
if (get_afl_env("AFL_DEBUG")) { debug = afl->debug = 1; }
|
||||
|
||||
map_size = get_map_size();
|
||||
afl_state_init(afl, map_size);
|
||||
afl_state_init_1(afl, map_size);
|
||||
afl->debug = debug;
|
||||
afl_fsrv_init(&afl->fsrv);
|
||||
|
||||
@ -827,10 +827,12 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
if (afl->fsrv.taint_mode && afl->fsrv.map_size < MAX_FILE) {
|
||||
|
||||
afl->fsrv.map_size = afl->shm.map_size = MAX_FILE;
|
||||
map_size = afl->fsrv.map_size = afl->shm.map_size = MAX_FILE;
|
||||
|
||||
}
|
||||
|
||||
afl_state_init_2(afl, map_size);
|
||||
|
||||
if (!mem_limit_given && afl->shm.cmplog_mode) afl->fsrv.mem_limit += 260;
|
||||
|
||||
OKF("afl++ is maintained by Marc \"van Hauser\" Heuse, Heiko \"hexcoder\" "
|
||||
|
Reference in New Issue
Block a user