[DYNAREC] Resume regular signal with Dynarec

This commit is contained in:
ptitSeb committed 2026-06-25 18:15:14 +02:00
1 parent 896b965325
commit 38d64baba2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -597,7 +597,7 @@ int my_sigactionhandler_oldcode_32(x64emu_t* emu, int32_t sig, int simple, sigin
uint32_t mmapped = memExist((uintptr_t)info->si_addr);
uint32_t sysmapped = (info->si_addr<(void*)box64_pagesize)?1:mmapped;
uint32_t real_prot = 0;
int skip = 1; // in case sigjump is used to restore exectuion, 1 will switch to interpreter, 3 will switch to dynarec
int skip = 3; // in case sigjump is used to restore exectuion, 1 will switch to interpreter, 3 will switch to dynarec
if(prot&PROT_READ) real_prot|=PROT_READ;
if(prot&PROT_WRITE) real_prot|=PROT_WRITE;
if(prot&PROT_EXEC) real_prot|=PROT_WRITE;
+1 -1
View File
@@ -422,7 +422,7 @@ int my_sigactionhandler_oldcode_64(x64emu_t* emu, int32_t sig, int simple, sigin
uint32_t mmapped = memExist((uintptr_t)info->si_addr);
uint32_t sysmapped = (info->si_addr<(void*)box64_pagesize)?1:mmapped;
uint32_t real_prot = 0;
int skip = 1; // in case sigjump is used to restore exectuion, 1 will switch to interpreter, 3 will switch to dynarec
int skip = 3; // in case sigjump is used to restore exectuion, 1 will switch to interpreter, 3 will switch to dynarec
if(prot&PROT_READ) real_prot|=PROT_READ;
if(prot&PROT_WRITE) real_prot|=PROT_WRITE;
if(prot&PROT_EXEC) real_prot|=PROT_WRITE;