mirror of
https://github.com/decompals/wibo.git
synced 2025-12-16 16:37:12 +00:00
Improve synchapi impls; fix heap races & 64-bit fixes
This commit is contained in:
@@ -815,7 +815,7 @@ def emit_cc_thunk64(f: FuncInfo | TypedefInfo, lines: List[str]):
|
||||
if sys.platform != "darwin":
|
||||
# Restore FS base
|
||||
lines.append("\tmov r9, qword ptr [rbx+TEB_FSBASE]")
|
||||
lines.append("\twrfsbase r9")
|
||||
lines.append("\tWRITE_FSBASE r9, rbx")
|
||||
|
||||
# Stash guest stack in r10
|
||||
lines.append("\tmov r10, rsp")
|
||||
|
||||
Reference in New Issue
Block a user