mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-26 20:40:28 +00:00
Delete most undocumented New Technology APIs
This change removes LIBC_KERNELBASE which is legacy code from the initial import which was generated off a script that resolved the delegated references, on Windows 10. All the important stuff here should have long since been filed under kernel32.dll for windows7 Many FooA functions that were never assigned an arity are removed because we almost never use the ASCII versions of WIN32 functions therefore it's not worth having them slowing down the build. Some other functions that overlap uncomfortably with libc are gone too If something you need was removed, file an issue we'll restore it
This commit is contained in:
parent
183b3ed6a2
commit
a157940ba6
1379 changed files with 4304 additions and 8337 deletions
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_FreeAddrInfoExW,FreeAddrInfoExW,26
|
||||
|
||||
.text.windows
|
||||
FreeAddrInfoEx:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_FreeAddrInfoExW(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn FreeAddrInfoEx,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_FreeAddrInfoW,FreeAddrInfoW,27
|
||||
|
||||
.text.windows
|
||||
FreeAddrInfo:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_FreeAddrInfoW(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn FreeAddrInfo,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetAddrInfoExA,GetAddrInfoExA,28
|
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetAddrInfoExCancel,GetAddrInfoExCancel,29
|
||||
|
||||
.text.windows
|
||||
GetAddrInfoExCancel:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_GetAddrInfoExCancel(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn GetAddrInfoExCancel,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetAddrInfoExOverlappedResult,GetAddrInfoExOverlappedResult,30
|
||||
|
||||
.text.windows
|
||||
GetAddrInfoExOverlappedResult:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_GetAddrInfoExOverlappedResult(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn GetAddrInfoExOverlappedResult,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetAddrInfoExW,GetAddrInfoExW,31
|
||||
|
||||
.text.windows
|
||||
GetAddrInfoEx:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetAddrInfoExW(%rip),%rax
|
||||
jmp __sysv2nt10
|
||||
.endfn GetAddrInfoEx,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetAddrInfoW,GetAddrInfoW,32
|
||||
|
||||
.text.windows
|
||||
GetAddrInfo:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetAddrInfoW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn GetAddrInfo,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetHostNameW,GetHostNameW,33
|
||||
|
||||
.text.windows
|
||||
GetHostName:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetHostNameW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn GetHostName,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_GetNameInfoW,GetNameInfoW,34
|
||||
|
||||
.text.windows
|
||||
GetNameInfo:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetNameInfoW(%rip),%rax
|
||||
jmp __sysv2nt8
|
||||
.endfn GetNameInfo,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_InetNtopW,InetNtopW,35
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_InetPtonW,InetPtonW,36
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_SetAddrInfoExA,SetAddrInfoExA,37
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_SetAddrInfoExW,SetAddrInfoExW,38
|
||||
|
||||
.text.windows
|
||||
SetAddrInfoEx:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_SetAddrInfoExW(%rip),%rax
|
||||
jmp __sysv2nt12
|
||||
.endfn SetAddrInfoEx,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WEP,WEP,500
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WPUCompleteOverlappedRequest,WPUCompleteOverlappedRequest,39
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WPUGetProviderPathEx,WPUGetProviderPathEx,40
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAAddressToStringA,WSAAddressToStringA,42
|
||||
|
||||
.text.windows
|
||||
WSAAddressToStringA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAAddressToStringA(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn WSAAddressToStringA,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAAdvertiseProvider,WSAAdvertiseProvider,44
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAAsyncGetHostByAddr,WSAAsyncGetHostByAddr,102
|
||||
|
||||
.text.windows
|
||||
WSAAsyncGetHostByAddr:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAAsyncGetHostByAddr(%rip),%rax
|
||||
jmp __sysv2nt8
|
||||
.endfn WSAAsyncGetHostByAddr,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAAsyncGetHostByName,WSAAsyncGetHostByName,103
|
||||
|
||||
.text.windows
|
||||
WSAAsyncGetHostByName:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAAsyncGetHostByName(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn WSAAsyncGetHostByName,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAAsyncGetProtoByName,WSAAsyncGetProtoByName,105
|
||||
|
||||
.text.windows
|
||||
WSAAsyncGetProtoByName:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAAsyncGetProtoByName(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn WSAAsyncGetProtoByName,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAAsyncGetProtoByNumber,WSAAsyncGetProtoByNumber,104
|
||||
|
||||
.text.windows
|
||||
WSAAsyncGetProtoByNumber:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAAsyncGetProtoByNumber(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn WSAAsyncGetProtoByNumber,globl
|
||||
.previous
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAConnectByNameA,WSAConnectByNameA,48
|
||||
|
||||
.text.windows
|
||||
WSAConnectByNameA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAConnectByNameA(%rip),%rax
|
||||
jmp __sysv2nt10
|
||||
.endfn WSAConnectByNameA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSADuplicateSocketA,WSADuplicateSocketA,58
|
||||
|
||||
.text.windows
|
||||
WSADuplicateSocketA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSADuplicateSocketA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSADuplicateSocketA,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAEnumNameSpaceProvidersA,WSAEnumNameSpaceProvidersA,60
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAEnumNameSpaceProvidersExA,WSAEnumNameSpaceProvidersExA,61
|
||||
|
||||
.text.windows
|
||||
WSAEnumNameSpaceProvidersExA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAEnumNameSpaceProvidersExA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSAEnumNameSpaceProvidersExA,globl
|
||||
.previous
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAEnumNameSpaceProvidersW,WSAEnumNameSpaceProvidersW,63
|
||||
|
||||
.text.windows
|
||||
WSAEnumNameSpaceProviders:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAEnumNameSpaceProvidersW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSAEnumNameSpaceProviders,globl
|
||||
.previous
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAEnumProtocolsA,WSAEnumProtocolsA,65
|
||||
|
||||
.text.windows
|
||||
WSAEnumProtocolsA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAEnumProtocolsA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSAEnumProtocolsA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAGetServiceClassInfoA,WSAGetServiceClassInfoA,70
|
||||
|
||||
.text.windows
|
||||
WSAGetServiceClassInfoA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAGetServiceClassInfoA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSAGetServiceClassInfoA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAGetServiceClassNameByClassIdA,WSAGetServiceClassNameByClassIdA,72
|
||||
|
||||
.text.windows
|
||||
WSAGetServiceClassNameByClassIdA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAGetServiceClassNameByClassIdA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSAGetServiceClassNameByClassIdA,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAHtonl,WSAHtonl,74
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAHtons,WSAHtons,75
|
|
@ -1,15 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAInstallServiceClassA,WSAInstallServiceClassA,76
|
||||
|
||||
.text.windows
|
||||
WSAInstallServiceClassA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_WSAInstallServiceClassA(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn WSAInstallServiceClassA,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAIsBlocking,WSAIsBlocking,114
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSALookupServiceBeginA,WSALookupServiceBeginA,80
|
||||
|
||||
.text.windows
|
||||
WSALookupServiceBeginA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSALookupServiceBeginA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSALookupServiceBeginA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSALookupServiceNextA,WSALookupServiceNextA,83
|
||||
|
||||
.text.windows
|
||||
WSALookupServiceNextA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSALookupServiceNextA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSALookupServiceNextA,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSANtohl,WSANtohl,86
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSANtohs,WSANtohs,87
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSASendDisconnect,WSASendDisconnect,97
|
||||
|
||||
.text.windows
|
||||
WSASendDisconnect:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSASendDisconnect(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSASendDisconnect,globl
|
||||
.previous
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSASetServiceA,WSASetServiceA,117
|
||||
|
||||
.text.windows
|
||||
WSASetServiceA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSASetServiceA(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn WSASetServiceA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSASocketA,WSASocketA,119
|
||||
|
||||
.text.windows
|
||||
WSASocketA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSASocketA(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn WSASocketA,globl
|
||||
.previous
|
|
@ -1,12 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WSAStringToAddressA,WSAStringToAddressA,121
|
||||
|
||||
.text.windows
|
||||
WSAStringToAddressA:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_WSAStringToAddressA(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn WSAStringToAddressA,globl
|
||||
.previous
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCloseApcHelper,WahCloseApcHelper,166
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCloseHandleHelper,WahCloseHandleHelper,167
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCloseNotificationHandleHelper,WahCloseNotificationHandleHelper,168
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCloseSocketHandle,WahCloseSocketHandle,169
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCloseThread,WahCloseThread,170
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCompleteRequest,WahCompleteRequest,171
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCreateHandleContextTable,WahCreateHandleContextTable,172
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCreateNotificationHandle,WahCreateNotificationHandle,173
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahCreateSocketHandle,WahCreateSocketHandle,174
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahDestroyHandleContextTable,WahDestroyHandleContextTable,175
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahDisableNonIFSHandleSupport,WahDisableNonIFSHandleSupport,176
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahEnableNonIFSHandleSupport,WahEnableNonIFSHandleSupport,177
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahEnumerateHandleContexts,WahEnumerateHandleContexts,178
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahInsertHandleContext,WahInsertHandleContext,179
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahNotifyAllProcesses,WahNotifyAllProcesses,180
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahOpenApcHelper,WahOpenApcHelper,181
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahOpenCurrentThread,WahOpenCurrentThread,182
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahOpenHandleHelper,WahOpenHandleHelper,183
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahOpenNotificationHandleHelper,WahOpenNotificationHandleHelper,184
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahQueueUserApc,WahQueueUserApc,185
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahReferenceContextByHandle,WahReferenceContextByHandle,186
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahRemoveHandleContext,WahRemoveHandleContext,187
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahWaitForNotification,WahWaitForNotification,188
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_WahWriteLSPEvent,WahWriteLSPEvent,189
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_accept,accept,1
|
||||
|
||||
.text.windows
|
||||
__sys_accept_nt:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_accept(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn __sys_accept_nt,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_recv,recv,16
|
||||
|
||||
.text.windows
|
||||
sys_recv_nt:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_recv(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn sys_recv_nt,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_recvfrom,recvfrom,17
|
||||
|
||||
.text.windows
|
||||
__sys_recvfrom_nt:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_recvfrom(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn __sys_recvfrom_nt,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_send,send,19
|
||||
|
||||
.text.windows
|
||||
sys_send_nt:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_send(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn sys_send_nt,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_sendto,sendto,20
|
||||
|
||||
.text.windows
|
||||
__sys_sendto_nt:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_sendto(%rip),%rax
|
||||
jmp __sysv2nt6
|
||||
.endfn __sys_sendto_nt,globl
|
||||
.previous
|
||||
|
|
|
@ -1,2 +1,12 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp ws2_32,__imp_socket,socket,23
|
||||
|
||||
.text.windows
|
||||
__sys_socket_nt:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_socket(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn __sys_socket_nt,globl
|
||||
.previous
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue