Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/HostingCLR_inject/HostingCLR/Syscalls.asm
Views: 11777
.code12; Reference: https://j00ru.vexillium.org/syscalls/nt/64/34; Windows 7 SP1 / Server 2008 R2 specific syscalls56ZwProtectVirtualMemory7SP1 proc7mov r10, rcx8mov eax, 4Dh9syscall10ret11ZwProtectVirtualMemory7SP1 endp1213ZwWriteVirtualMemory7SP1 proc14mov r10, rcx15mov eax, 37h16syscall17ret18ZwWriteVirtualMemory7SP1 endp1920ZwReadVirtualMemory7SP1 proc21mov r10, rcx22mov eax, 3Ch23syscall24ret25ZwReadVirtualMemory7SP1 endp2627; Windows 8 / Server 2012 specific syscalls2829ZwProtectVirtualMemory80 proc30mov r10, rcx31mov eax, 4Eh32syscall33ret34ZwProtectVirtualMemory80 endp3536ZwWriteVirtualMemory80 proc37mov r10, rcx38mov eax, 38h39syscall40ret41ZwWriteVirtualMemory80 endp4243ZwReadVirtualMemory80 proc44mov r10, rcx45mov eax, 3Dh46syscall47ret48ZwReadVirtualMemory80 endp4950; Windows 8.1 / Server 2012 R2 specific syscalls5152ZwProtectVirtualMemory81 proc53mov r10, rcx54mov eax, 4Fh55syscall56ret57ZwProtectVirtualMemory81 endp5859ZwWriteVirtualMemory81 proc60mov r10, rcx61mov eax, 39h62syscall63ret64ZwWriteVirtualMemory81 endp6566ZwReadVirtualMemory81 proc67mov r10, rcx68mov eax, 3Eh69syscall70ret71ZwReadVirtualMemory81 endp7273; Windows 10 / Server 2016 specific syscalls7475ZwProtectVirtualMemory10 proc76mov r10, rcx77mov eax, 50h78syscall79ret80ZwProtectVirtualMemory10 endp8182ZwWriteVirtualMemory10 proc83mov r10, rcx84mov eax, 3Ah85syscall86ret87ZwWriteVirtualMemory10 endp8889ZwReadVirtualMemory10 proc90mov r10, rcx91mov eax, 3Fh92syscall93ret94ZwReadVirtualMemory10 endp9596end9798