Oss-fuzz ideal integration (#1265)
* Adds oss-fuzz badge * Generic fix for watchpoints leak
This commit is contained in:
@ -32,7 +32,6 @@ void arm_release(void* ctx)
|
||||
g_free(cpu->cpreg_values);
|
||||
g_free(cpu->cpreg_vmstate_indexes);
|
||||
g_free(cpu->cpreg_vmstate_values);
|
||||
cpu_watchpoint_remove_all(CPU(cpu), BP_CPU);
|
||||
|
||||
release_common(ctx);
|
||||
}
|
||||
|
@ -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++) {
|
||||
|
Reference in New Issue
Block a user