Fix UC_MODE_AFL and update config

This commit is contained in:
2021-10-25 14:39:40 +02:00
parent d965c0f159
commit 1fa2eb688b
13 changed files with 83 additions and 19 deletions

View File

@@ -194,7 +194,7 @@ void resume_all_vcpus(struct uc_struct* uc)
tb_flush_jmp_cache(cpu, uc->addr_end);
}
if (uc->mode & UC_MODE_AFL) {
if (uc->afl) {
// UNICORN-AFL supports (and needs) multiple exits.
uint64_t *exits = uc->exits;
size_t exit_count = uc->exit_count;