mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 00:45:40 +00:00
Fuzz builds ok
* 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 Backports commit 12bcf3bea093ed733904d3993bbdba0c2572a497 from unicorn.
This commit is contained in:
parent
9e40a6441f
commit
deb4c46a7a
|
@ -55,7 +55,7 @@ static void test_sparc(void)
|
||||||
printf("Emulate SPARC code\n");
|
printf("Emulate SPARC code\n");
|
||||||
|
|
||||||
// Initialize emulator in Sparc mode
|
// Initialize emulator in Sparc mode
|
||||||
err = uc_open(UC_ARCH_SPARC, UC_MODE_32, &uc);
|
err = uc_open(UC_ARCH_SPARC, UC_MODE_SPARC32|UC_MODE_BIG_ENDIAN, &uc);
|
||||||
if (err) {
|
if (err) {
|
||||||
printf("Failed on uc_open() with error returned: %u (%s)\n",
|
printf("Failed on uc_open() with error returned: %u (%s)\n",
|
||||||
err, uc_strerror(err));
|
err, uc_strerror(err));
|
||||||
|
|
Loading…
Reference in a new issue