sparc: add SPARC32 mode (= UC_MODE_32)
This commit is contained in:
@ -57,7 +57,7 @@ static void test_sparc(void)
|
||||
printf("Emulate SPARC code\n");
|
||||
|
||||
// Initialize emulator in Sparc mode
|
||||
err = uc_open(UC_ARCH_SPARC, 0, &uc);
|
||||
err = uc_open(UC_ARCH_SPARC, UC_MODE_SPARC32, &uc);
|
||||
if (err) {
|
||||
printf("Failed on uc_open() with error returned: %u (%s)\n",
|
||||
err, uc_strerror(err));
|
||||
|
Reference in New Issue
Block a user