cosmopolitan/libc/nt/kernel32/VirtualProtect.s

13 lines
252 B
ArmAsm
Raw Normal View History

2020-06-15 14:18:57 +00:00
.include "o/libc/nt/codegen.inc"
.imp kernel32,__imp_VirtualProtect,VirtualProtect,0
2020-06-15 14:18:57 +00:00
.text.windows
__VirtualProtect:
2020-06-15 14:18:57 +00:00
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_VirtualProtect(%rip),%rax
jmp __sysv2nt
.endfn __VirtualProtect,globl
2020-06-15 14:18:57 +00:00
.previous