Fuzz builds ok (#1007)

* Fuzzing M68K without abort

* UC_MODE_32 is not ok with sparc

use UC_MODE_SPARC32|UC_MODE_BIG_ENDIAN instead

* Temporary removing leaking on start targets

* Do not abort for m68K undef instructions
This commit is contained in:
Catena cyber
2018-09-11 06:49:32 +02:00
committed by Nguyen Anh Quynh
parent 2ab9e83703
commit 12bcf3bea0
6 changed files with 3 additions and 175 deletions

View File

@@ -888,10 +888,7 @@ DISAS_INSN(undef_fpu)
DISAS_INSN(undef)
{
M68kCPU *cpu = m68k_env_get_cpu(env);
gen_exception(s, s->pc - 2, EXCP_UNSUPPORTED);
cpu_abort(CPU(cpu), "Illegal instruction: %04x @ %08x", insn, s->pc - 2);
}
DISAS_INSN(mulw)