Oss-fuzz ideal integration (#1265)

* Adds oss-fuzz badge

* Generic fix for watchpoints leak
This commit is contained in:
Catena cyber
2020-05-23 03:59:30 +02:00
committed by GitHub
parent 17cfef0e56
commit 690ada5f6a
3 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ static void release_common(void *t)
memory_free(s->uc);
tb_cleanup(s->uc);
free_code_gen_buffer(s->uc);
cpu_watchpoint_remove_all(CPU(s->uc->cpu), BP_CPU);
#if TCG_TARGET_REG_BITS == 32
for(i = 0; i < s->nb_globals; i++) {