cosmopolitan/libc/nt/KernelBase/OpenProcess.s

13 lines
238 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp KernelBase,__imp_OpenProcess,OpenProcess,1047
.text.windows
OpenProcess:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_OpenProcess(%rip),%rax
jmp __sysv2nt
.endfn OpenProcess,globl
.previous