No longer used hacked liveness_pass_1
This hack was introduced in issue#287 which later becomes endless maintainance pain. ===== Our previous check_exit_request use `brcond` in the middle of a TranslationBlock which breaks the assumptions and thus a hack to liveness_pass_1 is used for _all_ brcond instructions which causes issues for MIPS and many other scenarios. ===== This patch also resolves PC not sync-ed when no memory hooks are installed, finally. Now Unicorn will always have correct PC no matter what happens.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#ifndef UNICORN_ARCH_POSTFIX
|
||||
#define UNICORN_ARCH_POSTFIX _sparc
|
||||
#endif
|
||||
#define gen_helper_check_exit_request gen_helper_check_exit_request_sparc
|
||||
#define unicorn_fill_tlb unicorn_fill_tlb_sparc
|
||||
#define reg_read reg_read_sparc
|
||||
#define reg_write reg_write_sparc
|
||||
|
||||
Reference in New Issue
Block a user