mirror of
https://github.com/ptitSeb/box64.git
synced 2026-11-08 10:10:25 -10:00
[DYNAREC] Resume regular signal with Dynarec
This commit is contained in:
1 parent
896b965325
commit
38d64baba2
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user