cosmopolitan/libc/nt/KernelBase/GetModuleFileNameW.s

13 lines
270 B
ArmAsm
Raw Normal View History

2020-06-15 14:18:57 +00:00
.include "o/libc/nt/codegen.inc"
.imp KernelBase,__imp_GetModuleFileNameW,GetModuleFileNameW,602
.text.windows
GetModuleFileName:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetModuleFileNameW(%rip),%rax
jmp __sysv2nt
.endfn GetModuleFileName,globl
.previous