This commit is contained in:
maksw committed 2026-10-27 09:28:31 +01:00
1 parent d36f19509c
commit 30d20457f0
309 files changed
+121746 -1963

No files matched your search

@@ -80,7 +80,7 @@ vfork_wait:
mov ecx, dword ptr [r12 + VF_ThreadHandle]
lea rdx, [r12 + VF_PreviousSuspendCount]
mov eax, SYS_RESUME_THREAD_AND_WAIT
int 40h
int 02Fh
mov r9d, eax
; The child may have overwritten every byte of the old vfork/helper frames.
+3 -3
View File
@@ -1,4 +1,4 @@
; syscall_stubs.asm - user-mode INT 0x40 stubs for syscall.dll and syscall_s.lib (MASM64)
; syscall_stubs.asm - user-mode INT 0x2F stubs for syscall.dll and syscall_s.lib (MASM64)
;
; Calling convention:
; RAX = syscall number.
@@ -30,7 +30,7 @@ ELSE
Sys&name PROC EXPORT
ENDIF
mov rax, nr
int 40h
int 02Fh
ret
Sys&name ENDP
ENDM
@@ -104,7 +104,7 @@ ENDIF
mov rbx, [rsp] ; restore original user RBX
add rsp, 8
mov rax, SYS_APC_RETURN
int 40h
int 02Fh
SysUserApcDispatcher_Failed:
jmp SysUserApcDispatcher_Failed