cosmopolitan/libc/nt/kernel32/CreateToolhelp32Snapshot.s
Justine Tunney ec2cb88058 Make fixes and improvements
- Document more compiler flags
- Expose new __print_maps() api
- Better overflow checking in mmap()
- Improve the shell example somewhat
- Fix minor runtime bugs regarding stacks
- Make kill() on fork()+execve()'d children work
- Support CLONE_CHILD_CLEARTID for proper joining
- Fix recent possible deadlock regression with --ftrace
2022-05-19 16:57:49 -07:00

12 lines
298 B
ArmAsm

.include "o/libc/nt/codegen.inc"
.imp kernel32,__imp_CreateToolhelp32Snapshot,CreateToolhelp32Snapshot,0
.text.windows
CreateToolhelp32Snapshot:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_CreateToolhelp32Snapshot(%rip),%rax
jmp __sysv2nt
.endfn CreateToolhelp32Snapshot,globl
.previous