Fix Windows build for AFL integration

This commit is contained in:
2021-10-25 16:11:58 +02:00
parent 1fa2eb688b
commit 7ac7c23c12
11 changed files with 23 additions and 2 deletions

View File

@@ -194,6 +194,7 @@ void resume_all_vcpus(struct uc_struct* uc)
tb_flush_jmp_cache(cpu, uc->addr_end);
}
#ifdef UNICORN_HAS_AFL
if (uc->afl) {
// UNICORN-AFL supports (and needs) multiple exits.
uint64_t *exits = uc->exits;
@@ -209,6 +210,7 @@ void resume_all_vcpus(struct uc_struct* uc)
}
}
}
#endif
cpu->created = false;
}