enable snapshot lkm for llvm_mode persistent mode

This commit is contained in:
van Hauser
2020-05-27 17:17:33 +02:00
parent aace0d1192
commit af670ca138
3 changed files with 4 additions and 1 deletions

View File

@ -519,7 +519,7 @@ static void __afl_start_snapshots(void) {
static void __afl_start_forkserver(void) {
#ifdef __linux__
if (!is_persistent && !__afl_cmp_map && !getenv("AFL_NO_SNAPSHOT") &&
if (/*!is_persistent &&*/ !__afl_cmp_map && !getenv("AFL_NO_SNAPSHOT") &&
afl_snapshot_init() >= 0) {
__afl_start_snapshots();