M1 W^X fully supported

This commit is contained in:
2024-02-12 00:10:44 +08:00
parent e915e18987
commit 822bb527f3
8 changed files with 223 additions and 47 deletions

View File

@@ -388,8 +388,8 @@ TranslationBlock *tb_htable_lookup(CPUState *cpu, target_ulong pc,
target_ulong cs_base, uint32_t flags,
uint32_t cf_mask);
void tb_set_jmp_target(TranslationBlock *tb, int n, uintptr_t addr);
void tb_exec_lock(TCGContext*);
void tb_exec_unlock(TCGContext*);
void tb_exec_lock(struct uc_struct*);
void tb_exec_unlock(struct uc_struct*);
/* GETPC is the true target of the return instruction that we'll execute. */
#ifdef _MSC_VER