mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
test support for forced persistent mode
This commit is contained in:
@ -2818,7 +2818,7 @@ void check_binary(afl_state_t *afl, u8 *fname) {
|
||||
OKF(cPIN "Persistent mode binary detected.");
|
||||
setenv(PERSIST_ENV_VAR, "1", 1);
|
||||
afl->persistent_mode = 1;
|
||||
|
||||
afl->fsrv.persistent_mode = 1;
|
||||
afl->shmem_testcase_mode = 1;
|
||||
|
||||
} else if (getenv("AFL_PERSISTENT")) {
|
||||
@ -2830,7 +2830,6 @@ void check_binary(afl_state_t *afl, u8 *fname) {
|
||||
OKF("FRIDA Persistent mode configuration options detected.");
|
||||
setenv(PERSIST_ENV_VAR, "1", 1);
|
||||
afl->persistent_mode = 1;
|
||||
|
||||
afl->shmem_testcase_mode = 1;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user