diff --git a/lib/libc/mingw/crt/merr.c b/lib/libc/mingw/crt/merr.c index f3dff58049..687aab4a90 100644 --- a/lib/libc/mingw/crt/merr.c +++ b/lib/libc/mingw/crt/merr.c @@ -4,35 +4,9 @@ * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ -#include #include #include -typedef int (__cdecl *fUserMathErr)(struct _exception *); -static fUserMathErr stUserMathErr; - -void __mingw_raise_matherr (int typ, const char *name, double a1, double a2, - double rslt) -{ - struct _exception ex; - if (!stUserMathErr) - return; - ex.type = typ; - ex.name = (char*)name; - ex.arg1 = a1; - ex.arg2 = a2; - ex.retval = rslt; - (*stUserMathErr)(&ex); -} - -#undef __setusermatherr - -void __mingw_setusermatherr (int (__cdecl *f)(struct _exception *)) -{ - stUserMathErr = f; - __setusermatherr (f); -} - int __CRTDECL _matherr (struct _exception *pexcept) { diff --git a/lib/libc/mingw/crt/mingw_helpers.c b/lib/libc/mingw/crt/mingw_helpers.c index 28c56bc3c5..f5ce286ef5 100644 --- a/lib/libc/mingw/crt/mingw_helpers.c +++ b/lib/libc/mingw/crt/mingw_helpers.c @@ -4,28 +4,5 @@ * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ -#include -#include -#include -#include -#include -#include -#include -#include - -extern const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback; - -void * __cdecl -_decode_pointer (void *codedptr) -{ - return (void *) codedptr; -} - -void * __cdecl -_encode_pointer (void *ptr) -{ - return ptr; -} - /* 0:console, 1:windows. */ int mingw_app_type = 0; diff --git a/lib/libc/mingw/crt/pseudo-reloc.c b/lib/libc/mingw/crt/pseudo-reloc.c index 6210368bac..6e2a63b9c5 100644 --- a/lib/libc/mingw/crt/pseudo-reloc.c +++ b/lib/libc/mingw/crt/pseudo-reloc.c @@ -10,8 +10,8 @@ use, modify or distribute it freely. This code is distributed in the hope that it will be useful but - WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY - DISCLAMED. This includes but is not limited to warrenties of + WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + DISCLAMED. This includes but is not limited to warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ diff --git a/lib/libc/mingw/crt/usermatherr.c b/lib/libc/mingw/crt/usermatherr.c new file mode 100644 index 0000000000..fce059e14e --- /dev/null +++ b/lib/libc/mingw/crt/usermatherr.c @@ -0,0 +1,32 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ + +#include + +typedef int (__cdecl *fUserMathErr)(struct _exception *); +static fUserMathErr stUserMathErr; + +void __mingw_raise_matherr (int typ, const char *name, double a1, double a2, + double rslt) +{ + struct _exception ex; + if (!stUserMathErr) + return; + ex.type = typ; + ex.name = (char*)name; + ex.arg1 = a1; + ex.arg2 = a2; + ex.retval = rslt; + (*stUserMathErr)(&ex); +} + +#undef __setusermatherr + +void __mingw_setusermatherr (int (__cdecl *f)(struct _exception *)) +{ + stUserMathErr = f; + __setusermatherr (f); +} diff --git a/lib/libc/mingw/def-include/msvcrt-common.def.in b/lib/libc/mingw/def-include/msvcrt-common.def.in index 364e4409dd..e28b09e596 100644 --- a/lib/libc/mingw/def-include/msvcrt-common.def.in +++ b/lib/libc/mingw/def-include/msvcrt-common.def.in @@ -1,3 +1,5 @@ +#include "func.def.in" + #define ADD_UNDERSCORE(symbol) symbol == _ ## symbol #define ADD_DOUBLE_UNDERSCORE(symbol) symbol == __ ## symbol @@ -44,7 +46,13 @@ ADD_UNDERSCORE(gcvt) ADD_UNDERSCORE(getch) ADD_UNDERSCORE(getche) ADD_UNDERSCORE(getcwd) +#ifdef UCRTBASE +; ucrtbase.dll has got _getpid for all archs ADD_UNDERSCORE(getpid) +#elif !defined(NO_GETPID_ALIAS) +; msvcrt.dll for arm/arm64 lacks _getpid +F_X86_ANY(ADD_UNDERSCORE(getpid)) +#endif ADD_UNDERSCORE(getw) ADD_UNDERSCORE(heapwalk) ADD_UNDERSCORE(isatty) @@ -131,6 +139,8 @@ ADD_UNDERSCORE(hypot) ;logb ADD_UNDERSCORE(nextafter) +longjmp + #ifndef UCRTBASE _daylight DATA _timezone DATA @@ -140,6 +150,4 @@ ADD_UNDERSCORE(timezone) ADD_UNDERSCORE(tzname) ADD_UNDERSCORE(vsnprintf_s) - -longjmp DATA #endif diff --git a/lib/libc/mingw/include/internal.h b/lib/libc/mingw/include/internal.h index 06bda2bf8c..9439eafb3e 100644 --- a/lib/libc/mingw/include/internal.h +++ b/lib/libc/mingw/include/internal.h @@ -152,10 +152,6 @@ extern char *** __MINGW_IMP_SYMBOL(__initenv); #include #include - void * __cdecl _encode_pointer(void *); - void * __cdecl _encoded_null(); - void * __cdecl _decode_pointer(void *); - BOOL __cdecl _ValidateImageBase (PBYTE pImageBase); PIMAGE_SECTION_HEADER __cdecl _FindPESection (PBYTE pImageBase, DWORD_PTR rva); BOOL __cdecl _IsNonwritableInCurrentImage (PBYTE pTarget); diff --git a/lib/libc/mingw/include/msvcrt.h b/lib/libc/mingw/include/msvcrt.h index d5346254f0..551ea48d23 100644 --- a/lib/libc/mingw/include/msvcrt.h +++ b/lib/libc/mingw/include/msvcrt.h @@ -1,9 +1,5 @@ #include -#ifndef __LIBMSVCRT__ -#error "This file should only be used in libmsvcrt.a" -#endif - static inline HANDLE __mingw_get_msvcrt_handle(void) { return GetModuleHandleW(L"msvcrt.dll"); diff --git a/lib/libc/mingw/lib-common/advapi32.def.in b/lib/libc/mingw/lib-common/advapi32.def.in index db6f3cd7a6..b4e2aa21fa 100644 --- a/lib/libc/mingw/lib-common/advapi32.def.in +++ b/lib/libc/mingw/lib-common/advapi32.def.in @@ -149,6 +149,7 @@ CreateProcessWithTokenW CreateRestrictedToken CreateServiceA CreateServiceW +CreateServiceEx CreateTraceInstanceId CreateWellKnownSid CredBackupCredentials @@ -235,6 +236,7 @@ CryptSignHashA CryptSignHashW CryptVerifySignatureA CryptVerifySignatureW +CveEventWrite DecryptFileA DecryptFileW DeleteAce @@ -519,6 +521,7 @@ NotifyChangeEventLog NotifyServiceStatusChange NotifyServiceStatusChangeA NotifyServiceStatusChangeW +NpGetUserName ObjectCloseAuditAlarmA ObjectCloseAuditAlarmW ObjectDeleteAuditAlarmA @@ -581,6 +584,7 @@ ProcessIdleTasksW ProcessTrace QueryAllTracesA QueryAllTracesW +QueryLocalUserServiceName QueryRecoveryAgentsOnEncryptedFile QuerySecurityAccessMask QueryServiceConfig2A @@ -595,6 +599,9 @@ QueryServiceStatus QueryServiceStatusEx QueryTraceA QueryTraceW +QueryTraceProcessingHandle +QueryUserServiceName +QueryUserServiceNameForContext QueryUsersOnEncryptedFile ReadEncryptedFileRaw ReadEventLogA @@ -694,6 +701,8 @@ RegisterWaitChainCOMCallback RemoteRegEnumKeyWrapper RemoteRegEnumValueWrapper RemoteRegQueryInfoKeyWrapper +RemoteRegQueryMultipleValues2Wrapper +RemoteRegQueryMultipleValuesWrapper RemoteRegQueryValueWrapper RemoveTraceCallback RemoveUsersFromEncryptedFile diff --git a/lib/libc/mingw/lib-common/kernel32.def.in b/lib/libc/mingw/lib-common/kernel32.def.in index 3a556294c6..e92f235ddf 100644 --- a/lib/libc/mingw/lib-common/kernel32.def.in +++ b/lib/libc/mingw/lib-common/kernel32.def.in @@ -26,6 +26,14 @@ AdjustCalendarDate AllocConsole AllocateUserPhysicalPages AllocateUserPhysicalPagesNuma +AppPolicyGetClrCompat +AppPolicyGetCreateFileAccess +AppPolicyGetLifecycleManagement +AppPolicyGetMediaFoundationCodecLoading +AppPolicyGetProcessTerminationMethod +AppPolicyGetShowDeveloperDiagnostic +AppPolicyGetThreadInitializationType +AppPolicyGetWindowingModel AppXGetOSMaxVersionTested ApplicationRecoveryFinished ApplicationRecoveryInProgress @@ -88,12 +96,14 @@ BasepFreeAppCompatData BasepGetAppCompatData BasepGetComputerNameFromNtPath BasepGetExeArchType +BasepInitAppCompatData BasepIsProcessAllowed BasepMapModuleHandle BasepNotifyLoadStringResource BasepPostSuccessAppXExtension BasepProcessInvalidImage BasepQueryAppCompat +BasepQueryModuleChpeSettings BasepReleaseAppXContext BasepReleaseSxsCreateProcessUtilityStruct BasepReportFault @@ -136,6 +146,7 @@ CloseHandle ClosePackageInfo ClosePrivateNamespace CloseProfileUserMapping +ClosePseudoConsole CloseState CloseThreadpool CloseThreadpoolCleanupGroup @@ -186,6 +197,7 @@ CreateDirectoryExW CreateDirectoryTransactedA CreateDirectoryTransactedW CreateDirectoryW +CreateEnclave CreateEventA CreateEventExA CreateEventExW @@ -224,10 +236,12 @@ CreatePipe CreatePrivateNamespaceA CreatePrivateNamespaceW CreateProcessA +CreateProcessAsUserA CreateProcessAsUserW CreateProcessInternalA CreateProcessInternalW CreateProcessW +CreatePseudoConsole CreateRemoteThread CreateRemoteThreadEx CreateSemaphoreA @@ -309,6 +323,7 @@ EndUpdateResourceW EnterCriticalSection F_X64(EnterUmsSchedulingMode) EnterSynchronizationBarrier +EnterUmsSchedulingMode EnumCalendarInfoA EnumCalendarInfoExA EnumCalendarInfoExEx @@ -337,6 +352,7 @@ EnumSystemCodePagesA EnumSystemCodePagesW EnumSystemFirmwareTables EnumSystemGeoID +EnumSystemGeoNames EnumSystemLanguageGroupsA EnumSystemLanguageGroupsW EnumSystemLocalesA @@ -432,6 +448,7 @@ FreeEnvironmentStringsW FreeLibrary FreeLibraryAndExitThread FreeLibraryWhenCallbackReturns +FreeMemoryJobObject FreeResource FreeUserPhysicalPages GenerateConsoleCtrlEvent @@ -558,6 +575,8 @@ GetDiskFreeSpaceA GetDiskFreeSpaceExA GetDiskFreeSpaceExW GetDiskFreeSpaceW +GetDiskSpaceInformationA +GetDiskSpaceInformationW GetDllDirectoryA GetDllDirectoryW GetDriveTypeA @@ -566,6 +585,7 @@ GetDurationFormat GetDurationFormatEx GetDynamicTimeZoneInformation GetEnabledExtendedFeatures +GetEnabledXStateFeatures GetEncryptedFileVersionExt GetEnvironmentStrings GetEnvironmentStringsA @@ -608,6 +628,7 @@ GetFullPathNameTransactedW GetFullPathNameW GetGeoInfoA GetGeoInfoW +GetGeoInfoEx GetHandleInformation GetLargePageMinimum GetLargestConsoleWindowSize @@ -693,7 +714,9 @@ GetPrivateProfileStructA GetPrivateProfileStructW GetProcAddress GetProcessAffinityMask +GetProcessDefaultCpuSets GetProcessDEPPolicy +GetProcessDefaultCpuSets GetProcessGroupAffinity GetProcessHandleCount GetProcessHeap @@ -733,6 +756,7 @@ GetStringTypeExA GetStringTypeExW GetStringTypeW GetSystemAppDataKey +GetSystemCpuSetInformation GetSystemDEPPolicy GetSystemDefaultLCID GetSystemDefaultLangID @@ -763,6 +787,7 @@ GetTempFileNameW GetTempPathA GetTempPathW GetThreadContext +GetThreadDescription GetThreadErrorMode GetThreadGroupAffinity GetThreadIOPendingFlag @@ -773,6 +798,7 @@ GetThreadLocale GetThreadPreferredUILanguages GetThreadPriority GetThreadPriorityBoost +GetThreadSelectedCpuSets GetThreadSelectorEntry GetThreadTimes GetThreadUILanguage @@ -787,6 +813,8 @@ GetTimeZoneInformation GetTimeZoneInformationForYear GetUILanguageInfo F_X64(GetUmsCompletionListEvent) +GetUmsSystemThreadInformation +GetUserDefaultGeoName GetUserDefaultLCID GetUserDefaultLangID GetUserDefaultLocaleName @@ -809,6 +837,7 @@ GetVolumePathNamesForVolumeNameW GetWindowsDirectoryA GetWindowsDirectoryW GetWriteWatch +GetXStateFeaturesMask GlobalAddAtomA GlobalAddAtomExA GlobalAddAtomExW @@ -859,17 +888,17 @@ IdnToAscii IdnToNameprepUnicode IdnToUnicode InitAtomTable -InitializeConditionVariable -InitializeCriticalSection InitOnceBeginInitialize InitOnceComplete InitOnceExecuteOnce InitOnceInitialize InitializeConditionVariable InitializeContext +InitializeContext2 InitializeCriticalSection InitializeCriticalSectionAndSpinCount InitializeCriticalSectionEx +InitializeEnclave InitializeExtendedContext InitializeProcThreadAttributeList InitializeSListHead @@ -895,6 +924,7 @@ IsCalendarLeapYear IsDBCSLeadByte IsDBCSLeadByteEx IsDebuggerPresent +IsEnclaveTypeSupported IsNLSDefinedString IsNativeVhdBoot IsNormalizedString @@ -912,7 +942,9 @@ IsValidLocale IsValidUILanguage IsValidLocaleName IsValidNLSVersion +IsWow64GuestMachineSupported IsWow64Process +IsWow64Process2 K32EmptyWorkingSet K32EnumDeviceDrivers K32EnumPageFilesA @@ -958,6 +990,7 @@ LZStart LeaveCriticalSection LeaveCriticalSectionWhenCallbackReturns LoadAppInitDlls +LoadEnclaveData LoadLibraryA LoadLibraryExA LoadLibraryExW @@ -970,6 +1003,7 @@ LoadStringBaseW LocalAlloc LocalCompact LocalFileTimeToFileTime +LocalFileTimeToLocalSystemTime LocalFlags LocalFree LocalHandle @@ -977,10 +1011,12 @@ LocalLock LocalReAlloc LocalShrink LocalSize +LocalSystemTimeToLocalFileTime LocalUnlock LocaleNameToLCID LocateExtendedFeature LocateLegacyContext +LocateXStateFeature LockFile LockFileEx LockResource @@ -1099,11 +1135,13 @@ QueryFullProcessImageNameW QueryIdleProcessorCycleTime QueryIdleProcessorCycleTimeEx QueryInformationJobObject +QueryIoRateControlInformationJobObject QueryMemoryResourceNotification QueryPerformanceCounter QueryPerformanceFrequency QueryProcessAffinityUpdateMode QueryProcessCycleTime +QueryProtectedPolicy QueryThreadCycleTime QueryThreadProfiling QueryThreadpoolStackInformation @@ -1116,6 +1154,8 @@ QuirkGetDataWorker QuirkIsEnabled2Worker QuirkIsEnabled3Worker QuirkIsEnabledForPackage2Worker +QuirkIsEnabledForPackage3Worker +QuirkIsEnabledForPackage4Worker QuirkIsEnabledForPackageWorker QuirkIsEnabledForProcessWorker QuirkIsEnabledWorker @@ -1135,12 +1175,14 @@ ReadConsoleOutputCharacterA ReadConsoleOutputCharacterW ReadConsoleOutputW ReadConsoleW +ReadDirectoryChangesExW ReadDirectoryChangesW ReadFile ReadFileEx ReadFileScatter ReadProcessMemory ReadThreadProfilingData +ReclaimVirtualMemory ; ; MSDN says these functions are exported ; from advapi32.dll. Commented out for @@ -1231,6 +1273,7 @@ RequestDeviceWakeup RequestWakeupLatency ResetEvent ResetWriteWatch +ResizePseudoConsole ResolveDelayLoadedAPI ResolveDelayLoadsFromDll ResolveLocaleName @@ -1346,6 +1389,7 @@ SetFirmwareEnvironmentVariableW SetHandleCount SetHandleInformation SetInformationJobObject +SetIoRateControlInformationJobObject SetLastConsoleEventActive SetLastError SetLocalPrimaryComputerNameA @@ -1361,6 +1405,7 @@ SetPriorityClass SetProcessAffinityMask SetProcessAffinityUpdateMode SetProcessDEPPolicy +SetProcessDefaultCpuSets SetProcessInformation SetProcessMitigationPolicy SetProcessPreferredUILanguages @@ -1368,6 +1413,7 @@ SetProcessPriorityBoost SetProcessShutdownParameters SetProcessWorkingSetSize SetProcessWorkingSetSizeEx +SetProtectedPolicy SetSearchPathMode SetStdHandle SetStdHandleEx @@ -1380,6 +1426,7 @@ SetTapePosition SetTermsrvAppInstallMode SetThreadAffinityMask SetThreadContext +SetThreadDescription SetThreadErrorMode SetThreadExecutionState SetThreadGroupAffinity @@ -1390,6 +1437,7 @@ SetThreadLocale SetThreadPreferredUILanguages SetThreadPriority SetThreadPriorityBoost +SetThreadSelectedCpuSets SetThreadStackGuarantee SetThreadToken SetThreadUILanguage @@ -1405,6 +1453,7 @@ SetTimerQueueTimer F_X64(SetUmsThreadInformation) SetUnhandledExceptionFilter SetUserGeoID +SetUserGeoName SetVDMCurrentDirectories SetVolumeLabelA SetVolumeLabelW @@ -1413,6 +1462,7 @@ SetVolumeMountPointW SetVolumeMountPointWStub SetWaitableTimer SetWaitableTimerEx +SetXStateFeaturesMask SetupComm ShowConsoleCursor SignalObjectAndWait @@ -1507,6 +1557,7 @@ VirtualUnlock WTSGetActiveConsoleSessionId WaitCommEvent WaitForDebugEvent +WaitForDebugEventEx WaitForMultipleObjects WaitForMultipleObjectsEx WaitForSingleObject @@ -1523,6 +1574,11 @@ WakeByAddressSingle WakeByAddressAll WakeConditionVariable WerGetFlags +WerGetFlagsWorker +WerRegisterAdditionalProcess +WerRegisterAppLocalDump +WerRegisterCustomMetadata +WerRegisterExcludedMemoryBlock WerRegisterFile WerRegisterFileWorker WerRegisterMemoryBlock @@ -1530,6 +1586,11 @@ WerRegisterMemoryBlockWorker WerRegisterRuntimeExceptionModule WerRegisterRuntimeExceptionModuleWorker WerSetFlags +WerSetFlagsWorker +WerUnregisterAdditionalProcess +WerUnregisterAppLocalDump +WerUnregisterCustomMetadata +WerUnregisterExcludedMemoryBlock WerUnregisterFile WerUnregisterFileWorker WerUnregisterMemoryBlock @@ -1583,7 +1644,8 @@ WriteProfileStringW WriteTapemark ZombifyActCtx ZombifyActCtxWorker -__C_specific_handler +F_X64(__C_specific_handler) +F_ARM32(__C_specific_handler) F_ARM32(__chkstk) F_X64(__misaligned_access) _hread @@ -1613,6 +1675,17 @@ lstrcpynW lstrlen lstrlenA lstrlenW +; +; MSDN says these functions are exported +; from winmm.dll. Commented out for +; compatibility with older versions of +; Windows. +; +;timeBeginPeriod +;timeEndPeriod +;timeGetDevCaps +;timeGetSystemTime +;timeGetTime uaw_lstrcmpW uaw_lstrcmpiW uaw_lstrlenW diff --git a/lib/libc/mingw/lib-common/msvcrt.def.in b/lib/libc/mingw/lib-common/msvcrt.def.in index 1a1db2b4e0..702f2aeef3 100644 --- a/lib/libc/mingw/lib-common/msvcrt.def.in +++ b/lib/libc/mingw/lib-common/msvcrt.def.in @@ -226,7 +226,8 @@ _CrtSetReportHook _CrtSetReportHook2 _CrtSetReportMode #endif -_CxxThrowException +F_I386(_CxxThrowException@8) +F_NON_I386(_CxxThrowException) F_I386(_EH_prolog) _Getdays _Getmonths @@ -245,7 +246,7 @@ F_I386(__CxxCallUnwindDtor) F_I386(__CxxCallUnwindVecDtor) F_I386(__CxxDetectRethrow) F_I386(__CxxExceptionFilter) -__CxxFrameHandler +F_X86_ANY(__CxxFrameHandler) F_ARM_ANY(__CxxFrameHandler3) F_I386(__CxxLongjmpUnwind) F_I386(__CxxQueryExceptionSize) @@ -259,9 +260,13 @@ __STRINGTOLD F_NON_I386(___lc_codepage_func) ___lc_collate_cp_func ___lc_handle_func -___mb_cur_max_func -___setlc_active_func -___unguarded_readlc_active_add_func +; ___mb_cur_max_func exists (on all archs) since XP. Earlier, this function +; was never used, but the __mb_cur_max data symbol was accessed instead. +; For i386 we provide this function as a statically linked helper, that uses +; __mb_cur_max, to avoid forcing a dependency on XP here. +F_NON_I386(___mb_cur_max_func) +F_X86_ANY(___setlc_active_func) +F_X86_ANY(___unguarded_readlc_active_add_func) __argc DATA __argv DATA __badioinfo DATA @@ -284,8 +289,8 @@ __isascii __iscsym __iscsymf F_I386(__lc_clike) -__lc_codepage DATA -__lc_collate_cp DATA +F_X86_ANY(__lc_codepage DATA) +F_X86_ANY(__lc_collate_cp DATA) __lc_handle DATA __lconv_init __mb_cur_max DATA @@ -327,16 +332,16 @@ __pxcptinfoptrs F_I386(__security_error_handler) __set_app_type F_I386(__set_buffer_overrun_handler) -__setlc_active DATA +F_X86_ANY(__setlc_active DATA) __setusermatherr F_ARM_ANY(__strncnt) -__threadhandle -__threadid +F_X86_ANY(__threadhandle) +F_X86_ANY(__threadid) __toascii __uncaught_exception __unDName __unDNameEx -__unguarded_readlc_active DATA +F_X86_ANY(__unguarded_readlc_active DATA) __wargv DATA __wcserror F_NON_I386(__wcserror_s) @@ -376,7 +381,7 @@ F_ARM_ANY(_aligned_offset_realloc_dbg) _aligned_realloc F_ARM_ANY(_aligned_realloc_dbg) _amsg_exit -_assert DATA +_assert _atodbl _atodbl_l _atof_l @@ -387,7 +392,7 @@ _atoi_l _atol_l _atoldbl F_NON_I386(_atoldbl_l) -_beep +F_X86_ANY(_beep) _beginthread _beginthreadex _c_exit @@ -428,7 +433,7 @@ _cputs _cputws F_I386(_CRT_RTC_INIT) _creat -_create_locale +F_ARM_ANY(_create_locale) F_ARM32(_crtAssertBusy) F_ARM32(_crtBreakAlloc) F_ARM32(_crtDbgFlag) @@ -453,10 +458,10 @@ _cwscanf _cwscanf_l _cwscanf_s _cwscanf_s_l -_dstbias DATA +F_X86_ANY(_dstbias DATA) F_ARM_ANY(_daylight DATA) -F_ARM_ANY(_difftime32) -F_ARM_ANY(_difftime64) +_difftime32 F_I386(== difftime) +_difftime64 _dup _dup2 _ecvt @@ -520,7 +525,7 @@ _fprintf_s_l _fputchar _fputwchar F_ARM_ANY(_free_dbg) -_free_locale +F_ARM_ANY(_free_locale) F_ARM_ANY(_freea) F_NON_I386(_fscanf_l) F_NON_I386(_fscanf_s_l) @@ -532,7 +537,8 @@ _fstat64 _fstati64 F64(_fstat64i32 == _fstat) _ftime -F_ARM_ANY(_ftime32) +F_I386(_ftime32 == _ftime) +F_NON_I386(_ftime32) _ftime32_s _ftime64 _ftime64_s @@ -542,7 +548,8 @@ F_I386(_ftol) _fullpath F_ARM_ANY(_fullpath_dbg) _futime -F_ARM_ANY(_futime32) +F_I386(_futime32 == _futime) +F_NON_I386(_futime32) _futime64 _fwprintf_l _fwprintf_p @@ -558,10 +565,10 @@ F_ARM_ANY(_get_environ) F_ARM_ANY(_get_errno) F_ARM_ANY(_get_fileinfo) F_ARM_ANY(_get_fmode) -_get_heap_handle +F_X86_ANY(_get_heap_handle) _get_osfhandle ;_get_output_format provided by emu -_get_sbh_threshold +F_X86_ANY(_get_sbh_threshold) F_ARM_ANY(_get_wenviron) _getch _getche @@ -570,25 +577,25 @@ _getdcwd _getdiskfree _getdllprocaddr _getdrive -_getdrives +F_X86_ANY(_getdrives) _getmaxstdio _getmbcp -_getpid -_getsystime +F_X86_ANY(_getpid) +F_X86_ANY(_getsystime) _getw _getwch _getwche -_getws +F_X86_ANY(_getws) F_I386(_global_unwind2) _gmtime32 F_I386(== gmtime) ; _gmtime32_s replaced by emu _gmtime64 ; _gmtime64_s replaced by emu -_heapadd +F_X86_ANY(_heapadd) _heapchk _heapmin -_heapset -_heapused +F_X86_ANY(_heapset) +F_X86_ANY(_heapused) _heapwalk _hypot F_NON_I386(_hypotf) @@ -698,7 +705,7 @@ _j1 _jn _kbhit _lfind -_loaddll +F_X86_ANY(_loaddll) F_NON_I386(_lfind_s) F_X64(_local_unwind) F_I386(_local_unwind2) @@ -868,9 +875,8 @@ _memicmp _memicmp_l _mkdir _mkgmtime -F_I386(_mkgmtime32) -F_ARM_ANY(_mkgmtime32) -F_NON_I386(_mkgmtime64) +_mkgmtime32 +_mkgmtime64 _mktemp ; _mktemp_s replaced by emu F_I386(_mktime32 == mktime) @@ -883,7 +889,7 @@ F_X64(_nextafterf) _onexit _open _open_osfhandle -_osplatform DATA +F_X86_ANY(_osplatform DATA) _osver DATA F_I386(_outp) F_I386(_outpd) @@ -941,19 +947,19 @@ F_ARM_ANY(_set_fileinfo) F_ARM_ANY(_set_fmode) ; Does not seem to present even on Win7 msvcrt ;_set_purecall_handler -_set_sbh_threshold +F_X86_ANY(_set_sbh_threshold) ; _set_output_format provided by emu F_I386(_set_SSE2_enable) F_I386(_set_security_error_handler) -_seterrormode +F_X86_ANY(_seterrormode) _setjmp F_I386(_setjmp3) F_NON_I386(_setjmpex) -_setmaxstdio +F_X86_ANY(_setmaxstdio) _setmbcp _setmode -_setsystime -_sleep +F_X86_ANY(_setsystime) +F_X86_ANY(_sleep) _snprintf _snprintf_c _snprintf_c_l @@ -1074,10 +1080,11 @@ _umask _ungetch _ungetwch _unlink -_unloaddll +F_X86_ANY(_unloaddll) _unlock _utime -F_ARM_ANY(_utime32) +F_I386(_utime32 == _utime) +F_NON_I386(_utime32) _utime64 _vcprintf _vcprintf_l @@ -1138,7 +1145,7 @@ _waccess ; _waccess_s Replaced by emu _wasctime ; _wasctime_s Replaced by emu -F_ARM_ANY(_wassert) +F_NON_I386(_wassert) _wchdir _wchmod _wcmdln DATA @@ -1227,7 +1234,7 @@ _wgetenv_s _winmajor DATA _winminor DATA _winput_s -_winver DATA +F_X86_ANY(_winver DATA) _wmakepath _wmakepath_s _wmkdir @@ -1289,7 +1296,8 @@ _wtol _wtol_l _wunlink _wutime -F_ARM_ANY(_wutime32) +F_I386(_wutime32 == _wutime) +F_NON_I386(_wutime32) _wutime64 _y0 _y1 @@ -1298,14 +1306,18 @@ abort abs acos F_NON_I386(acosf F_X86_ANY(DATA)) +F_ARM_ANY(acosl == acos) asctime ; asctime_s replaced by emu asin F_NON_I386(asinf F_X86_ANY(DATA)) +F_ARM_ANY(asinl == asin) atan atan2 F_X86_ANY(DATA) F_NON_I386(atan2f F_X86_ANY(DATA)) +F_ARM_ANY(atan2l == atan2) F_NON_I386(atanf F_X86_ANY(DATA)) +F_ARM_ANY(atanl == atan) atexit DATA atof atoi @@ -1314,13 +1326,15 @@ bsearch bsearch_s F_ARM_ANY(btowc) calloc -ceil DATA -F_NON_I386(ceilf DATA) +ceil F_X86_ANY(DATA) +F_NON_I386(ceilf F_X86_ANY(DATA)) +F_ARM_ANY(ceill == ceil) clearerr clearerr_s clock cos F_X86_ANY(DATA) F_NON_I386(cosf F_X86_ANY(DATA)) +F_ARM_ANY(cosl == cos) cosh F_NON_I386(coshf DATA) ctime @@ -1329,6 +1343,7 @@ div exit exp F_X86_ANY(DATA) F_NON_I386(expf F_X86_ANY(DATA)) +F_ARM_ANY(expl == exp) fabs DATA F_ARM_ANY(fabsf) fclose @@ -1340,10 +1355,12 @@ fgetpos fgets fgetwc fgetws -floor DATA -F_NON_I386(floorf DATA) +floor F_X86_ANY(DATA) +F_NON_I386(floorf F_X86_ANY(DATA)) +F_ARM_ANY(floorl == floor) fmod F_X86_ANY(DATA) F_NON_I386(fmodf F_X86_ANY(DATA)) +F_ARM_ANY(fmodl == fmod) fopen fopen_s fprintf @@ -1356,8 +1373,7 @@ fread free freopen freopen_s -; If we implement frexp, we can set it to DATA only. -frexp +frexp DATA fscanf fscanf_s fseek @@ -1373,7 +1389,7 @@ getc getchar getenv getenv_s -gets +F_X86_ANY(gets) getwc getwchar gmtime @@ -1411,8 +1427,9 @@ localtime log F_X86_ANY(DATA) log10 F_NON_I386(log10f F_X86_ANY(DATA)) +F_ARM_ANY(log10l == log10) F_NON_I386(logf F_X86_ANY(DATA)) -F_ARM_ANY(longjmp) +F_ARM_ANY(logl == log) malloc mblen F_ARM_ANY(mbrlen) @@ -1434,8 +1451,8 @@ mktime modf DATA F_NON_I386(modff DATA) perror -pow F_X86_ANY(DATA) -F_NON_I386(powf F_X86_ANY(DATA)) +pow DATA +F_NON_I386(powf DATA) printf printf_s putc @@ -1461,6 +1478,7 @@ setvbuf signal sin F_X86_ANY(DATA) F_NON_I386(sinf F_X86_ANY(DATA)) +F_ARM_ANY(sinl == sin) ; if we implement sinh, we can set it DATA only. sinh F_NON_I386(sinhf DATA) @@ -1506,6 +1524,7 @@ swscanf_s system tan F_NON_I386(tanf F_X86_ANY(DATA)) +F_ARM_ANY(tanl == tan) ; if we implement tanh, we can set it to DATA only. tanh F_ARM_ANY(tanhf) diff --git a/lib/libc/mingw/libarm32/mswsock.def b/lib/libc/mingw/lib-common/mswsock.def similarity index 100% rename from lib/libc/mingw/libarm32/mswsock.def rename to lib/libc/mingw/lib-common/mswsock.def diff --git a/lib/libc/mingw/lib-common/rpcrt4.def b/lib/libc/mingw/lib-common/rpcrt4.def index 4be11bc6ff..578c20f6c1 100644 --- a/lib/libc/mingw/lib-common/rpcrt4.def +++ b/lib/libc/mingw/lib-common/rpcrt4.def @@ -2,8 +2,8 @@ LIBRARY "RPCRT4.dll" EXPORTS CreateProxyFromTypeInfo CreateStubFromTypeInfo -I_RpcFixTransferSyntax I_RpcBindingInqCurrentModifiedId +I_RpcFixTransferSyntax I_RpcFwThisIsTheManager I_RpcInitFwImports I_RpcInitHttpImports @@ -83,12 +83,15 @@ I_RpcFilterDCOMActivation I_RpcFree I_RpcFreeBuffer I_RpcFreePipeBuffer +I_RpcFreeSystemHandle +I_RpcFreeSystemHandleCollection I_RpcGetBuffer I_RpcGetBufferWithObject I_RpcGetCurrentCallHandle I_RpcGetDefaultSD I_RpcGetExtendedError I_RpcGetPortAllocationData +I_RpcGetSystemHandle I_RpcIfInqTransferSyntaxes I_RpcLogEvent I_RpcMapWin32Status @@ -127,6 +130,8 @@ I_RpcServerRegisterForwardFunction I_RpcServerSetAddressChangeFn I_RpcServerStartService I_RpcServerSubscribeForDisconnectNotification +I_RpcServerSubscribeForDisconnectNotification2 +I_RpcServerUnsubscribeForDisconnectNotification I_RpcServerUseProtseq2A I_RpcServerUseProtseq2W I_RpcServerUseProtseqEp2A @@ -134,8 +139,10 @@ I_RpcServerUseProtseqEp2W I_RpcSessionStrictContextHandle I_RpcSetAsyncHandle I_RpcSetDCOMAppId +I_RpcSetSystemHandle I_RpcSsDontSerializeContext I_RpcSystemFunction001 +I_RpcSystemHandleTypeSpecificWork I_RpcTransConnectionAllocatePacket I_RpcTransConnectionFreePacket I_RpcTransConnectionReallocPacket @@ -445,6 +452,7 @@ RpcIfIdVectorFree RpcIfInqId RpcImpersonateClient RpcImpersonateClient2 +RpcImpersonateClientContainer RpcInitializeAsyncHandle RpcMgmtEnableIdleCleanup RpcMgmtEpEltInqBegin @@ -479,11 +487,13 @@ RpcProtseqVectorFreeA RpcProtseqVectorFreeW RpcRaiseException RpcRegisterAsyncInfo +RpcRevertContainerImpersonation RpcRevertToSelf RpcRevertToSelfEx RpcServerCompleteSecurityCallback RpcServerInqBindingHandle RpcServerInqBindings +RpcServerInqBindingsEx RpcServerInqCallAttributesA RpcServerInqCallAttributesW RpcServerInqDefaultPrincNameA @@ -571,7 +581,3 @@ UuidHash UuidIsNil UuidToStringA UuidToStringW -pfnFreeRoutines DATA -pfnMarshallRoutines DATA -pfnSizeRoutines DATA -pfnUnmarshallRoutines DATA diff --git a/lib/libc/mingw/lib64/urlmon.def b/lib/libc/mingw/lib-common/urlmon.def similarity index 59% rename from lib/libc/mingw/lib64/urlmon.def rename to lib/libc/mingw/lib-common/urlmon.def index 2a10219a31..ea48695e7b 100644 --- a/lib/libc/mingw/lib64/urlmon.def +++ b/lib/libc/mingw/lib-common/urlmon.def @@ -1,32 +1,49 @@ -; -; Exports of file urlmon.dll ; -; Autogenerated by gen_exportdef -; Written by Kai Tietz, 2007 +; Definition file of urlmon.dll +; Automatic generated by gendef +; written by Kai Tietz 2008 ; -LIBRARY urlmon.dll +LIBRARY "urlmon.dll" EXPORTS +FileBearsMarkOfTheWeb +GetPortFromUrlScheme +GetPropertyFromName +GetPropertyName +IsDWORDProperty +IsStringProperty AsyncGetClassBits AsyncInstallDistributionUnit BindAsyncMoniker +CAuthenticateHostUI_CreateInstance CDLGetLongPathNameA CDLGetLongPathNameW +CORPolicyProvider CoGetClassObjectFromURL CoInstall +CoInternetCanonicalizeIUri +CoInternetCombineIUri CoInternetCombineUrl +CoInternetCombineUrlEx CoInternetCompareUrl CoInternetCreateSecurityManager CoInternetCreateZoneManager CoInternetFeatureSettingsChanged +CoInternetGetMobileBrowserAppCompatMode +CoInternetGetMobileBrowserForceDesktopMode CoInternetGetProtocolFlags CoInternetGetSecurityUrl +CoInternetGetSecurityUrlEx CoInternetGetSession CoInternetIsFeatureEnabled +CoInternetIsFeatureEnabledForIUri CoInternetIsFeatureEnabledForUrl CoInternetIsFeatureZoneElevationEnabled +CoInternetParseIUri CoInternetParseUrl CoInternetQueryInfo CoInternetSetFeatureEnabled +CoInternetSetMobileBrowserAppCompatMode +CoInternetSetMobileBrowserForceDesktopMode CompareSecurityIds CompatFlagsFromClsid CopyBindInfo @@ -34,8 +51,14 @@ CopyStgMedium CreateAsyncBindCtx CreateAsyncBindCtxEx CreateFormatEnumerator +CreateIUriBuilder CreateURLMoniker CreateURLMonikerEx +CreateURLMonikerEx2 +CreateUri +CreateUriFromMultiByteString +CreateUriPriv +CreateUriWithFragment DllCanUnloadNow DllGetClassObject DllInstall @@ -51,16 +74,26 @@ GetAddSitesFileUrl GetClassFileOrMime GetClassURL GetComponentIDFromCLSSPEC +GetIDNFlagsForUri +GetIUriPriv +GetIUriPriv2 +GetLabelsFromNamedHost GetMarkOfTheWeb GetSoftwareUpdateInfo +GetUrlmonThreadNotificationHwnd +GetZoneFromAlternateDataStreamEx HlinkGoBack HlinkGoForward HlinkNavigateMoniker HlinkNavigateString HlinkSimpleNavigateToMoniker HlinkSimpleNavigateToString +IEGetUserPrivateNamespaceName +IEInstallScope InstallFlash +IntlPercentEncodeNormalize IsAsyncMoniker +IsIntranetAvailable IsJITInProgress IsLoggingEnabledA IsLoggingEnabledW @@ -68,14 +101,21 @@ IsValidURL MkParseDisplayNameEx ObtainUserAgentString PrivateCoInstall +QueryAssociations +QueryClsidAssociation RegisterBindStatusCallback RegisterFormatEnumerator RegisterMediaTypeClass RegisterMediaTypes +RegisterWebPlatformPermanentSecurityManager ReleaseBindInfo +RestrictHTTP2 RevokeBindStatusCallback RevokeFormatEnumerator +SetAccessForIEAppContainer SetSoftwareUpdateAdvertisementState +ShouldDisplayPunycodeForUri +ShouldShowIntranetWarningSecband ShowTrustAlertDialog URLDownloadA URLDownloadToCacheFileA @@ -89,8 +129,11 @@ URLOpenPullStreamA URLOpenPullStreamW URLOpenStreamA URLOpenStreamW +UnregisterWebPlatformPermanentSecurityManager UrlMkBuildVersion UrlMkGetSessionOption UrlMkSetSessionOption +UrlmonCleanupCurrentThread WriteHitLogging ZonesReInit +IECompatLogCSSFix diff --git a/lib/libc/mingw/lib32/ntdll.def b/lib/libc/mingw/lib32/ntdll.def index d6837b113f..d6ca366ee8 100644 --- a/lib/libc/mingw/lib32/ntdll.def +++ b/lib/libc/mingw/lib32/ntdll.def @@ -5,6 +5,7 @@ ; LIBRARY "ntdll.dll" EXPORTS +RtlDispatchAPC@12 RtlActivateActivationContextUnsafeFast@0 RtlDeactivateActivationContextUnsafeFast@0 RtlInterlockedPushListSList@8 @@ -35,6 +36,8 @@ AlpcRegisterCompletionListWorkerThread@4 AlpcRundownCompletionList@4 AlpcUnregisterCompletionList@4 AlpcUnregisterCompletionListWorkerThread@4 +ApiSetQueryApiSetPresence@8 +ApiSetQueryApiSetPresenceEx@12 CsrAllocateCaptureBuffer@8 CsrAllocateMessagePointer@12 CsrCaptureMessageBuffer@16 @@ -63,6 +66,7 @@ DbgSsInitialize@16 DbgUiConnectToDbg@0 DbgUiContinue@8 DbgUiConvertStateChangeStructure@8 +DbgUiConvertStateChangeStructureEx@8 DbgUiDebugActiveProcess@4 DbgUiGetThreadDebugObject@0 DbgUiIssueRemoteBreakin@4 @@ -71,6 +75,7 @@ DbgUiSetThreadDebugObject@4 DbgUiStopDebugging@4 DbgUiWaitStateChange@8 DbgUserBreakPoint@0 +EtwCheckCoverage@4 EtwCreateTraceInstanceId@8 EtwDeliverDataBlock@4 EtwEnumerateProcessRegGuids@12 @@ -78,6 +83,7 @@ EtwEventActivityIdControl@8 EtwEventEnabled@12 EtwEventProviderEnabled@20 EtwEventRegister@16 +EtwEventSetInformation@20 EtwEventUnregister@8 EtwEventWrite@20 EtwEventWriteEndScenario@20 @@ -118,64 +124,94 @@ KiUserApcDispatcher@20 KiUserCallbackDispatcher@12 KiUserExceptionDispatcher@8 LdrAccessResource@16 +LdrAddDllDirectory@8 LdrAddLoadAsDataTable@16; Check!!! gendef says @20 LdrAddRefDll@8 LdrAlternateResourcesEnabled@0 +LdrAppxHandleIntegrityFailure@4 +LdrCallEnclave@12 +LdrControlFlowGuardEnforced@0 +LdrCreateEnclave@36 +LdrDeleteEnclave@4 LdrDisableThreadCalloutsForDll@4 LdrEnumResources@20 LdrEnumerateLoadedModules@12 +LdrFastFailInLoaderCallout@0 LdrFindEntryForAddress@8 LdrFindResourceDirectory_U@16 LdrFindResourceEx_U@20 LdrFindResource_U@16 LdrFlushAlternateResourceModules@0 +LdrGetDllDirectory@4 +LdrGetDllFullName@8 LdrGetDllHandle@16 LdrGetDllHandleByMapping@8 LdrGetDllHandleByName@12 LdrGetDllHandleEx@20 +LdrGetDllPath@16 LdrGetFailureData@0 LdrGetFileNameFromLoadAsDataTable@8 LdrGetProcedureAddress@16 LdrGetProcedureAddressEx@20 +LdrGetProcedureAddressForCaller@24 LdrHotPatchRoutine@0 LdrInitShimEngineDynamic@4 +LdrInitializeEnclave@20 LdrInitializeThunk@16 +LdrIsModuleSxsRedirected@4 LdrLoadAlternateResourceModule@16 LdrLoadAlternateResourceModuleEx@20 LdrLoadDll@16 +LdrLoadEnclaveModule@12 LdrAlternateResourcesEnabled@0 LdrLockLoaderLock@12 LdrOpenImageFileOptionsKey@12 +LdrParentInterlockedPopEntrySList@0 +LdrParentRtlInitializeNtUserPfn@0 +LdrParentRtlResetNtUserPfn@0 +LdrParentRtlRetrieveNtUserPfn@0 LdrProcessRelocationBlock@16 +LdrProcessRelocationBlockEx@20 LdrQueryImageFileExecutionOptions@24 LdrQueryImageFileExecutionOptionsEx@28 LdrQueryImageFileKeyOption@24 LdrQueryModuleServiceTags@12 +LdrQueryOptionalDelayLoadedAPI@16 LdrQueryProcessModuleInformation@12 LdrRegisterDllNotification@16 +LdrRemoveDllDirectory@4 LdrRemoveLoadAsDataTable@16 LdrResFindResource@36 LdrResFindResourceDirectory@28 LdrResGetRCConfig@20 LdrResRelease@12 LdrResSearchResource@32 +LdrResolveDelayLoadedAPI@24 +LdrResolveDelayLoadsFromDll@12 LdrRscIsTypeExist@16 LdrSetAppCompatDllRedirectionCallback@12 +LdrSetDefaultDllDirectories@4 +LdrSetDllDirectory@4 LdrSetDllManifestProber@4 +LdrSetImplicitPathOptions@8 LdrSetMUICacheType@4 LdrShutdownProcess@0 LdrShutdownThread@0 +LdrStandardizeSystemPath@4 +LdrSystemDllInitBlock@0 LdrUnloadAlternateResourceModule@4 LdrUnloadAlternateResourceModuleEx@8 LdrUnloadDll@4 LdrUnlockLoaderLock@8 LdrUnregisterDllNotification@4 +LdrUpdatePackageSearchPath@4 LdrVerifyImageMatchesChecksum@16 LdrVerifyImageMatchesChecksumEx@8 -LdrWx86FormatVirtualImage@12 +LdrpChildNtdll@0 LdrpResGetMappingSize@16 LdrpResGetRCConfig@20 LdrpResGetResourceDirectory@20 +LdrWx86FormatVirtualImage@12 MD4Final@4 MD4Init@4 MD4Update@12 @@ -193,22 +229,29 @@ NtAccessCheckByTypeAndAuditAlarm@64 NtAccessCheckByTypeResultList@44 NtAccessCheckByTypeResultListAndAuditAlarm@64 NtAccessCheckByTypeResultListAndAuditAlarmByHandle@68 +NtAcquireProcessActivityReference@12 NtAcquireCMFViewOwnership@12 NtAddAtom@12 +NtAddAtomEx@16 NtAddBootEntry@8 NtAddDriverEntry@8 NtAdjustGroupsToken@24 NtAdjustPrivilegesToken@24 +NtAdjustTokenClaimsAndDeviceGroups@64 NtAlertResumeThread@8 NtAlertThread@4 +NtAlertThreadByThreadId@4 NtAllocateLocallyUniqueId@4 NtAllocateReserveObject@12 NtAllocateUserPhysicalPages@12 +NtAllocateUserPhysicalPagesEx@20 NtAllocateUuids@16 NtAllocateVirtualMemory@24 +NtAllocateVirtualMemoryEx@28 NtAlpcAcceptConnectPort@36 NtAlpcCancelMessage@12 NtAlpcConnectPort@44 +NtAlpcConnectPortEx@44 NtAlpcCreatePort@12 NtAlpcCreatePortSection@24 NtAlpcCreateResourceReserve@16 @@ -219,6 +262,7 @@ NtAlpcDeleteResourceReserve@12 NtAlpcDeleteSectionView@12 NtAlpcDeleteSecurityContext@12 NtAlpcDisconnectPort@8 +NtAlpcImpersonateClientContainerOfPort@12 NtAlpcImpersonateClientOfPort@12 NtAlpcOpenSenderProcess@24 NtAlpcOpenSenderThread@24 @@ -230,58 +274,78 @@ NtAlpcSetInformation@16 NtApphelpCacheControl@8 NtAreMappedFilesTheSame@8 NtAssignProcessToJobObject@8 +NtAssociateWaitCompletionPacket@32 +NtCallEnclave@16 NtCallbackReturn@12 NtCancelDeviceWakeupRequest@4 NtCancelIoFile@8 NtCancelIoFileEx@12 NtCancelSynchronousIoFile@12 +NtCancelTimer2@8 NtCancelTimer@8 +NtCancelWaitCompletionPacket@8 NtClearEvent@4 NtClose@4 NtCloseObjectAuditAlarm@12 NtCommitComplete@8 NtCommitEnlistment@8 +NtCommitRegistryTransaction@8 NtCommitTransaction@8 NtCompactKeys@8 +NtCompareObjects@8 +NtCompareSigningLevels@8 NtCompareTokens@12 NtCompleteConnectPort@4 NtCompressKey@4 NtConnectPort@32 NtContinue@8 +NtConvertBetweenAuxiliaryCounterAndPerformanceCounter@16 +NtCreateCrossVmEvent@24 NtCreateDebugObject@16 NtCreateDirectoryObject@12 +NtCreateDirectoryObjectEx@20 +NtCreateEnclave@36 NtCreateEnlistment@32 NtCreateEvent@20 NtCreateEventPair@12 NtCreateFile@44 +NtCreateIRTimer@12 NtCreateIoCompletion@16 NtCreateJobObject@12 NtCreateJobSet@12 NtCreateKey@28 NtCreateKeyTransacted@32 NtCreateKeyedEvent@16 +NtCreateLowBoxToken@36 NtCreateMailslotFile@32 NtCreateMutant@16 NtCreateNamedPipeFile@56 NtCreatePagingFile@16 +NtCreatePartition@16 NtCreatePort@20 NtCreatePrivateNamespace@16 NtCreateProcess@32 NtCreateProcessEx@36 NtCreateProfile@36 NtCreateProfileEx@40 +NtCreateRegistryTransaction@16 NtCreateResourceManager@28 NtCreateSection@28 +NtCreateSectionEx@36 NtCreateSemaphore@20 NtCreateSymbolicLinkObject@16 NtCreateThread@32 NtCreateThreadEx@44 +NtCreateTimer2@20 NtCreateTimer@16 NtCreateToken@52 +NtCreateTokenEx@68 NtCreateTransaction@40 NtCreateTransactionManager@24 NtCreateUserProcess@44 +NtCreateWaitCompletionPacket@12 NtCreateWaitablePort@20 +NtCreateWnfStateName@28 NtCreateWorkerFactory@40 NtCurrentTeb@0 NtDebugActiveProcess@8 @@ -295,6 +359,8 @@ NtDeleteKey@4 NtDeleteObjectAuditAlarm@12 NtDeletePrivateNamespace@4 NtDeleteValueKey@8 +NtDeleteWnfStateData@8 +NtDeleteWnfStateName@4 NtDeviceIoControlFile@40 NtDisableLastKnownGood@0 NtDisplayString@4 @@ -309,9 +375,12 @@ NtEnumerateSystemEnvironmentValuesEx@12 NtEnumerateTransactionObject@20 NtEnumerateValueKey@24 NtExtendSection@8 +NtFilterBootOption@20 NtFilterToken@24 +NtFilterTokenEx@56 NtFindAtom@12 NtFlushBuffersFile@8 +NtFlushBuffersFileEx@20 NtFlushInstallUILanguage@8 NtFlushInstructionCache@12 NtFlushKey@4 @@ -323,8 +392,11 @@ NtFreeVirtualMemory@16 NtFreezeRegistry@4 NtFreezeTransactions@8 NtFsControlFile@40 +NtGetCachedSigningLevel@24 +NtGetCompleteWnfStateSubscription@24 NtGetContextThread@8 NtGetCurrentProcessorNumber@0 +NtGetCurrentProcessorNumberEx@4 NtGetDevicePowerState@8 NtGetMUIRegistryInfo@12 NtGetNextProcess@20 @@ -337,6 +409,7 @@ NtGetWriteWatch@28 NtImpersonateAnonymousToken@4 NtImpersonateClientOfPort@8 NtImpersonateThread@12 +NtInitializeEnclave@20 NtInitializeNlsFiles@16 ;Check!!! gendef says 12 NtInitializeRegistry@4 NtInitiatePowerAction@16 @@ -345,6 +418,7 @@ NtIsSystemResumeAutomatic@0 NtIsUILanguageComitted@0 NtListenPort@8 NtLoadDriver@4 +NtLoadEnclaveData@36 NtLoadKey2@12 NtLoadKey@8 NtLoadKeyEx@32 @@ -354,13 +428,17 @@ NtLockRegistryKey@4 NtLockVirtualMemory@16 NtMakePermanentObject@4 NtMakeTemporaryObject@4 +NtManageHotPatch@16 +NtManagePartition@20 NtMapCMFModule@24 NtMapUserPhysicalPages@12 NtMapUserPhysicalPagesScatter@12 NtMapViewOfSection@40 +NtMapViewOfSectionEx@36 NtModifyBootEntry@4 NtModifyDriverEntry@4 NtNotifyChangeDirectoryFile@36 +NtNotifyChangeDirectoryFileEx@40 NtNotifyChangeKey@40 NtNotifyChangeMultipleKeys@48 NtNotifyChangeSession@32 @@ -378,10 +456,12 @@ NtOpenKeyTransactedEx@20 NtOpenKeyedEvent@12 NtOpenMutant@12 NtOpenObjectAuditAlarm@48 +NtOpenPartition@12 NtOpenPrivateNamespace@16 NtOpenProcess@16 NtOpenProcessToken@12 NtOpenProcessTokenEx@16 +NtOpenRegistryTransaction@12 NtOpenResourceManager@20 NtOpenSection@12 NtOpenSemaphore@12 @@ -405,20 +485,24 @@ NtPrivilegedServiceAuditAlarm@20 NtPropagationComplete@16 NtPropagationFailed@12 NtProtectVirtualMemory@20 +NtPssCaptureVaSpaceBulk@20 NtPulseEvent@8 NtQueryAttributesFile@8 +NtQueryAuxiliaryCounterFrequency@4 NtQueryBootEntryOrder@8 NtQueryBootOptions@8 NtQueryDebugFilterState@8 NtQueryDefaultLocale@8 NtQueryDefaultUILanguage@4 NtQueryDirectoryFile@44 +NtQueryDirectoryFileEx@40 NtQueryDirectoryObject@28 NtQueryDriverEntryOrder@8 NtQueryEaFile@36 NtQueryEvent@20 NtQueryFullAttributesFile@8 NtQueryInformationAtom@20 +NtQueryInformationByName@20 NtQueryInformationEnlistment@20 NtQueryInformationFile@20 NtQueryInformationJobObject@20 @@ -446,6 +530,7 @@ NtQueryQuotaInformationFile@36 NtQuerySection@20 NtQuerySecurityAttributesToken@24 NtQuerySecurityObject@20 +NtQuerySecurityPolicy@24 NtQuerySemaphore@20 NtQuerySymbolicLinkObject@12 NtQuerySystemEnvironmentValue@16 @@ -458,6 +543,8 @@ NtQueryTimerResolution@12 NtQueryValueKey@24 NtQueryVirtualMemory@24 NtQueryVolumeInformationFile@20 +NtQueryWnfStateData@24 +NtQueryWnfStateNameInformation@20 NtQueueApcThread@20 NtQueueApcThreadEx@24 NtRaiseException@12 @@ -497,8 +584,10 @@ NtResetWriteWatch@12 NtRestoreKey@12 NtResumeProcess@4 NtResumeThread@8 +NtRevertContainerImpersonation@0 NtRollbackComplete@8 NtRollbackEnlistment@8 +NtRollbackRegistryTransaction@8 NtRollbackTransaction@8 NtRollforwardTransactionManager@8 NtSaveKey@8 @@ -508,6 +597,8 @@ NtSecureConnectPort@36 NtSerializeBoot@0 NtSetBootEntryOrder@8 NtSetBootOptions@8 +NtSetCachedSigningLevel2@24 +NtSetCachedSigningLevel@20 NtSetContextThread@8 NtSetDebugFilterState@12 NtSetDefaultHardErrorPort@4 @@ -519,6 +610,7 @@ NtSetEvent@8 NtSetEventBoostPriority@4 NtSetHighEventPair@4 NtSetHighWaitLowEventPair@4 +NtSetIRTimer@8 NtSetInformationDebugObject@20 NtSetInformationEnlistment@16 NtSetInformationFile@20 @@ -527,10 +619,12 @@ NtSetInformationKey@16 NtSetInformationObject@16 NtSetInformationProcess@16 NtSetInformationResourceManager@16 +NtSetInformationSymbolicLink@16 NtSetInformationThread@16 NtSetInformationToken@16 NtSetInformationTransaction@16 NtSetInformationTransactionManager@16 +NtSetInformationVirtualMemory@24 NtSetInformationWorkerFactory@16 NtSetIntervalProfile@8 NtSetIoCompletion@20 @@ -546,21 +640,25 @@ NtSetSystemInformation@12 NtSetSystemPowerState@12 NtSetSystemTime@8 NtSetThreadExecutionState@8 +NtSetTimer2@16 NtSetTimer@28 NtSetTimerEx@16 NtSetTimerResolution@12 NtSetUuidSeed@4 NtSetValueKey@24 NtSetVolumeInformationFile@20 +NtSetWnfProcessNotificationEvent@4 NtShutdownSystem@4 NtShutdownWorkerFactory@8 NtSignalAndWaitForSingleObject@16 NtSinglePhaseReject@8 NtStartProfile@4 NtStopProfile@4 +NtSubscribeWnfStateChange@16 NtSuspendProcess@4 NtSuspendThread@8 NtSystemDebugControl@24 +NtTerminateEnclave@8 NtTerminateJobObject@8 NtTerminateProcess@8 NtTerminateThread@8 @@ -578,7 +676,11 @@ NtUnloadKeyEx@8 NtUnlockFile@20 NtUnlockVirtualMemory@16 NtUnmapViewOfSection@8 +NtUnmapViewOfSectionEx@12 +NtUnsubscribeWnfStateChange@4 +NtUpdateWnfStateData@28 NtVdmControl@8 +NtWaitForAlertByThreadId@8 NtWaitForDebugEvent@16 NtWaitForKeyedEvent@16 NtWaitForMultipleObjects32@20 @@ -622,6 +724,14 @@ PfxFindPrefix@8 PfxInitialize@4 PfxInsertPrefix@12 PfxRemovePrefix@8 +PssNtCaptureSnapshot@16 +PssNtDuplicateSnapshot@20 +PssNtFreeRemoteSnapshot@8 +PssNtFreeSnapshot@4 +PssNtFreeWalkMarker@4 +PssNtQuerySnapshot@16 +PssNtValidateDescriptor@8 +PssNtWalkSnapshot@20 RtlAbortRXact@4 RtlAbsoluteToSelfRelativeSD@12 RtlAcquirePebLock@0 @@ -639,6 +749,7 @@ RtlAddAccessAllowedObjectAce@28 RtlAddAccessDeniedAce@16 RtlAddAccessDeniedAceEx@20 RtlAddAccessDeniedObjectAce@28 +RtlAddAccessFilterAce@32 RtlAddAce@20 RtlAddActionToRXact@24 RtlAddAtomToAtomTable@12 @@ -649,20 +760,25 @@ RtlAddAuditAccessObjectAce@36 RtlAddCompoundAce@24 RtlAddIntegrityLabelToBoundaryDescriptor@8 RtlAddMandatoryAce@24 +RtlAddProcessTrustLabelAce@24 RtlAddRefActivationContext@4 RtlAddRange@36 RtlAddRefMemoryStream@4 +RtlAddResourceAttributeAce@28 RtlAddSIDToBoundaryDescriptor@8 +RtlAddScopedPolicyIDAce@20 RtlAddVectoredContinueHandler@8 RtlAddVectoredExceptionHandler@8 RtlAddressInSectionTable@12 RtlAdjustPrivilege@16 RtlAllocateActivationContextStack@4 RtlAllocateAndInitializeSid@44 +RtlAllocateAndInitializeSidEx@16 RtlAllocateHandle@8 RtlAllocateHeap@12 RtlAllocateMemoryBlockLookaside@12 RtlAllocateMemoryZone@12 +RtlAllocateWnfSerializationGroup@0 RtlAnsiCharToUnicodeChar@4 RtlAnsiStringToUnicodeSize@4 RtlAnsiStringToUnicodeString@12 @@ -674,24 +790,40 @@ RtlAppendUnicodeToString@8 RtlApplicationVerifierStop@40 RtlApplyRXact@4 RtlApplyRXactNoFlush@4 +RtlAppxIsFileOwnedByTrustedInstaller@8 RtlAreAllAccessesGranted@8 RtlAreAnyAccessesGranted@8 RtlAreBitsClear@12 RtlAreBitsSet@12 +RtlAreLongPathsEnabled@0 RtlAssert@16 +RtlAvlInsertNodeEx@16 +RtlAvlRemoveNode@8 RtlBarrier@8 RtlBarrierForDelete@8 RtlCallbackLpcClient@12 RtlCancelTimer@8 +RtlCanonicalizeDomainName@12 +RtlCapabilityCheck@12 +RtlCapabilityCheckForSingleSessionSku@12 RtlCaptureContext@4 RtlCaptureStackBackTrace@16 RtlCaptureStackContext@12 RtlCharToInteger@12 +RtlCheckBootStatusIntegrity@8 RtlCheckForOrphanedCriticalSections@4 +RtlCheckPortableOperatingSystem@4 RtlCheckRegistryKey@8 +RtlCheckSandboxedToken@8 +RtlCheckSystemBootStatusIntegrity@4 +RtlCheckTokenCapability@12 +RtlCheckTokenMembership@12 +RtlCheckTokenMembershipEx@16 RtlCleanUpTEBLangLists@0 RtlClearAllBits@4 +RtlClearBit@8 RtlClearBits@12 +RtlClearThreadWorkOnBehalfTicket@0 RtlCloneMemoryStream@8 RtlCloneUserProcess@20 RtlCmDecodeMemIoResource@8 @@ -711,15 +843,20 @@ RtlComputeImportTableHash@12 RtlComputePrivatizedDllName_U@12 RtlConnectToSm@16 RtlConsoleMultiByteToUnicodeN@24 +RtlConstructCrossVmEventPath@12 RtlContractHashTable@4 +RtlConvertDeviceFamilyInfoToString@16 RtlConvertExclusiveToShared@4 RtlConvertLCIDToString@20 RtlConvertLongToLargeInteger@4 +RtlConvertSRWLockExclusiveToShared@4 RtlConvertSharedToExclusive@4 RtlConvertSidToUnicodeString@12 RtlConvertToAutoInheritSecurityObject@24 RtlConvertUiListToApiList@12 RtlConvertUlongToLargeInteger@4 +RtlCopyBitMap@12 +RtlCopyContext@12 RtlCopyExtendedContext@12 RtlCopyLuid@8 RtlCopyLuidAndAttributesArray@12 @@ -732,6 +869,8 @@ RtlCopySid@12 RtlCopySidAndAttributesArray@28 RtlCopyString@8 RtlCopyUnicodeString@8 +RtlCrc32@12 +RtlCrc64@16 RtlCreateAcl@12 RtlCreateActivationContext@24 RtlCreateAndSetSD@20 @@ -741,12 +880,14 @@ RtlCreateBoundaryDescriptor@8 RtlCreateEnvironment@8 RtlCreateEnvironmentEx@12 RtlCreateHashTable@12 +RtlCreateHashTableEx@16 RtlCreateHeap@24 RtlCreateLpcServer@24 RtlCreateMemoryBlockLookaside@20 RtlCreateMemoryZone@12 RtlCreateProcessParameters@40 RtlCreateProcessParametersEx@44 +RtlCreateProcessParametersWithTemplate@12 RtlCreateProcessReflection@24 RtlCreateQueryDebugBuffer@8 RtlCreateRegistryKey@8 @@ -759,6 +900,7 @@ RtlCreateTimerQueue@4 RtlCreateUnicodeString@8 RtlCreateUnicodeStringFromAsciiz@8 RtlCreateUserProcess@40 +RtlCreateUserProcessEx@20 RtlCreateUserSecurityObject@28 RtlCreateUserStack@24 RtlCreateUserThread@40 @@ -771,8 +913,10 @@ RtlDeNormalizeProcessParams@4 RtlDeactivateActivationContext@8 RtlDebugPrintTimes@0 RtlDecodePointer@4 +RtlDecodeRemotePointer@12 RtlDecodeSystemPointer@4 RtlDecompressBuffer@24 +RtlDecompressBufferEx@28 RtlDecompressFragment@32 RtlDefaultNpAcl@4 RtlDelete@4 @@ -783,6 +927,7 @@ RtlDeleteBoundaryDescriptor@4 RtlDeleteCriticalSection@4 RtlDeleteElementGenericTable@8 RtlDeleteElementGenericTableAvl@8 +RtlDeleteElementGenericTableAvlEx@8 RtlDeleteHashTable@4 RtlDeleteNoSplay@8 RtlDeleteOwnersRanges@8 @@ -797,6 +942,7 @@ RtlDeNormalizeProcessParams@4 RtlDeregisterSecureMemoryCacheCallback@4 RtlDeregisterWait@4 RtlDeregisterWaitEx@8 +RtlDeriveCapabilitySidsFromName@12 RtlDestroyAtomTable@4 RtlDestroyEnvironment@4 RtlDestroyHandleTable@4 @@ -811,7 +957,10 @@ RtlDisableThreadProfiling@4 RtlDllShutdownInProgress@0 RtlDnsHostNameToComputerName@12 RtlDoesFileExists_U@4 +RtlDoesNameContainWildCards@4 RtlDosApplyFileIsolationRedirection_Ustr@36 +RtlDosLongPathNameToNtPathName_U_WithStatus@16 +RtlDosLongPathNameToRelativeNtPathName_U_WithStatus@16 RtlDosPathNameToNtPathName_U@16 RtlDosPathNameToNtPathName_U_WithStatus@16 RtlDosPathNameToRelativeNtPathName_U@16 @@ -826,8 +975,10 @@ RtlEmptyAtomTable@8 RtlEnableEarlyCriticalSectionEventCreation@0 RtlEnableThreadProfiling@20 RtlEncodePointer@4 +RtlEncodeRemotePointer@12 RtlEncodeSystemPointer@4 RtlEndEnumerationHashTable@8 +RtlEndStrongEnumerationHashTable@8 RtlEndWeakEnumerationHashTable@8 RtlEnlargedIntegerMultiply@8 RtlEnlargedUnsignedDivide@16 @@ -847,22 +998,24 @@ RtlEqualPrefixSid@8 RtlEqualSid@8 RtlEqualString@12 RtlEqualUnicodeString@12 +RtlEqualWnfChangeStamps@8 RtlEraseUnicodeString@4 RtlEthernetAddressToStringA@8 RtlEthernetAddressToStringW@8 RtlEthernetStringToAddressA@12 RtlEthernetStringToAddressW@12 RtlExitUserProcess@4 -; Not sure, but we assume @4 -RtlExitUserThread@4 +RtlExitUserThread@4 ; Not sure, but we assume @4 RtlExpandEnvironmentStrings@24 RtlExpandEnvironmentStrings_U@16 RtlExpandHashTable@4 +RtlExtendCorrelationVector@4 RtlExtendMemoryBlockLookaside@8 RtlExtendMemoryZone@8 RtlExtendedIntegerMultiply@12 RtlExtendedLargeIntegerDivide@16 RtlExtendedMagicDivide@20 +RtlExtractBitMap@16 RtlExtendHeap@16 RtlFillMemory@12 RtlFillMemoryUlong@12 @@ -876,6 +1029,7 @@ RtlFindClearBits@12 RtlFindClearBitsAndSet@12 RtlFindClearRuns@16 RtlFindClosestEncodableLength@12 +RtlFindExportedRoutineByName@8 RtlFindLastBackwardRunClear@12 RtlFindLeastSignificantBit@8 RtlFindLongestRunClear@8 @@ -886,10 +1040,14 @@ RtlFindNextForwardRunClear@12 RtlFindRange@48 RtlFindSetBits@12 RtlFindSetBitsAndClear@12 +RtlFindUnicodeSubstring@12 RtlFirstEntrySList@4 RtlFirstFreeAce@8 RtlFlsAlloc@8 RtlFlsFree@4 +RtlFlsGetValue@8 +RtlFlsSetValue@8 +RtlFlushHeaps@0 RtlFlushSecureMemoryCache@8 RtlFormatCurrentUserKeyPath@4 RtlFormatMessage@36 @@ -902,6 +1060,7 @@ RtlFreeMemoryBlockLookaside@8 RtlFreeOemString@4 RtlFreeSid@4 RtlFreeThreadActivationContextStack@0 +RtlFreeUTF8String@4 RtlFreeUnicodeString@4 RtlFreeUserStack@4 RtlFreeUserThreadStack@8 @@ -909,19 +1068,28 @@ RtlGUIDFromString@8 RtlGenerate8dot3Name@16 RtlGetAce@12 RtlGetActiveActivationContext@4 +RtlGetActiveConsoleId@0 +RtlGetAppContainerNamedObjectPath@16 +RtlGetAppContainerParent@8 +RtlGetAppContainerSidType@8 RtlGetCallersAddress@8 RtlGetCompressionWorkSpaceSize@12 +RtlGetConsoleSessionForegroundProcessId@0 RtlGetControlSecurityDescriptor@12 RtlGetCriticalSectionRecursionCount@4 RtlGetCurrentDirectory_U@8 RtlGetCurrentPeb@0 RtlGetCurrentProcessorNumber@0 RtlGetCurrentProcessorNumberEx@4 +RtlGetCurrentServiceSessionId@0 RtlGetCurrentTransaction@0 RtlGetDaclSecurityDescriptor@16 +RtlGetDeviceFamilyInfoEnum@12 RtlGetElementGenericTable@8 RtlGetElementGenericTableAvl@8 RtlGetEnabledExtendedFeatures@8 +RtlGetExePath@8 +RtlGetExtendedContextLength2@16 RtlGetExtendedContextLength@8 RtlGetExtendedFeaturesMask@4 RtlGetFileMUIPath@28 @@ -932,36 +1100,50 @@ RtlGetFullPathName_UEx@20 RtlGetFullPathName_UstrEx@32 RtlGetGroupSecurityDescriptor@12 RtlGetIntegerAtom@8 +RtlGetInterruptTimePrecise@4 RtlGetLastNtStatus@0 RtlGetLastWin32Error@0 RtlGetLengthWithoutLastFullDosOrNtPathElement@12 RtlGetLengthWithoutTrailingPathSeperators@12 RtlGetLocaleFileMappingAddress@12 RtlGetLongestNtPathLength@0 +RtlGetMultiTimePrecise@12 +RtlGetLongestNtPathLength@0 RtlGetNativeSystemInformation@16 RtlGetNextRange@12 RtlGetNextEntryHashTable@8 RtlGetNtGlobalFlags@0 RtlGetNtProductType@4 +RtlGetNtSystemRoot@0 RtlGetNtVersionNumbers@12 RtlGetOwnerSecurityDescriptor@12 RtlGetParentLocaleName@16 +RtlGetPersistedStateLocation@28 RtlGetProcessHeaps@8 RtlGetProcessPreferredUILanguages@16 RtlGetProductInfo@20 RtlGetSaclSecurityDescriptor@16 +RtlGetSearchPath@4 RtlGetSecurityDescriptorRMControl@8 +RtlGetSessionProperties@8 RtlGetSetBootStatusData@24 +RtlGetSuiteMask@0 +RtlGetSystemBootStatus@16 +RtlGetSystemBootStatusEx@12 RtlGetSystemPreferredUILanguages@20 +RtlGetSystemTimePrecise@0 RtlGetThreadErrorMode@0 RtlGetThreadLangIdByIndex@16 RtlGetThreadPreferredUILanguages@16 +RtlGetThreadWorkOnBehalfTicket@8 +RtlGetTokenNamedObjectPath@12 RtlGetUILanguageInfo@20 RtlGetUnloadEventTrace@0 RtlGetUnloadEventTraceEx@12 RtlGetUserInfoHeap@20 RtlGetUserPreferredUILanguages@20 RtlGetVersion@4 +RtlGuardCheckLongJumpTarget@12 RtlGUIDFromString@8 RtlHashUnicodeString@16 RtlHeapTrkInitialize@4 @@ -977,6 +1159,7 @@ RtlImageRvaToVa@16 RtlImpersonateLpcClient@8 RtlImpersonateSelf@4 RtlImpersonateSelfEx@12 +RtlIncrementCorrelationVector@4 RtlInitAnsiString@8 RtlInitAnsiStringEx@8 RtlInitBarrier@12 @@ -986,6 +1169,10 @@ RtlInitMemoryStream@4 RtlInitNlsTables@16 RtlInitOutOfProcessMemoryStream@4 RtlInitString@8 +RtlInitStringEx@8 +RtlInitStrongEnumerationHashTable@8 +RtlInitUTF8String@8 +RtlInitUTF8StringEx@8 RtlInitUnicodeString@8 RtlInitUnicodeStringEx@8 RtlInitWeakEnumerationHashTable@8 @@ -993,10 +1180,12 @@ RtlInitializeAtomPackage@4 RtlInitializeBitMap@12 RtlInitializeConditionVariable@4 RtlInitializeContext@20 +RtlInitializeCorrelationVector@12 RtlInitializeCriticalSection@4 RtlInitializeCriticalSectionAndSpinCount@8 RtlInitializeCriticalSectionEx@12 RtlInitializeExceptionChain@4 +RtlInitializeExtendedContext2@20 RtlInitializeExtendedContext@12 RtlInitializeGenericTable@20 RtlInitializeGenericTableAvl@20 @@ -1007,6 +1196,7 @@ RtlInitializeResource@4 RtlInitializeSListHead@4 RtlInitializeSRWLock@4 RtlInitializeSid@12 +RtlInitializeSidEx@0 RtlInsertElementGenericTable@16 RtlInsertElementGenericTableAvl@16 RtlInsertElementGenericTableFull@24 @@ -1020,6 +1210,7 @@ RtlInterlockedCompareExchange64@20 RtlInterlockedFlushSList@4 RtlInterlockedPopEntrySList@4 RtlInterlockedPushEntrySList@8 +RtlInterlockedPushListSListEx@16 RtlInvertRangeList@8 RtlInterlockedSetBitRun@12 RtlIoDecodeMemIoResource@16 @@ -1041,21 +1232,40 @@ RtlIpv6StringToAddressExA@16 RtlIpv6StringToAddressExW@16 RtlIpv6StringToAddressW@12 RtlIsActivationContextActive@4 +RtlIsCapabilitySid@4 +RtlIsCloudFilesPlaceholder@8 RtlIsCriticalSectionLocked@4 RtlIsCriticalSectionLockedByThread@4 +RtlIsCurrentProcess@4 +RtlIsCurrentThread@4 RtlIsCurrentThreadAttachExempt@0 RtlIsDosDeviceName_U@4 +RtlIsElevatedRid@4 RtlIsGenericTableEmpty@4 RtlIsGenericTableEmptyAvl@4 +RtlIsMultiSessionSku@0 +RtlIsMultiUsersInSessionSku@0 RtlIsNameInExpression@16 +RtlIsNameInUnUpcasedExpression@16 RtlIsNameLegalDOS8Dot3@12 +RtlIsNonEmptyDirectoryReparsePointAllowed@4 RtlIsNormalizedString@16 +RtlIsPackageSid@4 +RtlIsParentOfChildAppContainer@8 +RtlIsPartialPlaceholder@8 +RtlIsPartialPlaceholderFileHandle@8 +RtlIsPartialPlaceholderFileInfo@12 +RtlIsProcessorFeaturePresent@4 RtlIsRangeAvailable@40 +RtlIsStateSeparationEnabled@0 RtlIsTextUnicode@12 RtlIsThreadWithinLoaderCallout@0 +RtlIsUntrustedObject@12 RtlIsValidHandle@8 RtlIsValidIndexHandle@12 RtlIsValidLocaleName@8 +RtlIsValidProcessTrustLabelSid@4 +RtlIsZeroMemory@8 RtlKnownExceptionFilter@4 RtlLCIDToCultureName@8 RtlLargeIntegerAdd@16 @@ -1071,9 +1281,11 @@ RtlLeaveCriticalSection@4 RtlLengthRequiredSid@4 RtlLengthSecurityDescriptor@4 RtlLengthSid@4 +RtlLengthSidAsUnicodeString@8 RtlLoadString@32 RtlLocalTimeToSystemTime@8 RtlLocaleNameToLcid@12 +RtlLocateExtendedFeature2@16 RtlLocateExtendedFeature@12 RtlLocateLegacyContext@8 RtlLockBootStatusData@4 @@ -1090,6 +1302,7 @@ RtlLookupElementGenericTableAvl@8 RtlLookupElementGenericTableFull@16 RtlLookupElementGenericTableFullAvl@16 RtlLookupEntryHashTable@12 +RtlLookupFirstMatchingElementGenericTableAvl@12 RtlMakeSelfRelativeSD@12 RtlMapGenericMask@8 RtlMapSecurityErrorToNtStatus@4 @@ -1106,6 +1319,7 @@ RtlNewSecurityObject@24 RtlNewSecurityObjectEx@32 RtlNewSecurityObjectWithMultipleInheritance@36 RtlNormalizeProcessParams@4 +RtlNormalizeSecurityDescriptor@20 RtlNormalizeString@20 RtlNtPathNameToDosPathName@16 RtlNtStatusToDosError@4 @@ -1113,12 +1327,15 @@ RtlNtStatusToDosErrorNoTeb@4 RtlNumberGenericTableElements@4 RtlNumberGenericTableElementsAvl@4 RtlNumberOfClearBits@4 +RtlNumberOfClearBitsInRange@12 RtlNumberOfSetBits@4 +RtlNumberOfSetBitsInRange@12 RtlNumberOfSetBitsUlongPtr@4 RtlOemStringToUnicodeSize@4 RtlOemStringToUnicodeString@12 RtlOemToUnicodeN@20 RtlOpenCurrentUser@8 +RtlOsDeploymentState@4 RtlOwnerAcesPresent@4 RtlPcToFileHeader@8 RtlPinAtomInAtomTable@8 @@ -1127,6 +1344,7 @@ RtlPrefixString@12 RtlPrefixUnicodeString@12 RtlProcessFlsData@4 RtlProtectHeap@8 +RtlPublishWnfStateData@24 RtlPushFrame@4 RtlQueryActivationContextApplicationSettings@28 RtlQueryAtomInAtomTable@24 @@ -1137,39 +1355,60 @@ RtlQueryElevationFlags@4 RtlQueryEnvironmentVariable@24 RtlQueryEnvironmentVariable_U@12 RtlQueryHeapInformation@20 +RtlQueryImageMitigationPolicy@20 RtlQueryInformationAcl@16 RtlQueryInformationActivationContext@28 RtlQueryInformationActiveActivationContext@16 RtlQueryInterfaceMemoryStream@12 RtlQueryModuleInformation@12 +RtlQueryPackageClaims@32 +RtlQueryPackageIdentity@24 +RtlQueryPackageIdentityEx@28 RtlQueryPerformanceCounter@4 RtlQueryPerformanceFrequency@4 RtlQueryProcessBackTraceInformation@4 RtlQueryProcessDebugInformation@12 RtlQueryProcessHeapInformation@4 RtlQueryProcessLockInformation@4 +RtlQueryProcessPlaceholderCompatibilityMode@0 +RtlQueryProtectedPolicy@8 +RtlQueryRegistryValueWithFallback@28 RtlQueryRegistryValues@20 +RtlQueryRegistryValuesEx@20 +RtlQueryResourcePolicy@16 RtlQuerySecurityObject@20 RtlQueryTagHeap@20 +RtlQueryThreadPlaceholderCompatibilityMode@0 RtlQueryThreadProfiling@8 RtlQueryTimeZoneInformation@4 +RtlQueryTokenHostIdAsUlong64@8 +RtlQueryUnbiasedInterruptTime@4 +RtlQueryValidationRunlevel@4 +RtlQueryWnfMetaNotification@20 +RtlQueryWnfStateData@24 +RtlQueryWnfStateDataWithExplicitScope@28 RtlQueueApcWow64Thread@20 RtlQueueWorkItem@12 +RtlRaiseCustomSystemEventTrigger@4 RtlRaiseException@4 RtlRaiseStatus@4 RtlRandom@4 RtlRandomEx@4 +RtlRbInsertNodeEx@16 +RtlRbRemoveNode@8 RtlReAllocateHeap@16 RtlReadMemoryStream@16 RtlReadOutOfProcessMemoryStream@16 RtlReadThreadProfilingData@12 RtlRealPredecessor@4 RtlRealSuccessor@4 +RtlRegisterForWnfMetaNotification@24 RtlRegisterSecureMemoryCacheCallback@4 RtlRegisterThreadWithCsrss@0 RtlRegisterWait@24 RtlReleaseActivationContext@4 RtlReleaseMemoryStream@4 +RtlReleasePath@4 RtlReleasePebLock@0 RtlReleasePrivilege@4 RtlReleaseRelativeName@4 @@ -1182,13 +1421,19 @@ RtlRemovePrivileges@12 RtlRemoveVectoredContinueHandler@4 RtlRemoveVectoredExceptionHandler@4 RtlReplaceSidInSd@16 +RtlReplaceSystemDirectoryInPath@16 RtlReportException@12 +RtlReportExceptionEx@20 RtlReportSilentProcessExit@8 RtlReportSqmEscalation@24 RtlResetMemoryBlockLookaside@4 RtlResetMemoryZone@4 +RtlResetNtUserPfn@0 RtlResetRtlTranslations@4 +RtlRestoreBootStatusDefaults@4 RtlRestoreLastWin32Error@4 +RtlRestoreSystemBootStatusDefaults@0 +RtlRestoreThreadPreferredUILanguages@4 RtlRetrieveNtUserPfn@12 RtlRevertMemoryStream@4 RtlRunDecodeUnicodeString@8 @@ -1205,6 +1450,7 @@ RtlSelfRelativeToAbsoluteSD@44 RtlSendMsgToSm@8 RtlSetAllBits@4 RtlSetAttributesSecurityDescriptor@12 +RtlSetBit@8 RtlSetBits@12 RtlSetControlSecurityDescriptor@12 RtlSetCriticalSectionSpinCount@8 @@ -1219,23 +1465,35 @@ RtlSetEnvironmentVariable@12 RtlSetExtendedFeaturesMask@12 RtlSetGroupSecurityDescriptor@12 RtlSetHeapInformation@16 +RtlSetImageMitigationPolicy@20 RtlSetInformationAcl@16 RtlSetIoCompletionCallback@12 RtlSetLastWin32Error@4 RtlSetLastWin32ErrorAndNtStatusFromNtStatus@4 RtlSetMemoryStreamSize@12 RtlSetOwnerSecurityDescriptor@12 +RtlSetPortableOperatingSystem@4 RtlSetProcessDebugInformation@12 RtlSetProcessIsCritical@0 +RtlSetProcessPlaceholderCompatibilityMode@4 RtlSetProcessPreferredUILanguages@12 +RtlSetProtectedPolicy@12 +RtlSetProxiedProcessId@4 RtlSetSaclSecurityDescriptor@16 +RtlSetSearchPathMode@4 RtlSetSecurityDescriptorRMControl@8 RtlSetSecurityObject@20 RtlSetSecurityObjectEx@24 +RtlSetSystemBootStatus@16 +RtlSetSystemBootStatusEx@12 RtlSetThreadErrorMode@8 RtlSetThreadIsCritical@0 +RtlSetThreadPlaceholderCompatibilityMode@4 RtlSetThreadPoolStartFunc@8 +RtlSetThreadPreferredUILanguages2@16 RtlSetThreadPreferredUILanguages@12 +RtlSetThreadSubProcessTag@4 +RtlSetThreadWorkOnBehalfTicket@4 RtlSetTimeZoneInformation@4 RtlSetTimer@28 RtlSetUnhandledExceptionFilter@4 @@ -1244,6 +1502,7 @@ RtlSetUserFlagsHeap@20 RtlSetUserValueHeap@16 RtlShutdownLpcServer@4 RtlSidDominates@12 +RtlSidDominatesForTrust@12 RtlSidEqualLevel@12 RtlSidHashInitialize@12 RtlSidHashLookup@8 @@ -1255,12 +1514,18 @@ RtlSplay@4 RtlStartRXact@4 RtlStatMemoryStream@12 RtlStringFromGUID@8 +RtlStringFromGUIDEx@12 +RtlStronglyEnumerateEntryHashTable@8 RtlSubAuthorityCountSid@4 RtlSubAuthoritySid@8 +RtlSubscribeWnfStateChangeNotification@36 RtlSubtreePredecessor@4 RtlSubtreeSuccessor@4 +RtlSwitchedVVI@16 RtlSystemTimeToLocalTime@8 +RtlTestAndPublishWnfStateData@28 RtlTestBit@8 +RtlTestProtectedAccess@8 RtlTimeFieldsToTime@8 RtlTimeToElapsedTimeFields@8 RtlTimeToSecondsSince1970@8 @@ -1277,8 +1542,11 @@ RtlTraceDatabaseValidate@4 RtlTryAcquirePebLock@0 RtlTryAcquireSRWLockExclusive@4 RtlTryAcquireSRWLockShared@4 +RtlTryConvertSRWLockSharedToExclusiveOrRelease@4 RtlTryEnterCriticalSection@4 +RtlUTF8StringToUnicodeString@12 RtlUTF8ToUnicodeN@20 +RtlUdiv128@28 RtlUnhandledExceptionFilter2@8 RtlUnhandledExceptionFilter@4 RtlUnicodeStringToAnsiSize@4 @@ -1287,6 +1555,7 @@ RtlUnicodeStringToCountedOemString@12 RtlUnicodeStringToInteger@12 RtlUnicodeStringToOemSize@4 RtlUnicodeStringToOemString@12 +RtlUnicodeStringToUTF8String@12 RtlUnicodeToCustomCPN@24 RtlUnicodeToMultiByteN@20 RtlUnicodeToMultiByteSize@12 @@ -1300,6 +1569,9 @@ RtlUnlockMemoryBlockLookaside@4 RtlUnlockMemoryStreamRegion@24 RtlUnlockMemoryZone@4 RtlUnlockModuleSection@4 +RtlUnsubscribeWnfNotificationWaitForCompletion@4 +RtlUnsubscribeWnfNotificationWithCompletionCallback@12 +RtlUnsubscribeWnfStateChangeNotification@4 RtlUnwind@16 RtlUpcaseUnicodeChar@4 RtlUpcaseUnicodeString@12 @@ -1318,22 +1590,37 @@ RtlUsageHeap@12 ; Not sure. RtlUserThreadStart RtlValidAcl@4 +RtlValidProcessProtection@4 RtlValidRelativeSecurityDescriptor@12 RtlValidSecurityDescriptor@4 RtlValidSid@4 +RtlValidateCorrelationVector@4 RtlValidateHeap@12 RtlValidateProcessHeaps@0 RtlValidateUnicodeString@8 RtlVerifyVersionInfo@16 +RtlWaitForWnfMetaNotification@24 +RtlWaitOnAddress@16 +RtlWakeAddressAll@4 +RtlWakeAddressAllNoFence@4 +RtlWakeAddressSingle@4 +RtlWakeAddressSingleNoFence@4 RtlWakeAllConditionVariable@4 RtlWakeConditionVariable@4 RtlWalkFrameChain@12 RtlWalkHeap@8 RtlWeaklyEnumerateEntryHashTable@8 RtlWerpReportException@16 +RtlWnfCompareChangeStamp@8 +RtlWnfDllUnloadCallback@4 RtlWow64CallFunction64@28 RtlWow64EnableFsRedirection@4 RtlWow64EnableFsRedirectionEx@8 +RtlWow64GetCurrentMachine@0 +RtlWow64GetEquivalentMachineCHPE@4 +RtlWow64GetProcessMachines@12 +RtlWow64GetSharedInfoProcess@12 +RtlWow64IsWowGuestMachineSupported@8 RtlWow64LogMessageInEventLogger@12 RtlWriteMemoryStream@16 RtlWriteRegistryValue@24 @@ -1343,10 +1630,14 @@ RtlZombifyActivationContext@4 RtlpApplyLengthFunction@16 RtlpCheckDynamicTimeZoneInformation@8 RtlpCleanupRegistryKeys@0 +RtlpConvertAbsoluteToRelativeSecurityAttribute@12 RtlpConvertCultureNamesToLCIDs@8 RtlpConvertLCIDsToCultureNames@8 +RtlpConvertRelativeToAbsoluteSecurityAttribute@16 RtlpCreateProcessRegistryInfo@4 RtlpEnsureBufferSize@12 +RtlpFreezeTimeBias@0 +RtlpGetDeviceFamilyInfoEnum@12 RtlpGetLCIDFromLangInfoNode@12 RtlpGetNameFromLangInfoNode@12 RtlpGetSystemDefaultUILanguage@4 ; Check!!! gendef says @8 @@ -1355,6 +1646,7 @@ RtlpInitializeLangRegistryInfo@4 RtlpIsQualifiedLanguage@12 RtlpLoadMachineUIByPolicy@12 RtlpLoadUserUIByPolicy@12 +RtlpMergeSecurityAttributeInformation@16 RtlpMuiFreeLangRegistryInfo@4 RtlpMuiRegCreateRegistryInfo@0 RtlpMuiRegFreeRegistryInfo@8 @@ -1373,6 +1665,8 @@ RtlpRefreshCachedUILanguage@8 RtlpSetInstallLanguage@8 RtlpSetPreferredUILanguages@12 RtlpSetUserPreferredUILanguages@12 +RtlpTimeFieldsToTime@12 +RtlpTimeToTimeFields@12 RtlpUnWaitCriticalSection@4 RtlpVerifyAndCommitUILanguageSettings@4 RtlpWaitForCriticalSection@4 @@ -1390,17 +1684,21 @@ TpAllocAlpcCompletion@20 TpAllocAlpcCompletionEx@20 TpAllocCleanupGroup@4 TpAllocIoCompletion@20 +TpAllocJobNotification@20 TpAllocPool@8 TpAllocTimer@16 TpAllocWait@16 TpAllocWork@16 TpAlpcRegisterCompletionList@4 TpAlpcUnregisterCompletionList@4 +TpCallbackDetectedUnrecoverableError@4 TpCallbackIndependent@4 TpCallbackLeaveCriticalSectionOnCompletion@8 TpCallbackMayRunLong@4 TpCallbackReleaseMutexOnCompletion@8 TpCallbackReleaseSemaphoreOnCompletion@12 +TpCallbackSendAlpcMessageOnCompletion@16 +TpCallbackSendPendingAlpcMessage@4 TpCallbackSetEventOnCompletion@8 TpCallbackUnloadDllOnCompletion@8 TpCancelAsyncIoOperation@4 @@ -1419,6 +1717,7 @@ TpReleaseAlpcCompletion@4 TpReleaseCleanupGroup@4 TpReleaseCleanupGroupMembers@12 TpReleaseIoCompletion@4 +TpReleaseJobNotification@4 TpReleasePool@4 TpReleaseTimer@4 TpReleaseWait@4 @@ -1426,19 +1725,29 @@ TpReleaseWork@4 TpSetDefaultPoolMaxThreads@4 TpSetDefaultPoolStackInformation@4 TpSetPoolMaxThreads@8 +TpSetPoolMaxThreadsSoftLimit@8 TpSetPoolMinThreads@8 TpSetPoolStackInformation@8 +TpSetPoolThreadBasePriority@8 +TpSetPoolThreadCpuSets@12 +TpSetPoolWorkerThreadIdleTimeout@12 TpSetTimer@16 +TpSetTimerEx@16 TpSetWait@12 +TpSetWaitEx@16 TpSimpleTryPost@12 TpStartAsyncIoOperation@4 +TpTimerOutstandingCallbackCount@4 +TpTrimPools@0 TpWaitForAlpcCompletion@4 TpWaitForIoCompletion@8 +TpWaitForJobNotification@4 TpWaitForTimer@8 TpWaitForWait@8 TpWaitForWork@8 VerSetConditionMask@16 WerCheckEventEscalation@8 +WerReportExceptionWorker@4 WerReportSQMEvent@12 WerReportWatsonEvent@16 WerReportSQMEvent@16 @@ -1462,6 +1771,7 @@ WinSqmGetInstrumentationProperty@16 WinSqmIncrementDWORD@12 WinSqmIsOptedIn@0 WinSqmIsOptedInEx@4 +WinSqmIsSessionDisabled@4 WinSqmSetDWORD64@16 WinSqmSetDWORD@12 WinSqmSetEscalationInfo@16 @@ -1469,6 +1779,8 @@ WinSqmSetIfMaxDWORD@12 WinSqmSetIfMinDWORD@12 WinSqmSetString@12 WinSqmStartSession@12 +WinSqmStartSessionForPartner@16 +WinSqmStartSqmOptinListener@0 ZwAcceptConnectPort@24 ZwAccessCheck@32 ZwAccessCheckAndAuditAlarm@44 @@ -1478,21 +1790,28 @@ ZwAccessCheckByTypeResultList@44 ZwAccessCheckByTypeResultListAndAuditAlarm@64 ZwAccessCheckByTypeResultListAndAuditAlarmByHandle@68 ZwAcquireCMFViewOwnership@12 +ZwAcquireProcessActivityReference@12 ZwAddAtom@12 +ZwAddAtomEx@16 ZwAddBootEntry@8 ZwAddDriverEntry@8 ZwAdjustGroupsToken@24 ZwAdjustPrivilegesToken@24 +ZwAdjustTokenClaimsAndDeviceGroups@64 ZwAlertResumeThread@8 ZwAlertThread@4 +ZwAlertThreadByThreadId@4 ZwAllocateLocallyUniqueId@4 ZwAllocateReserveObject@12 ZwAllocateUserPhysicalPages@12 +ZwAllocateUserPhysicalPagesEx@20 ZwAllocateUuids@16 ZwAllocateVirtualMemory@24 +ZwAllocateVirtualMemoryEx@28 ZwAlpcAcceptConnectPort@36 ZwAlpcCancelMessage@12 ZwAlpcConnectPort@44 +ZwAlpcConnectPortEx@44 ZwAlpcCreatePort@12 ZwAlpcCreatePortSection@24 ZwAlpcCreateResourceReserve@16 @@ -1503,6 +1822,7 @@ ZwAlpcDeleteResourceReserve@12 ZwAlpcDeleteSectionView@12 ZwAlpcDeleteSecurityContext@12 ZwAlpcDisconnectPort@8 +ZwAlpcImpersonateClientContainerOfPort@12 ZwAlpcImpersonateClientOfPort@12 ZwAlpcOpenSenderProcess@24 ZwAlpcOpenSenderThread@24 @@ -1514,58 +1834,78 @@ ZwAlpcSetInformation@16 ZwApphelpCacheControl@8 ZwAreMappedFilesTheSame@8 ZwAssignProcessToJobObject@8 +ZwAssociateWaitCompletionPacket@32 +ZwCallEnclave@16 ZwCallbackReturn@12 ZwCancelDeviceWakeupRequest@4 ZwCancelIoFile@8 ZwCancelIoFileEx@12 ZwCancelSynchronousIoFile@12 +ZwCancelTimer2@8 ZwCancelTimer@8 +ZwCancelWaitCompletionPacket@8 ZwClearEvent@4 ZwClose@4 ZwCloseObjectAuditAlarm@12 ZwCommitComplete@8 ZwCommitEnlistment@8 +ZwCommitRegistryTransaction@8 ZwCommitTransaction@8 ZwCompactKeys@8 +ZwCompareObjects@8 +ZwCompareSigningLevels@8 ZwCompareTokens@12 ZwCompleteConnectPort@4 ZwCompressKey@4 ZwConnectPort@32 ZwContinue@8 +ZwConvertBetweenAuxiliaryCounterAndPerformanceCounter@16 +ZwCreateCrossVmEvent@24 ZwCreateDebugObject@16 ZwCreateDirectoryObject@12 +ZwCreateDirectoryObjectEx@20 +ZwCreateEnclave@36 ZwCreateEnlistment@32 ZwCreateEvent@20 ZwCreateEventPair@12 ZwCreateFile@44 +ZwCreateIRTimer@12 ZwCreateIoCompletion@16 ZwCreateJobObject@12 ZwCreateJobSet@12 ZwCreateKey@28 ZwCreateKeyTransacted@32 ZwCreateKeyedEvent@16 +ZwCreateLowBoxToken@36 ZwCreateMailslotFile@32 ZwCreateMutant@16 ZwCreateNamedPipeFile@56 ZwCreatePagingFile@16 +ZwCreatePartition@16 ZwCreatePort@20 ZwCreatePrivateNamespace@16 ZwCreateProcess@32 ZwCreateProcessEx@36 ZwCreateProfile@36 ZwCreateProfileEx@40 +ZwCreateRegistryTransaction@16 ZwCreateResourceManager@28 ZwCreateSection@28 +ZwCreateSectionEx@36 ZwCreateSemaphore@20 ZwCreateSymbolicLinkObject@16 ZwCreateThread@32 ZwCreateThreadEx@44 +ZwCreateTimer2@20 ZwCreateTimer@16 ZwCreateToken@52 +ZwCreateTokenEx@68 ZwCreateTransaction@40 ZwCreateTransactionManager@24 ZwCreateUserProcess@44 +ZwCreateWaitCompletionPacket@12 ZwCreateWaitablePort@20 +ZwCreateWnfStateName@28 ZwCreateWorkerFactory@40 ZwDebugActiveProcess@8 ZwDebugContinue@12 @@ -1578,6 +1918,8 @@ ZwDeleteKey@4 ZwDeleteObjectAuditAlarm@12 ZwDeletePrivateNamespace@4 ZwDeleteValueKey@8 +ZwDeleteWnfStateData@8 +ZwDeleteWnfStateName@4 ZwDeviceIoControlFile@40 ZwDisableLastKnownGood@0 ZwDisplayString@4 @@ -1592,9 +1934,12 @@ ZwEnumerateSystemEnvironmentValuesEx@12 ZwEnumerateTransactionObject@20 ZwEnumerateValueKey@24 ZwExtendSection@8 +ZwFilterBootOption@20 ZwFilterToken@24 +ZwFilterTokenEx@56 ZwFindAtom@12 ZwFlushBuffersFile@8 +ZwFlushBuffersFileEx@20 ZwFlushInstallUILanguage@8 ZwFlushInstructionCache@12 ZwFlushKey@4 @@ -1606,8 +1951,11 @@ ZwFreeVirtualMemory@16 ZwFreezeRegistry@4 ZwFreezeTransactions@8 ZwFsControlFile@40 +ZwGetCachedSigningLevel@24 +ZwGetCompleteWnfStateSubscription@24 ZwGetContextThread@8 ZwGetCurrentProcessorNumber@0 +ZwGetCurrentProcessorNumberEx@4 ZwGetDevicePowerState@8 ZwGetMUIRegistryInfo@12 ZwGetNextProcess@20 @@ -1620,6 +1968,7 @@ ZwGetWriteWatch@28 ZwImpersonateAnonymousToken@4 ZwImpersonateClientOfPort@8 ZwImpersonateThread@12 +ZwInitializeEnclave@20 ZwInitializeNlsFiles@16 ZwInitializeRegistry@4 ZwInitiatePowerAction@16 @@ -1628,6 +1977,7 @@ ZwIsSystemResumeAutomatic@0 ZwIsUILanguageComitted@0 ZwListenPort@8 ZwLoadDriver@4 +ZwLoadEnclaveData@36 ZwLoadKey2@12 ZwLoadKey@8 ZwLoadKeyEx@32 @@ -1637,13 +1987,17 @@ ZwLockRegistryKey@4 ZwLockVirtualMemory@16 ZwMakePermanentObject@4 ZwMakeTemporaryObject@4 +ZwManageHotPatch@16 +ZwManagePartition@20 ZwMapCMFModule@24 ZwMapUserPhysicalPages@12 ZwMapUserPhysicalPagesScatter@12 ZwMapViewOfSection@40 +ZwMapViewOfSectionEx@36 ZwModifyBootEntry@4 ZwModifyDriverEntry@4 ZwNotifyChangeDirectoryFile@36 +ZwNotifyChangeDirectoryFileEx@40 ZwNotifyChangeKey@40 ZwNotifyChangeMultipleKeys@48 ZwNotifyChangeSession@32 @@ -1661,10 +2015,12 @@ ZwOpenKeyTransactedEx@20 ZwOpenKeyedEvent@12 ZwOpenMutant@12 ZwOpenObjectAuditAlarm@48 +ZwOpenPartition@12 ZwOpenPrivateNamespace@16 ZwOpenProcess@16 ZwOpenProcessToken@12 ZwOpenProcessTokenEx@16 +ZwOpenRegistryTransaction@12 ZwOpenResourceManager@20 ZwOpenSection@12 ZwOpenSemaphore@12 @@ -1688,20 +2044,24 @@ ZwPrivilegedServiceAuditAlarm@20 ZwPropagationComplete@16 ZwPropagationFailed@12 ZwProtectVirtualMemory@20 +ZwPssCaptureVaSpaceBulk@20 ZwPulseEvent@8 ZwQueryAttributesFile@8 +ZwQueryAuxiliaryCounterFrequency@4 ZwQueryBootEntryOrder@8 ZwQueryBootOptions@8 ZwQueryDebugFilterState@8 ZwQueryDefaultLocale@8 ZwQueryDefaultUILanguage@4 ZwQueryDirectoryFile@44 +ZwQueryDirectoryFileEx@40 ZwQueryDirectoryObject@28 ZwQueryDriverEntryOrder@8 ZwQueryEaFile@36 ZwQueryEvent@20 ZwQueryFullAttributesFile@8 ZwQueryInformationAtom@20 +ZwQueryInformationByName@20 ZwQueryInformationEnlistment@20 ZwQueryInformationFile@20 ZwQueryInformationJobObject@20 @@ -1729,6 +2089,7 @@ ZwQueryQuotaInformationFile@36 ZwQuerySection@20 ZwQuerySecurityAttributesToken@24 ZwQuerySecurityObject@20 +ZwQuerySecurityPolicy@24 ZwQuerySemaphore@20 ZwQuerySymbolicLinkObject@12 ZwQuerySystemEnvironmentValue@16 @@ -1741,6 +2102,8 @@ ZwQueryTimerResolution@12 ZwQueryValueKey@24 ZwQueryVirtualMemory@24 ZwQueryVolumeInformationFile@20 +ZwQueryWnfStateData@24 +ZwQueryWnfStateNameInformation@20 ZwQueueApcThread@20 ZwQueueApcThreadEx@24 ZwRaiseException@12 @@ -1780,8 +2143,10 @@ ZwResetWriteWatch@12 ZwRestoreKey@12 ZwResumeProcess@4 ZwResumeThread@8 +ZwRevertContainerImpersonation@0 ZwRollbackComplete@8 ZwRollbackEnlistment@8 +ZwRollbackRegistryTransaction@8 ZwRollbackTransaction@8 ZwRollforwardTransactionManager@8 ZwSaveKey@8 @@ -1791,6 +2156,8 @@ ZwSecureConnectPort@36 ZwSerializeBoot@0 ZwSetBootEntryOrder@8 ZwSetBootOptions@8 +ZwSetCachedSigningLevel2@24 +ZwSetCachedSigningLevel@20 ZwSetContextThread@8 ZwSetDebugFilterState@12 ZwSetDefaultHardErrorPort@4 @@ -1802,6 +2169,7 @@ ZwSetEvent@8 ZwSetEventBoostPriority@4 ZwSetHighEventPair@4 ZwSetHighWaitLowEventPair@4 +ZwSetIRTimer@8 ZwSetInformationDebugObject@20 ZwSetInformationEnlistment@16 ZwSetInformationFile@20 @@ -1810,10 +2178,12 @@ ZwSetInformationKey@16 ZwSetInformationObject@16 ZwSetInformationProcess@16 ZwSetInformationResourceManager@16 +ZwSetInformationSymbolicLink@16 ZwSetInformationThread@16 ZwSetInformationToken@16 ZwSetInformationTransaction@16 ZwSetInformationTransactionManager@16 +ZwSetInformationVirtualMemory@24 ZwSetInformationWorkerFactory@16 ZwSetIntervalProfile@8 ZwSetIoCompletion@20 @@ -1829,21 +2199,25 @@ ZwSetSystemInformation@12 ZwSetSystemPowerState@12 ZwSetSystemTime@8 ZwSetThreadExecutionState@8 +ZwSetTimer2@16 ZwSetTimer@28 ZwSetTimerEx@16 ZwSetTimerResolution@12 ZwSetUuidSeed@4 ZwSetValueKey@24 ZwSetVolumeInformationFile@20 +ZwSetWnfProcessNotificationEvent@4 ZwShutdownSystem@4 ZwShutdownWorkerFactory@8 ZwSignalAndWaitForSingleObject@16 ZwSinglePhaseReject@8 ZwStartProfile@4 ZwStopProfile@4 +ZwSubscribeWnfStateChange@16 ZwSuspendProcess@4 ZwSuspendThread@8 ZwSystemDebugControl@24 +ZwTerminateEnclave@8 ZwTerminateJobObject@8 ZwTerminateProcess@8 ZwTerminateThread@8 @@ -1861,7 +2235,11 @@ ZwUnloadKeyEx@8 ZwUnlockFile@20 ZwUnlockVirtualMemory@16 ZwUnmapViewOfSection@8 +ZwUnmapViewOfSectionEx@12 +ZwUnsubscribeWnfStateChange@4 +ZwUpdateWnfStateData@28 ZwVdmControl@8 +ZwWaitForAlertByThreadId@8 ZwWaitForDebugEvent@16 ZwWaitForKeyedEvent@16 ZwWaitForMultipleObjects32@20 @@ -1895,188 +2273,3 @@ ZwWriteFileGather@36 ZwWriteRequestData@24 ZwWriteVirtualMemory@20 ZwYieldExecution@0 -_CIcos -_CIlog -_CIpow -_CIsin -_CIsqrt -__isascii -__iscsym -__iscsymf -__toascii -_alldiv -_alldvrm@16 -_allmul@16 -_alloca_probe -_alloca_probe_16 -_alloca_probe_8 -_allrem@16 -_allshl -_allshr -_atoi64 -_aulldiv@16 -_aulldvrm@16 -_aullrem@16 -_aullshr -;_chkstk -_fltused DATA -_ftol -_i64toa -_i64toa_s -_i64tow -_i64tow_s -_itoa -_itoa_s -_itow -_itow_s -_lfind -_ltoa -_ltoa_s -_ltow -_ltow_s -_makepath_s -_memccpy -_memicmp -_snprintf -_snprintf_s -_snscanf_s -_snwprintf -_snwprintf_s -_snwscanf_s -_splitpath -_splitpath_s -_strcmpi -_stricmp -_strlwr -_strnicmp -_strnset_s -_strset_s -_strupr -_swprintf -_tolower -_toupper -_ui64toa -_ui64toa_s -_ui64tow -_ui64tow_s -_ultoa -_ultoa_s -_ultow -_ultow_s -_vscwprintf -_vsnprintf -_vsnprintf_s -_vsnwprintf -_vsnwprintf_s -_vswprintf -_wcsicmp -_wcslwr -_wcsnicmp -_wcsnset_s -_wcsset_s -_wcstoui64 -_wcsupr -_wmakepath_s -_wsplitpath_s -_wtoi -_wtoi64 -_wtol -abs -atan DATA -atoi -atol -bsearch -ceil -cos DATA -fabs DATA -floor DATA -isalnum -isalpha -iscntrl -isdigit -isgraph -islower -isprint -ispunct -isspace -isupper -iswalpha -iswctype -iswdigit -iswlower -iswspace -iswxdigit -isxdigit -labs -log -mbstowcs -memchr -memcmp -memcpy -memcpy_s -memmove -memmove_s -memset -pow -qsort -sin -sprintf -sprintf_s -sqrt -sscanf -sscanf_s -strcat -strcat_s -strchr -strcmp -strcpy -strcpy_s -strcspn -strlen -strncat -strncat_s -strncmp -strncpy -strncpy_s -strnlen -strpbrk -strrchr -strspn -strstr -strtok_s -strtol -strtoul -swprintf -swprintf_s -swscanf_s -tan -tolower -toupper -towlower -towupper -vDbgPrintEx@16 -vDbgPrintExWithPrefix@20 -vsprintf -vsprintf_s -vswprintf_s -wcscat -wcscat_s -wcschr -wcscmp -wcscpy -wcscpy_s -wcscspn -wcslen -wcsncat -wcsncat_s -wcsncmp -wcsncpy -wcsncpy_s -wcsnlen -wcspbrk -wcsrchr -wcsspn -wcsstr -wcstol -wcstombs -wcstoul diff --git a/lib/libc/mingw/lib32/rpcrt4.def b/lib/libc/mingw/lib32/rpcrt4.def index 62d030499e..a494f08c97 100644 --- a/lib/libc/mingw/lib32/rpcrt4.def +++ b/lib/libc/mingw/lib32/rpcrt4.def @@ -5,8 +5,14 @@ ; LIBRARY "RPCRT4.dll" EXPORTS +I_RpcBindingInqCurrentModifiedId@8 I_RpcFwThisIsTheManager@0 +I_RpcInitFwImports@4 I_RpcInitHttpImports@4 +I_RpcInitImports@4 +I_RpcInitNdrImports@4 +I_RpcMgmtQueryDedicatedThreadPool@0 +I_RpcOpenClientThread@12 I_RpcOpenClientProcess@12 I_RpcServerTurnOnOffKeepalives@16 I_RpcVerifierCorruptionExpected@0 @@ -40,9 +46,9 @@ I_RpcAsyncSetHandle@8 I_RpcBCacheAllocate@4 I_RpcBCacheFree@4 I_RpcBindingCopy@8 -I_RpcBindingInqDynamicEndpoint@8 I_RpcBindingCreateNP@16 I_RpcBindingHandleToAsyncHandle@8 +I_RpcBindingInqClientTokenAttributes@16 I_RpcBindingInqDynamicEndpoint@8 I_RpcBindingInqDynamicEndpointA@8 I_RpcBindingInqDynamicEndpointW@8 @@ -53,7 +59,10 @@ I_RpcBindingInqSecurityContextKeyInfo@8 I_RpcBindingInqTransportType@8 I_RpcBindingInqWireIdForSnego@8 I_RpcBindingIsClientLocal@8 +I_RpcBindingIsServerLocal@8 +I_RpcBindingSetPrivateOption@12 I_RpcBindingToStaticStringBindingW@8 +I_RpcCertProcessAndProvision@16 I_RpcClearMutex@4 I_RpcConnectionInqSockBuffSize2@4 I_RpcCompleteAndFree@12 @@ -67,17 +76,22 @@ I_RpcFree@4 I_RpcFreeBuffer@4 I_RpcGetAssociationContext@4 I_RpcFreePipeBuffer@4 +I_RpcFreeSystemHandle@8 +I_RpcFreeSystemHandleCollection@8 I_RpcGetBuffer@4 I_RpcGetBufferWithObject@8 I_RpcGetCurrentCallHandle@0 +I_RpcGetDefaultSD@4 I_RpcIOAlerted@4 I_RpcGetExtendedError@0 I_RpcGetPortAllocationData@4 +I_RpcGetSystemHandle@20 I_RpcIfInqTransferSyntaxes@16 I_RpcLogEvent@28 I_RpcMapWin32Status@4 I_RpcMonitorAssociation@12 I_RpcMarshalBindingHandleAndInterfaceForNDF@24 +I_RpcMgmtEnableDedicatedThreadPool@0 I_RpcNDRCGetWireRepresentation@8 I_RpcNDRSContextEmergencyCleanup@8 I_RpcNegotiateTransferSyntax@4 @@ -97,6 +111,8 @@ I_RpcSend@4 I_RpcSendReceive@4 I_RpcServerAllocateIpPort@8 I_RpcServerCheckClientRestriction@4 +I_RpcServerDisableExceptionFilter@0 +I_RpcServerGetAssociationID@8 I_RpcServerInqAddressChangeFn@0 I_RpcServerInqLocalConnAddress@16 I_RpcServerInqRemoteConnAddress@16 @@ -106,12 +122,16 @@ I_RpcServerRegisterForwardFunction@4 I_RpcSetAssociationContext@4 I_RpcServerSetAddressChangeFn@4 I_RpcServerStartService@12 +I_RpcServerSubscribeForDisconnectNotification2@12 +I_RpcServerSubscribeForDisconnectNotification@8 +I_RpcServerUnsubscribeForDisconnectNotification@20 I_RpcServerUseProtseq2A@20 I_RpcServerUseProtseq2W@20 I_RpcServerUseProtseqEp2A@24 I_RpcServerUseProtseqEp2W@24 I_RpcSessionStrictContextHandle@0 I_RpcSetDCOMAppId@4 +I_RpcSetSystemHandle@20 I_RpcSsDontSerializeContext@0 I_RpcStopMonitorAssociation@4 I_RpcTransClientMaxFrag@4 @@ -125,6 +145,7 @@ I_RpcTransServerReallocBuffer@16 I_RpcTransServerReceiveDirectReady@4 I_RpcTransServerUnprotectThread@4 I_RpcSystemFunction001@12 +I_RpcSystemHandleTypeSpecificWork@16 I_RpcTransConnectionAllocatePacket@8 I_RpcTransConnectionFreePacket@8 I_RpcTransConnectionReallocPacket@16 @@ -159,7 +180,8 @@ NDRSContextUnmarshall@8 NDRSContextUnmarshallEx@12 NDRcopy@12 NdrAllocate@8 -NdrAsyncClientCall@0 +NdrAsyncClientCall +NdrAsyncClientCall2 NdrAsyncServerCall@4 NdrByteCountPointerBufferSize@12 NdrByteCountPointerFree@12 @@ -170,6 +192,7 @@ NdrCStdStubBuffer_Release@8 NdrClearOutParameters@12 NdrClientCall NdrClientCall2 +NdrClientCall4 NdrClientContextMarshall@12 NdrClientContextUnmarshall@12 NdrClientInitialize@16 @@ -216,7 +239,8 @@ NdrCorrelationFree@4 NdrCorrelationInitialize@16 NdrCorrelationPass@4 NdrCreateServerInterfaceFromStub@8 -NdrDcomAsyncClientCall@0 +NdrDcomAsyncClientCall +NdrDcomAsyncClientCall2 NdrDcomAsyncStubCall@16 NdrDllCanUnloadNow@4 NdrDllGetClassObject@24 @@ -262,6 +286,7 @@ NdrInterfacePointerUnmarshall@16 NdrMapCommAndFaultStatus@16 NdrMesProcEncodeDecode NdrMesProcEncodeDecode2 +NdrMesProcEncodeDecode4 NdrMesSimpleTypeAlignSize@4 NdrMesSimpleTypeDecode@12 NdrMesSimpleTypeEncode@16 @@ -425,7 +450,9 @@ RpcFreeAuthorizationContext@4 RpcGetAuthorizationContextForClient@36 RpcIfIdVectorFree@4 RpcIfInqId@8 +RpcImpersonateClient2@4 RpcImpersonateClient@4 +RpcImpersonateClientContainer@4 RpcMgmtEnableIdleCleanup@0 RpcMgmtEpEltInqBegin@24 RpcMgmtEpEltInqDone@4 @@ -458,20 +485,29 @@ RpcObjectSetType@8 RpcProtseqVectorFreeA@4 RpcProtseqVectorFreeW@4 RpcRaiseException@4 +RpcRevertContainerImpersonation@0 RpcRevertToSelf@0 RpcRevertToSelfEx@4 RpcServerCompleteSecurityCallback@8 RpcServerInqBindingHandle@4 RpcServerInqBindings@4 +RpcServerInqBindingsEx@8 RpcServerInqCallAttributesA@8 RpcServerInqCallAttributesW@8 RpcServerInqDefaultPrincNameA@8 RpcServerInqDefaultPrincNameW@8 RpcServerInqIf@12 +RpcServerInterfaceGroupActivate@4 +RpcServerInterfaceGroupClose@4 +RpcServerInterfaceGroupCreateA@32 +RpcServerInterfaceGroupCreateW@32 +RpcServerInterfaceGroupDeactivate@8 +RpcServerInterfaceGroupInqBindings@8 RpcServerListen@12 RpcServerRegisterAuthInfoA@16 RpcServerRegisterAuthInfoW@16 RpcServerRegisterIf2@28 +RpcServerRegisterIf3@32 RpcServerRegisterIf@12 RpcServerRegisterIfEx@24 RpcServerSubscribeForNotification@16 diff --git a/lib/libc/mingw/lib32/urlmon.def b/lib/libc/mingw/lib32/urlmon.def index 31e750d76f..0ad95e0b04 100644 --- a/lib/libc/mingw/lib32/urlmon.def +++ b/lib/libc/mingw/lib32/urlmon.def @@ -5,24 +5,10 @@ ; LIBRARY "urlmon.dll" EXPORTS -ord_100@16 @100 -ord_101 @101 -ord_102 @102 -ord_103@8 @103 -ord_104@24 @104 -ord_105@12 @105 -ord_106@4 @106 -ord_107@8 @107 -ord_108 @108 AsyncGetClassBits@44 AsyncInstallDistributionUnit@36 -ord_111@8 @111 -ord_112@8 @112 -ord_113@8 @113 -ord_114 @114 -ord_115@4 @115 -ord_116@8 @116 BindAsyncMoniker@20 +CAuthenticateHostUI_CreateInstance@12 CDLGetLongPathNameA@12 CDLGetLongPathNameW@12 CORPolicyProvider@4 @@ -36,6 +22,8 @@ CoInternetCompareUrl@12 CoInternetCreateSecurityManager@12 CoInternetCreateZoneManager@12 CoInternetFeatureSettingsChanged +CoInternetGetMobileBrowserAppCompatMode@4 +CoInternetGetMobileBrowserForceDesktopMode@4 CoInternetGetProtocolFlags@12 CoInternetGetSecurityUrl@16 CoInternetGetSecurityUrlEx@16 @@ -48,6 +36,8 @@ CoInternetParseIUri@28 CoInternetParseUrl@28 CoInternetQueryInfo@28 CoInternetSetFeatureEnabled@12 +CoInternetSetMobileBrowserAppCompatMode@4 +CoInternetSetMobileBrowserForceDesktopMode@4 CompareSecurityIds@20 CompatFlagsFromClsid@12 CopyBindInfo@8 @@ -65,6 +55,7 @@ CreateUriPriv@32 CreateUriWithFragment@20 Extract@8 FaultInIEFeature@16 +FileBearsMarkOfTheWeb@8 FindMediaType@8 FindMediaTypeClass@16 FindMimeFromData@32 @@ -82,12 +73,14 @@ GetPropertyFromName@8 GetPropertyName@4 GetSoftwareUpdateInfo@8 GetUrlmonThreadNotificationHwnd@0 +GetZoneFromAlternateDataStreamEx@8 HlinkGoBack@4 HlinkGoForward@4 HlinkNavigateMoniker@8 HlinkNavigateString@8 HlinkSimpleNavigateToMoniker@32 HlinkSimpleNavigateToString@32 +IEGetUserPrivateNamespaceName@0 IEDllLoader@8 IEInstallScope@4 IntlPercentEncodeNormalize@16 @@ -108,10 +101,13 @@ RegisterBindStatusCallback@16 RegisterFormatEnumerator@12 RegisterMediaTypeClass@20 RegisterMediaTypes@12 +RegisterWebPlatformPermanentSecurityManager@4 ReleaseBindInfo@4 ResetUrlmonLanguageData@0 +RestrictHTTP2@4 RevokeBindStatusCallback@8 RevokeFormatEnumerator@8 +SetAccessForIEAppContainer@12 SetSoftwareUpdateAdvertisementState@16 ShouldDisplayPunycodeForUri@4 ShouldShowIntranetWarningSecband@4 @@ -128,103 +124,11 @@ URLOpenPullStreamA@16 URLOpenPullStreamW@16 URLOpenStreamA@16 URLOpenStreamW@16 +UnregisterWebPlatformPermanentSecurityManager@0 UrlMkBuildVersion UrlMkGetSessionOption@20 UrlMkSetSessionOption@16 +UrlmonCleanupCurrentThread@0 WriteHitLogging@4 ZonesReInit@4 -ord_304@28 @304 -ord_305@12 @305 -ord_306@4 @306 -ord_307@20 @307 -ord_308@4 @308 -ord_309@4 @309 -ord_310@12 @310 -ord_311@12 @311 -ord_312@4 @312 -ord_313@8 @313 -ord_314@4 @314 -ord_315@8 @315 -ord_316@8 @316 -ord_318@8 @318 -ord_319@8 @319 -ord_320@12 @320 -ord_321@8 @321 IECompatLogCSSFix@12 -ord_323@12 @323 -ord_324 @324 -; ord_395 @395 Couldn't determine function argument count. Function doesn't return. -ord_400@8 @400 -ord_401@4 @401 -ord_403@4 @403 -ord_404 @404 -ord_406 @406 -ord_407 @407 -ord_408@8 @408 -ord_409@8 @409 -ord_410@8 @410 -ord_411@8 @411 -ord_412@8 @412 -ord_413@8 @413 -ord_414@8 @414 -ord_415@8 @415 -ord_416@12 @416 -ord_417@12 @417 -ord_420@24 @420 -ord_421@8 @421 -; ord_422 @422 Check!!! forwards to CloseHandle in KERNEL32.dll (ordinal 82) -ord_423@16 @423 -ord_430 @430 -ord_431@4 @431 -ord_432@8 @432 -ord_433@4 @433 -ord_434@12 @434 -ord_435@12 @435 -ord_436@8 @436 -ord_437@8 @437 -ord_438@24 @438 -ord_439@4 @439 -ord_440@4 @440 -ord_441@16 @441 -ord_442@8 @442 -ord_443@8 @443 -ord_444@12 @444 -ord_445@8 @445 -ord_446@4 @446 -ord_447@4 @447 -ord_448@4 @448 -ord_449@4 @449 -ord_450@4 @450 -ord_451@4 @451 -ord_452@8 @452 -ord_453@8 @453 -ord_454@8 @454 -ord_455 @455 -ord_456 @456 -ord_457@4 @457 -ord_458 @458 -ord_460@4 @460 -ord_461@8 @461 -ord_462@20 @462 -ord_463@20 @463 -ord_470@4 @470 -ord_471 @471 -ord_473@4 @473 -ord_474@16 @474 -ord_475@16 @475 -ord_476@16 @476 -ord_477@16 @477 -ord_478@32 @478 -ord_479@32 @479 -ord_480@36 @480 -ord_481@36 @481 -ord_482@12 @482 -ord_483@28 @483 -ord_484@8 @484 -ord_485@8 @485 -ord_486@8 @486 -ord_487@4 @487 -ord_488 @488 -ord_489@16 @489 -ord_490@44 @490 -ord_491@4 @491 diff --git a/lib/libc/mingw/lib64/mswsock.def b/lib/libc/mingw/lib64/mswsock.def deleted file mode 100644 index 7abab873b9..0000000000 --- a/lib/libc/mingw/lib64/mswsock.def +++ /dev/null @@ -1,40 +0,0 @@ -; -; Exports of file MSWSOCK.dll -; -; Autogenerated by gen_exportdef -; Written by Kai Tietz, 2007 -; -LIBRARY MSWSOCK.dll -EXPORTS -ServiceMain -SvchostPushServiceGlobals -AcceptEx -EnumProtocolsA -EnumProtocolsW -GetAcceptExSockaddrs -GetAddressByNameA -GetAddressByNameW -GetNameByTypeA -GetNameByTypeW -GetServiceA -GetServiceW -GetTypeByNameA -GetTypeByNameW -MigrateWinsockConfiguration -NPLoadNameSpaces -NSPStartup -SetServiceA -SetServiceW -StartWsdpService -StopWsdpService -TransmitFile -WSARecvEx -WSPStartup -dn_expand -getnetbyname -inet_network -rcmd -rexec -rresvport -s_perror -sethostname diff --git a/lib/libc/mingw/lib64/ntdll.def b/lib/libc/mingw/lib64/ntdll.def index 2b2ad36f8a..b6acbddeed 100644 --- a/lib/libc/mingw/lib64/ntdll.def +++ b/lib/libc/mingw/lib64/ntdll.def @@ -26,6 +26,8 @@ AlpcRegisterCompletionListWorkerThread AlpcRundownCompletionList AlpcUnregisterCompletionList AlpcUnregisterCompletionListWorkerThread +ApiSetQueryApiSetPresence +ApiSetQueryApiSetPresenceEx CsrAllocateCaptureBuffer CsrAllocateMessagePointer CsrCaptureMessageBuffer @@ -52,6 +54,7 @@ DbgSetDebugFilterState DbgUiConnectToDbg DbgUiContinue DbgUiConvertStateChangeStructure +DbgUiConvertStateChangeStructureEx DbgUiDebugActiveProcess DbgUiGetThreadDebugObject DbgUiIssueRemoteBreakin @@ -60,6 +63,7 @@ DbgUiSetThreadDebugObject DbgUiStopDebugging DbgUiWaitStateChange DbgUserBreakPoint +EtwCheckCoverage EtwControlTraceA EtwControlTraceW EtwCreateTraceInstanceId @@ -73,6 +77,7 @@ EtwEventActivityIdControl EtwEventEnabled EtwEventProviderEnabled EtwEventRegister +EtwEventSetInformation EtwEventUnregister EtwEventWrite EtwEventWriteEndScenario @@ -132,64 +137,90 @@ KiRaiseUserExceptionDispatcher KiUserApcDispatcher KiUserCallbackDispatcher KiUserExceptionDispatcher +KiUserInvertedFunctionTable LdrAccessOutOfProcessResource LdrAccessResource +LdrAddDllDirectory LdrAddLoadAsDataTable LdrAddRefDll LdrAlternateResourcesEnabled +LdrAppxHandleIntegrityFailure +LdrCallEnclave +LdrControlFlowGuardEnforced +LdrCreateEnclave LdrCreateOutOfProcessImage +LdrDeleteEnclave LdrDestroyOutOfProcessImage LdrDisableThreadCalloutsForDll LdrEnumResources LdrEnumerateLoadedModules +LdrFastFailInLoaderCallout LdrFindCreateProcessManifest LdrFindEntryForAddress LdrFindResourceDirectory_U LdrFindResourceEx_U LdrFindResource_U LdrFlushAlternateResourceModules +LdrGetDllDirectory +LdrGetDllFullName LdrGetDllHandle LdrGetDllHandleByMapping LdrGetDllHandleByName LdrGetDllHandleEx +LdrGetDllPath LdrGetFailureData LdrGetFileNameFromLoadAsDataTable LdrGetKnownDllSectionHandle LdrGetProcedureAddress LdrGetProcedureAddressEx +LdrGetProcedureAddressForCaller LdrHotPatchRoutine LdrInitShimEngineDynamic +LdrInitializeEnclave LdrInitializeThunk +LdrIsModuleSxsRedirected LdrLoadAlternateResourceModule LdrLoadAlternateResourceModuleEx LdrLoadDll +LdrLoadEnclaveModule LdrLockLoaderLock LdrOpenImageFileOptionsKey LdrProcessInitializationComplete LdrProcessRelocationBlock +LdrProcessRelocationBlockEx LdrQueryImageFileExecutionOptions LdrQueryImageFileExecutionOptionsEx LdrQueryImageFileKeyOption LdrQueryModuleServiceTags +LdrQueryOptionalDelayLoadedAPI LdrQueryProcessModuleInformation LdrRegisterDllNotification +LdrRemoveDllDirectory LdrRemoveLoadAsDataTable LdrResFindResource LdrResFindResourceDirectory LdrResGetRCConfig LdrResRelease LdrResSearchResource +LdrResolveDelayLoadedAPI +LdrResolveDelayLoadsFromDll LdrRscIsTypeExist LdrSetAppCompatDllRedirectionCallback +LdrSetDefaultDllDirectories +LdrSetDllDirectory LdrSetDllManifestProber +LdrSetImplicitPathOptions LdrSetMUICacheType LdrShutdownProcess LdrShutdownThread +LdrStandardizeSystemPath +LdrSystemDllInitBlock LdrUnloadAlternateResourceModule LdrUnloadAlternateResourceModuleEx LdrUnloadDll LdrUnlockLoaderLock LdrUnregisterDllNotification +LdrUpdatePackageSearchPath LdrVerifyImageMatchesChecksum LdrVerifyImageMatchesChecksumEx LdrpResGetMappingSize @@ -211,21 +242,28 @@ NtAccessCheckByTypeAndAuditAlarm NtAccessCheckByTypeResultList NtAccessCheckByTypeResultListAndAuditAlarm NtAccessCheckByTypeResultListAndAuditAlarmByHandle +NtAcquireProcessActivityReference NtAddAtom +NtAddAtomEx NtAddBootEntry NtAddDriverEntry NtAdjustGroupsToken NtAdjustPrivilegesToken +NtAdjustTokenClaimsAndDeviceGroups NtAlertResumeThread NtAlertThread +NtAlertThreadByThreadId NtAllocateLocallyUniqueId NtAllocateReserveObject NtAllocateUserPhysicalPages +NtAllocateUserPhysicalPagesEx NtAllocateUuids NtAllocateVirtualMemory +NtAllocateVirtualMemoryEx NtAlpcAcceptConnectPort NtAlpcCancelMessage NtAlpcConnectPort +NtAlpcConnectPortEx NtAlpcCreatePort NtAlpcCreatePortSection NtAlpcCreateResourceReserve @@ -236,6 +274,7 @@ NtAlpcDeleteResourceReserve NtAlpcDeleteSectionView NtAlpcDeleteSecurityContext NtAlpcDisconnectPort +NtAlpcImpersonateClientContainerOfPort NtAlpcImpersonateClientOfPort NtAlpcOpenSenderProcess NtAlpcOpenSenderThread @@ -247,58 +286,78 @@ NtAlpcSetInformation NtApphelpCacheControl NtAreMappedFilesTheSame NtAssignProcessToJobObject +NtAssociateWaitCompletionPacket +NtCallEnclave NtCallbackReturn NtCancelDeviceWakeupRequest NtCancelIoFile NtCancelIoFileEx NtCancelSynchronousIoFile NtCancelTimer +NtCancelTimer2 +NtCancelWaitCompletionPacket NtClearEvent NtClose NtCloseObjectAuditAlarm NtCommitComplete NtCommitEnlistment +NtCommitRegistryTransaction NtCommitTransaction NtCompactKeys +NtCompareObjects +NtCompareSigningLevels NtCompareTokens NtCompleteConnectPort NtCompressKey NtConnectPort NtContinue +NtConvertBetweenAuxiliaryCounterAndPerformanceCounter +NtCreateCrossVmEvent NtCreateDebugObject NtCreateDirectoryObject +NtCreateDirectoryObjectEx +NtCreateEnclave NtCreateEnlistment NtCreateEvent NtCreateEventPair NtCreateFile +NtCreateIRTimer NtCreateIoCompletion NtCreateJobObject NtCreateJobSet NtCreateKey NtCreateKeyTransacted NtCreateKeyedEvent +NtCreateLowBoxToken NtCreateMailslotFile NtCreateMutant NtCreateNamedPipeFile NtCreatePagingFile +NtCreatePartition NtCreatePort NtCreatePrivateNamespace NtCreateProcess NtCreateProcessEx NtCreateProfile NtCreateProfileEx +NtCreateRegistryTransaction NtCreateResourceManager NtCreateSection +NtCreateSectionEx NtCreateSemaphore NtCreateSymbolicLinkObject NtCreateThread NtCreateThreadEx NtCreateTimer +NtCreateTimer2 NtCreateToken +NtCreateTokenEx NtCreateTransaction NtCreateTransactionManager NtCreateUserProcess +NtCreateWaitCompletionPacket NtCreateWaitablePort +NtCreateWnfStateName NtCreateWorkerFactory NtDebugActiveProcess NtDebugContinue @@ -311,6 +370,8 @@ NtDeleteKey NtDeleteObjectAuditAlarm NtDeletePrivateNamespace NtDeleteValueKey +NtDeleteWnfStateData +NtDeleteWnfStateName NtDeviceIoControlFile NtDisableLastKnownGood NtDisplayString @@ -325,9 +386,12 @@ NtEnumerateSystemEnvironmentValuesEx NtEnumerateTransactionObject NtEnumerateValueKey NtExtendSection +NtFilterBootOption NtFilterToken +NtFilterTokenEx NtFindAtom NtFlushBuffersFile +NtFlushBuffersFileEx NtFlushInstallUILanguage NtFlushInstructionCache NtFlushKey @@ -339,8 +403,11 @@ NtFreeVirtualMemory NtFreezeRegistry NtFreezeTransactions NtFsControlFile +NtGetCachedSigningLevel +NtGetCompleteWnfStateSubscription NtGetContextThread NtGetCurrentProcessorNumber +NtGetCurrentProcessorNumberEx NtGetDevicePowerState NtGetMUIRegistryInfo NtGetNextProcess @@ -353,6 +420,7 @@ NtGetWriteWatch NtImpersonateAnonymousToken NtImpersonateClientOfPort NtImpersonateThread +NtInitializeEnclave NtInitializeNlsFiles NtInitializeRegistry NtInitiatePowerAction @@ -361,6 +429,7 @@ NtIsSystemResumeAutomatic NtIsUILanguageComitted NtListenPort NtLoadDriver +NtLoadEnclaveData NtLoadKey NtLoadKey2 NtLoadKeyEx @@ -370,13 +439,17 @@ NtLockRegistryKey NtLockVirtualMemory NtMakePermanentObject NtMakeTemporaryObject +NtManageHotPatch +NtManagePartition NtMapCMFModule NtMapUserPhysicalPages NtMapUserPhysicalPagesScatter NtMapViewOfSection +NtMapViewOfSectionEx NtModifyBootEntry NtModifyDriverEntry NtNotifyChangeDirectoryFile +NtNotifyChangeDirectoryFileEx NtNotifyChangeKey NtNotifyChangeMultipleKeys NtNotifyChangeSession @@ -394,10 +467,12 @@ NtOpenKeyTransactedEx NtOpenKeyedEvent NtOpenMutant NtOpenObjectAuditAlarm +NtOpenPartition NtOpenPrivateNamespace NtOpenProcess NtOpenProcessToken NtOpenProcessTokenEx +NtOpenRegistryTransaction NtOpenResourceManager NtOpenSection NtOpenSemaphore @@ -421,20 +496,24 @@ NtPrivilegedServiceAuditAlarm NtPropagationComplete NtPropagationFailed NtProtectVirtualMemory +NtPssCaptureVaSpaceBulk NtPulseEvent NtQueryAttributesFile +NtQueryAuxiliaryCounterFrequency NtQueryBootEntryOrder NtQueryBootOptions NtQueryDebugFilterState NtQueryDefaultLocale NtQueryDefaultUILanguage NtQueryDirectoryFile +NtQueryDirectoryFileEx NtQueryDirectoryObject NtQueryDriverEntryOrder NtQueryEaFile NtQueryEvent NtQueryFullAttributesFile NtQueryInformationAtom +NtQueryInformationByName NtQueryInformationEnlistment NtQueryInformationFile NtQueryInformationJobObject @@ -462,6 +541,7 @@ NtQueryQuotaInformationFile NtQuerySection NtQuerySecurityAttributesToken NtQuerySecurityObject +NtQuerySecurityPolicy NtQuerySemaphore NtQuerySymbolicLinkObject NtQuerySystemEnvironmentValue @@ -474,6 +554,8 @@ NtQueryTimerResolution NtQueryValueKey NtQueryVirtualMemory NtQueryVolumeInformationFile +NtQueryWnfStateData +NtQueryWnfStateNameInformation NtQueueApcThread NtQueueApcThreadEx NtRaiseException @@ -512,8 +594,10 @@ NtResetWriteWatch NtRestoreKey NtResumeProcess NtResumeThread +NtRevertContainerImpersonation NtRollbackComplete NtRollbackEnlistment +NtRollbackRegistryTransaction NtRollbackTransaction NtRollforwardTransactionManager NtSaveKey @@ -523,6 +607,8 @@ NtSecureConnectPort NtSerializeBoot NtSetBootEntryOrder NtSetBootOptions +NtSetCachedSigningLevel +NtSetCachedSigningLevel2 NtSetContextThread NtSetDebugFilterState NtSetDefaultHardErrorPort @@ -534,6 +620,7 @@ NtSetEvent NtSetEventBoostPriority NtSetHighEventPair NtSetHighWaitLowEventPair +NtSetIRTimer NtSetInformationDebugObject NtSetInformationEnlistment NtSetInformationFile @@ -542,10 +629,12 @@ NtSetInformationKey NtSetInformationObject NtSetInformationProcess NtSetInformationResourceManager +NtSetInformationSymbolicLink NtSetInformationThread NtSetInformationToken NtSetInformationTransaction NtSetInformationTransactionManager +NtSetInformationVirtualMemory NtSetInformationWorkerFactory NtSetIntervalProfile NtSetIoCompletion @@ -562,20 +651,24 @@ NtSetSystemPowerState NtSetSystemTime NtSetThreadExecutionState NtSetTimer +NtSetTimer2 NtSetTimerEx NtSetTimerResolution NtSetUuidSeed NtSetValueKey NtSetVolumeInformationFile +NtSetWnfProcessNotificationEvent NtShutdownSystem NtShutdownWorkerFactory NtSignalAndWaitForSingleObject NtSinglePhaseReject NtStartProfile NtStopProfile +NtSubscribeWnfStateChange NtSuspendProcess NtSuspendThread NtSystemDebugControl +NtTerminateEnclave NtTerminateJobObject NtTerminateProcess NtTerminateThread @@ -593,7 +686,11 @@ NtUnloadKeyEx NtUnlockFile NtUnlockVirtualMemory NtUnmapViewOfSection +NtUnmapViewOfSectionEx +NtUnsubscribeWnfStateChange +NtUpdateWnfStateData NtVdmControl +NtWaitForAlertByThreadId NtWaitForDebugEvent NtWaitForKeyedEvent NtWaitForMultipleObjects @@ -616,6 +713,14 @@ PfxFindPrefix PfxInitialize PfxInsertPrefix PfxRemovePrefix +PssNtCaptureSnapshot +PssNtDuplicateSnapshot +PssNtFreeRemoteSnapshot +PssNtFreeSnapshot +PssNtFreeWalkMarker +PssNtQuerySnapshot +PssNtValidateDescriptor +PssNtWalkSnapshot RtlAbortRXact RtlAbsoluteToSelfRelativeSD RtlAcquirePebLock @@ -634,6 +739,7 @@ RtlAddAccessAllowedObjectAce RtlAddAccessDeniedAce RtlAddAccessDeniedAceEx RtlAddAccessDeniedObjectAce +RtlAddAccessFilterAce RtlAddAce RtlAddActionToRXact RtlAddAtomToAtomTable @@ -643,21 +749,27 @@ RtlAddAuditAccessAceEx RtlAddAuditAccessObjectAce RtlAddCompoundAce RtlAddFunctionTable +RtlAddGrowableFunctionTable RtlAddIntegrityLabelToBoundaryDescriptor RtlAddMandatoryAce +RtlAddProcessTrustLabelAce RtlAddRefActivationContext RtlAddRefMemoryStream +RtlAddResourceAttributeAce RtlAddSIDToBoundaryDescriptor +RtlAddScopedPolicyIDAce RtlAddVectoredContinueHandler RtlAddVectoredExceptionHandler RtlAddressInSectionTable RtlAdjustPrivilege RtlAllocateActivationContextStack RtlAllocateAndInitializeSid +RtlAllocateAndInitializeSidEx RtlAllocateHandle RtlAllocateHeap RtlAllocateMemoryBlockLookaside RtlAllocateMemoryZone +RtlAllocateWnfSerializationGroup RtlAnsiCharToUnicodeChar RtlAnsiStringToUnicodeSize RtlAnsiStringToUnicodeString @@ -669,23 +781,44 @@ RtlAppendUnicodeToString RtlApplicationVerifierStop RtlApplyRXact RtlApplyRXactNoFlush +RtlAppxIsFileOwnedByTrustedInstaller RtlAreAllAccessesGranted RtlAreAnyAccessesGranted RtlAreBitsClear +RtlAreBitsClearEx RtlAreBitsSet +RtlAreLongPathsEnabled RtlAssert +RtlAvlInsertNodeEx +RtlAvlRemoveNode RtlBarrier RtlBarrierForDelete +RtlCallEnclaveReturn RtlCancelTimer +RtlCanonicalizeDomainName +RtlCapabilityCheck +RtlCapabilityCheckForSingleSessionSku RtlCaptureContext RtlCaptureStackBackTrace RtlCharToInteger +RtlCheckBootStatusIntegrity RtlCheckForOrphanedCriticalSections +RtlCheckPortableOperatingSystem RtlCheckProcessParameters RtlCheckRegistryKey +RtlCheckSandboxedToken +RtlCheckSystemBootStatusIntegrity +RtlCheckTokenCapability +RtlCheckTokenMembership +RtlCheckTokenMembershipEx RtlCleanUpTEBLangLists RtlClearAllBits +RtlClearAllBitsEx +RtlClearBit +RtlClearBitEx RtlClearBits +RtlClearBitsEx +RtlClearThreadWorkOnBehalfTicket RtlCloneMemoryStream RtlCloneUserProcess RtlCmDecodeMemIoResource @@ -706,13 +839,18 @@ RtlComputeImportTableHash RtlComputePrivatizedDllName_U RtlConnectToSm RtlConsoleMultiByteToUnicodeN +RtlConstructCrossVmEventPath RtlContractHashTable +RtlConvertDeviceFamilyInfoToString RtlConvertExclusiveToShared RtlConvertLCIDToString +RtlConvertSRWLockExclusiveToShared RtlConvertSharedToExclusive RtlConvertSidToUnicodeString RtlConvertToAutoInheritSecurityObject RtlConvertUiListToApiList +RtlCopyBitMap +RtlCopyContext RtlCopyExtendedContext RtlCopyLuid RtlCopyLuidAndAttributesArray @@ -726,6 +864,8 @@ RtlCopySid RtlCopySidAndAttributesArray RtlCopyString RtlCopyUnicodeString +RtlCrc32 +RtlCrc64 RtlCreateAcl RtlCreateActivationContext RtlCreateAndSetSD @@ -735,11 +875,13 @@ RtlCreateBoundaryDescriptor RtlCreateEnvironment RtlCreateEnvironmentEx RtlCreateHashTable +RtlCreateHashTableEx RtlCreateHeap RtlCreateMemoryBlockLookaside RtlCreateMemoryZone RtlCreateProcessParameters RtlCreateProcessParametersEx +RtlCreateProcessParametersWithTemplate RtlCreateProcessReflection RtlCreateQueryDebugBuffer RtlCreateRegistryKey @@ -754,7 +896,9 @@ RtlCreateUmsThread RtlCreateUmsThreadContext RtlCreateUnicodeString RtlCreateUnicodeStringFromAsciiz +RtlCreateUserFiberShadowStack RtlCreateUserProcess +RtlCreateUserProcessEx RtlCreateUserSecurityObject RtlCreateUserStack RtlCreateUserThread @@ -768,8 +912,10 @@ RtlDeactivateActivationContext RtlDeactivateActivationContextUnsafeFast RtlDebugPrintTimes RtlDecodePointer +RtlDecodeRemotePointer RtlDecodeSystemPointer RtlDecompressBuffer +RtlDecompressBufferEx RtlDecompressFragment RtlDefaultNpAcl RtlDelete @@ -780,7 +926,9 @@ RtlDeleteBoundaryDescriptor RtlDeleteCriticalSection RtlDeleteElementGenericTable RtlDeleteElementGenericTableAvl +RtlDeleteElementGenericTableAvlEx RtlDeleteFunctionTable +RtlDeleteGrowableFunctionTable RtlDeleteHashTable RtlDeleteNoSplay RtlDeleteRegistryValue @@ -795,6 +943,7 @@ RtlDequeueUmsCompletionListItems RtlDeregisterSecureMemoryCacheCallback RtlDeregisterWait RtlDeregisterWaitEx +RtlDeriveCapabilitySidsFromName RtlDestroyAtomTable RtlDestroyEnvironment RtlDestroyHandleTable @@ -809,7 +958,10 @@ RtlDisableThreadProfiling RtlDllShutdownInProgress RtlDnsHostNameToComputerName RtlDoesFileExists_U +RtlDoesNameContainWildCards RtlDosApplyFileIsolationRedirection_Ustr +RtlDosLongPathNameToNtPathName_U_WithStatus +RtlDosLongPathNameToRelativeNtPathName_U_WithStatus RtlDosPathNameToNtPathName_U RtlDosPathNameToNtPathName_U_WithStatus RtlDosPathNameToRelativeNtPathName_U @@ -818,14 +970,19 @@ RtlDosSearchPath_U RtlDosSearchPath_Ustr RtlDowncaseUnicodeChar RtlDowncaseUnicodeString +RtlDrainNonVolatileFlush RtlDumpResource RtlDuplicateUnicodeString RtlEmptyAtomTable RtlEnableEarlyCriticalSectionEventCreation RtlEnableThreadProfiling +RtlEnclaveCallDispatch +RtlEnclaveCallDispatchReturn RtlEncodePointer +RtlEncodeRemotePointer RtlEncodeSystemPointer RtlEndEnumerationHashTable +RtlEndStrongEnumerationHashTable RtlEndWeakEnumerationHashTable RtlEnterCriticalSection RtlEnterUmsSchedulingMode @@ -843,6 +1000,7 @@ RtlEqualPrefixSid RtlEqualSid RtlEqualString RtlEqualUnicodeString +RtlEqualWnfChangeStamps RtlEraseUnicodeString RtlEthernetAddressToStringA RtlEthernetAddressToStringW @@ -855,9 +1013,13 @@ RtlExpandEnvironmentStrings RtlExpandEnvironmentStrings_U RtlExtendHeap RtlExpandHashTable +RtlExtendCorrelationVector RtlExtendMemoryBlockLookaside RtlExtendMemoryZone +RtlExtractBitMap RtlFillMemory +RtlFillMemoryNonTemporal +RtlFillNonVolatileMemory RtlFinalReleaseOutOfProcessMemoryStream RtlFindAceByType RtlFindActivationContextSectionGuid @@ -865,8 +1027,10 @@ RtlFindActivationContextSectionString RtlFindCharInUnicodeString RtlFindClearBits RtlFindClearBitsAndSet +RtlFindClearBitsEx RtlFindClearRuns RtlFindClosestEncodableLength +RtlFindExportedRoutineByName RtlFindLastBackwardRunClear RtlFindLeastSignificantBit RtlFindLongestRunClear @@ -875,10 +1039,18 @@ RtlFindMostSignificantBit RtlFindNextForwardRunClear RtlFindSetBits RtlFindSetBitsAndClear +RtlFindSetBitsAndClearEx +RtlFindSetBitsEx +RtlFindUnicodeSubstring RtlFirstEntrySList RtlFirstFreeAce RtlFlsAlloc RtlFlsFree +RtlFlsGetValue +RtlFlsSetValue +RtlFlushHeaps +RtlFlushNonVolatileMemory +RtlFlushNonVolatileMemoryRanges RtlFlushSecureMemoryCache RtlFormatCurrentUserKeyPath RtlFormatMessage @@ -888,31 +1060,43 @@ RtlFreeAnsiString RtlFreeHandle RtlFreeHeap RtlFreeMemoryBlockLookaside +RtlFreeNonVolatileToken RtlFreeOemString RtlFreeSid RtlFreeThreadActivationContextStack +RtlFreeUTF8String RtlFreeUnicodeString +RtlFreeUserFiberShadowStack RtlFreeUserThreadStack RtlFreeUserStack RtlGUIDFromString RtlGenerate8dot3Name RtlGetAce RtlGetActiveActivationContext +RtlGetActiveConsoleId +RtlGetAppContainerNamedObjectPath +RtlGetAppContainerParent +RtlGetAppContainerSidType RtlGetCallersAddress RtlGetCompressionWorkSpaceSize +RtlGetConsoleSessionForegroundProcessId RtlGetControlSecurityDescriptor RtlGetCriticalSectionRecursionCount RtlGetCurrentDirectory_U RtlGetCurrentPeb RtlGetCurrentProcessorNumber RtlGetCurrentProcessorNumberEx +RtlGetCurrentServiceSessionId RtlGetCurrentTransaction RtlGetCurrentUmsThread RtlGetDaclSecurityDescriptor +RtlGetDeviceFamilyInfoEnum RtlGetElementGenericTable RtlGetElementGenericTableAvl RtlGetEnabledExtendedFeatures +RtlGetExePath RtlGetExtendedContextLength +RtlGetExtendedContextLength2 RtlGetExtendedFeaturesMask RtlGetFileMUIPath RtlGetFrame @@ -922,30 +1106,43 @@ RtlGetFullPathName_UstrEx RtlGetFunctionTableListHead RtlGetGroupSecurityDescriptor RtlGetIntegerAtom +RtlGetInterruptTimePrecise RtlGetLastNtStatus RtlGetLastWin32Error RtlGetLengthWithoutLastFullDosOrNtPathElement RtlGetLengthWithoutTrailingPathSeperators RtlGetLocaleFileMappingAddress RtlGetLongestNtPathLength +RtlGetMultiTimePrecise RtlGetNativeSystemInformation RtlGetNextEntryHashTable RtlGetNextUmsListItem +RtlGetNonVolatileToken RtlGetNtGlobalFlags RtlGetNtProductType +RtlGetNtSystemRoot RtlGetNtVersionNumbers RtlGetOwnerSecurityDescriptor RtlGetParentLocaleName +RtlGetPersistedStateLocation RtlGetProcessHeaps RtlGetProcessPreferredUILanguages RtlGetProductInfo RtlGetSaclSecurityDescriptor +RtlGetSearchPath RtlGetSecurityDescriptorRMControl +RtlGetSessionProperties RtlGetSetBootStatusData +RtlGetSuiteMask +RtlGetSystemBootStatus +RtlGetSystemBootStatusEx RtlGetSystemPreferredUILanguages +RtlGetSystemTimePrecise RtlGetThreadErrorMode RtlGetThreadLangIdByIndex RtlGetThreadPreferredUILanguages +RtlGetThreadWorkOnBehalfTicket +RtlGetTokenNamedObjectPath RtlGetUILanguageInfo RtlGetUmsCompletionListEvent RtlGetUnloadEventTrace @@ -953,6 +1150,8 @@ RtlGetUnloadEventTraceEx RtlGetUserInfoHeap RtlGetUserPreferredUILanguages RtlGetVersion +RtlGrowFunctionTable +RtlGuardCheckLongJumpTarget RtlHashUnicodeString RtlHeapTrkInitialize RtlIdentifierAuthoritySid @@ -966,6 +1165,7 @@ RtlImageRvaToSection RtlImageRvaToVa RtlImpersonateSelf RtlImpersonateSelfEx +RtlIncrementCorrelationVector RtlInitAnsiString RtlInitAnsiStringEx RtlInitBarrier @@ -975,17 +1175,24 @@ RtlInitMemoryStream RtlInitNlsTables RtlInitOutOfProcessMemoryStream RtlInitString +RtlInitStringEx +RtlInitStrongEnumerationHashTable +RtlInitUTF8String +RtlInitUTF8StringEx RtlInitUnicodeString RtlInitUnicodeStringEx RtlInitWeakEnumerationHashTable RtlInitializeAtomPackage RtlInitializeBitMap +RtlInitializeBitMapEx RtlInitializeConditionVariable RtlInitializeContext +RtlInitializeCorrelationVector RtlInitializeCriticalSection RtlInitializeCriticalSectionAndSpinCount RtlInitializeCriticalSectionEx RtlInitializeExtendedContext +RtlInitializeExtendedContext2 RtlInitializeGenericTable RtlInitializeGenericTableAvl RtlInitializeHandleTable @@ -995,6 +1202,7 @@ RtlInitializeResource RtlInitializeSListHead RtlInitializeSRWLock RtlInitializeSid +RtlInitializeSidEx RtlInsertElementGenericTable RtlInsertElementGenericTableAvl RtlInsertElementGenericTableFull @@ -1009,6 +1217,7 @@ RtlInterlockedFlushSList RtlInterlockedPopEntrySList RtlInterlockedPushEntrySList RtlInterlockedPushListSList +RtlInterlockedPushListSListEx RtlInterlockedSetBitRun RtlIoDecodeMemIoResource RtlIoEncodeMemIoResource @@ -1029,20 +1238,39 @@ RtlIpv6StringToAddressExA RtlIpv6StringToAddressExW RtlIpv6StringToAddressW RtlIsActivationContextActive +RtlIsCapabilitySid +RtlIsCloudFilesPlaceholder RtlIsCriticalSectionLocked RtlIsCriticalSectionLockedByThread +RtlIsCurrentProcess +RtlIsCurrentThread RtlIsCurrentThreadAttachExempt RtlIsDosDeviceName_U +RtlIsElevatedRid RtlIsGenericTableEmpty RtlIsGenericTableEmptyAvl +RtlIsMultiSessionSku +RtlIsMultiUsersInSessionSku RtlIsNameInExpression +RtlIsNameInUnUpcasedExpression RtlIsNameLegalDOS8Dot3 +RtlIsNonEmptyDirectoryReparsePointAllowed RtlIsNormalizedString +RtlIsPackageSid +RtlIsParentOfChildAppContainer +RtlIsPartialPlaceholder +RtlIsPartialPlaceholderFileHandle +RtlIsPartialPlaceholderFileInfo +RtlIsProcessorFeaturePresent +RtlIsStateSeparationEnabled RtlIsTextUnicode RtlIsThreadWithinLoaderCallout +RtlIsUntrustedObject RtlIsValidHandle RtlIsValidIndexHandle RtlIsValidLocaleName +RtlIsValidProcessTrustLabelSid +RtlIsZeroMemory RtlKnownExceptionFilter RtlLCIDToCultureName RtlLargeIntegerToChar @@ -1051,10 +1279,12 @@ RtlLeaveCriticalSection RtlLengthRequiredSid RtlLengthSecurityDescriptor RtlLengthSid +RtlLengthSidAsUnicodeString RtlLoadString RtlLocalTimeToSystemTime RtlLocaleNameToLcid RtlLocateExtendedFeature +RtlLocateExtendedFeature2 RtlLocateLegacyContext RtlLockBootStatusData RtlLockCurrentThread @@ -1070,6 +1300,7 @@ RtlLookupElementGenericTableAvl RtlLookupElementGenericTableFull RtlLookupElementGenericTableFullAvl RtlLookupEntryHashTable +RtlLookupFirstMatchingElementGenericTableAvl RtlLookupFunctionEntry RtlLookupFunctionTable RtlMakeSelfRelativeSD @@ -1087,6 +1318,7 @@ RtlNewSecurityObject RtlNewSecurityObjectEx RtlNewSecurityObjectWithMultipleInheritance RtlNormalizeProcessParams +RtlNormalizeSecurityDescriptor RtlNormalizeString RtlNtPathNameToDosPathName RtlNtStatusToDosError @@ -1095,12 +1327,17 @@ RtlNtdllName DATA RtlNumberGenericTableElements RtlNumberGenericTableElementsAvl RtlNumberOfClearBits +RtlNumberOfClearBitsEx +RtlNumberOfClearBitsInRange RtlNumberOfSetBits +RtlNumberOfSetBitsEx +RtlNumberOfSetBitsInRange RtlNumberOfSetBitsUlongPtr RtlOemStringToUnicodeSize RtlOemStringToUnicodeString RtlOemToUnicodeN RtlOpenCurrentUser +RtlOsDeploymentState RtlOwnerAcesPresent RtlPcToFileHeader RtlPinAtomInAtomTable @@ -1110,6 +1347,7 @@ RtlPrefixUnicodeString RtlPrepareForProcessCloning RtlProcessFlsData RtlProtectHeap +RtlPublishWnfStateData RtlPushFrame RtlQueryActivationContextApplicationSettings RtlQueryAtomInAtomTable @@ -1120,40 +1358,61 @@ RtlQueryElevationFlags RtlQueryEnvironmentVariable RtlQueryEnvironmentVariable_U RtlQueryHeapInformation +RtlQueryImageMitigationPolicy RtlQueryInformationAcl RtlQueryInformationActivationContext RtlQueryInformationActiveActivationContext RtlQueryInterfaceMemoryStream RtlQueryModuleInformation +RtlQueryPackageClaims +RtlQueryPackageIdentity +RtlQueryPackageIdentityEx RtlQueryPerformanceCounter RtlQueryPerformanceFrequency RtlQueryProcessBackTraceInformation RtlQueryProcessDebugInformation RtlQueryProcessHeapInformation RtlQueryProcessLockInformation +RtlQueryProcessPlaceholderCompatibilityMode +RtlQueryProtectedPolicy +RtlQueryRegistryValueWithFallback RtlQueryRegistryValues +RtlQueryRegistryValuesEx +RtlQueryResourcePolicy RtlQuerySecurityObject RtlQueryTagHeap +RtlQueryThreadPlaceholderCompatibilityMode RtlQueryThreadProfiling RtlQueryTimeZoneInformation +RtlQueryTokenHostIdAsUlong64 RtlQueryUmsThreadInformation +RtlQueryUnbiasedInterruptTime +RtlQueryValidationRunlevel +RtlQueryWnfMetaNotification +RtlQueryWnfStateData +RtlQueryWnfStateDataWithExplicitScope RtlQueueApcWow64Thread RtlQueueWorkItem +RtlRaiseCustomSystemEventTrigger RtlRaiseException RtlRaiseStatus RtlRandom RtlRandomEx +RtlRbInsertNodeEx +RtlRbRemoveNode RtlReAllocateHeap RtlReadMemoryStream RtlReadOutOfProcessMemoryStream RtlReadThreadProfilingData RtlRealPredecessor RtlRealSuccessor +RtlRegisterForWnfMetaNotification RtlRegisterSecureMemoryCacheCallback RtlRegisterThreadWithCsrss RtlRegisterWait RtlReleaseActivationContext RtlReleaseMemoryStream +RtlReleasePath RtlReleasePebLock RtlReleasePrivilege RtlReleaseRelativeName @@ -1166,14 +1425,20 @@ RtlRemovePrivileges RtlRemoveVectoredContinueHandler RtlRemoveVectoredExceptionHandler RtlReplaceSidInSd +RtlReplaceSystemDirectoryInPath RtlReportException +RtlReportExceptionEx RtlReportSilentProcessExit RtlReportSqmEscalation RtlResetMemoryBlockLookaside RtlResetMemoryZone +RtlResetNtUserPfn RtlResetRtlTranslations +RtlRestoreBootStatusDefaults RtlRestoreContext RtlRestoreLastWin32Error +RtlRestoreSystemBootStatusDefaults +RtlRestoreThreadPreferredUILanguages RtlRetrieveNtUserPfn RtlRevertMemoryStream RtlRunDecodeUnicodeString @@ -1189,8 +1454,12 @@ RtlSelfRelativeToAbsoluteSD RtlSelfRelativeToAbsoluteSD2 RtlSendMsgToSm RtlSetAllBits +RtlSetAllBitsEx RtlSetAttributesSecurityDescriptor +RtlSetBit +RtlSetBitEx RtlSetBits +RtlSetBitsEx RtlSetControlSecurityDescriptor RtlSetCriticalSectionSpinCount RtlSetCurrentDirectory_U @@ -1204,23 +1473,35 @@ RtlSetEnvironmentVariable RtlSetExtendedFeaturesMask RtlSetGroupSecurityDescriptor RtlSetHeapInformation +RtlSetImageMitigationPolicy RtlSetInformationAcl RtlSetIoCompletionCallback RtlSetLastWin32Error RtlSetLastWin32ErrorAndNtStatusFromNtStatus RtlSetMemoryStreamSize RtlSetOwnerSecurityDescriptor +RtlSetPortableOperatingSystem RtlSetProcessDebugInformation RtlSetProcessIsCritical +RtlSetProcessPlaceholderCompatibilityMode RtlSetProcessPreferredUILanguages +RtlSetProtectedPolicy +RtlSetProxiedProcessId RtlSetSaclSecurityDescriptor +RtlSetSearchPathMode RtlSetSecurityDescriptorRMControl RtlSetSecurityObject RtlSetSecurityObjectEx +RtlSetSystemBootStatus +RtlSetSystemBootStatusEx RtlSetThreadErrorMode RtlSetThreadIsCritical +RtlSetThreadPlaceholderCompatibilityMode RtlSetThreadPoolStartFunc RtlSetThreadPreferredUILanguages +RtlSetThreadPreferredUILanguages2 +RtlSetThreadSubProcessTag +RtlSetThreadWorkOnBehalfTicket RtlSetTimeZoneInformation RtlSetTimer RtlSetUmsThreadInformation @@ -1229,6 +1510,7 @@ RtlSetUnicodeCallouts RtlSetUserFlagsHeap RtlSetUserValueHeap RtlSidDominates +RtlSidDominatesForTrust RtlSidEqualLevel RtlSidHashInitialize RtlSidHashLookup @@ -1240,12 +1522,19 @@ RtlSplay RtlStartRXact RtlStatMemoryStream RtlStringFromGUID +RtlStringFromGUIDEx +RtlStronglyEnumerateEntryHashTable RtlSubAuthorityCountSid RtlSubAuthoritySid +RtlSubscribeWnfStateChangeNotification RtlSubtreePredecessor RtlSubtreeSuccessor +RtlSwitchedVVI RtlSystemTimeToLocalTime +RtlTestAndPublishWnfStateData RtlTestBit +RtlTestBitEx +RtlTestProtectedAccess RtlTimeFieldsToTime RtlTimeToElapsedTimeFields RtlTimeToSecondsSince1970 @@ -1262,8 +1551,11 @@ RtlTraceDatabaseValidate RtlTryAcquirePebLock RtlTryAcquireSRWLockExclusive RtlTryAcquireSRWLockShared +RtlTryConvertSRWLockSharedToExclusiveOrRelease RtlTryEnterCriticalSection +RtlUTF8StringToUnicodeString RtlUTF8ToUnicodeN +RtlUdiv128 RtlUmsThreadYield RtlUnhandledExceptionFilter RtlUnhandledExceptionFilter2 @@ -1273,6 +1565,7 @@ RtlUnicodeStringToCountedOemString RtlUnicodeStringToInteger RtlUnicodeStringToOemSize RtlUnicodeStringToOemString +RtlUnicodeStringToUTF8String RtlUnicodeToCustomCPN RtlUnicodeToMultiByteN RtlUnicodeToMultiByteSize @@ -1286,6 +1579,9 @@ RtlUnlockMemoryBlockLookaside RtlUnlockMemoryStreamRegion RtlUnlockMemoryZone RtlUnlockModuleSection +RtlUnsubscribeWnfNotificationWaitForCompletion +RtlUnsubscribeWnfNotificationWithCompletionCallback +RtlUnsubscribeWnfStateChangeNotification RtlUnwind RtlUnwindEx RtlUpcaseUnicodeChar @@ -1302,31 +1598,56 @@ RtlUpdateTimer RtlUpperChar RtlUpperString RtlUsageHeap +RtlUserFiberStart RtlUserThreadStart RtlValidAcl +RtlValidProcessProtection RtlValidRelativeSecurityDescriptor RtlValidSecurityDescriptor RtlValidSid +RtlValidateCorrelationVector RtlValidateHeap RtlValidateProcessHeaps RtlValidateUnicodeString RtlVerifyVersionInfo RtlVirtualUnwind +RtlWaitForWnfMetaNotification +RtlWaitOnAddress +RtlWakeAddressAll +RtlWakeAddressAllNoFence +RtlWakeAddressSingle +RtlWakeAddressSingleNoFence RtlWakeAllConditionVariable RtlWakeConditionVariable RtlWalkFrameChain RtlWalkHeap RtlWeaklyEnumerateEntryHashTable RtlWerpReportException +RtlWnfCompareChangeStamp +RtlWnfDllUnloadCallback RtlWow64CallFunction64 RtlWow64EnableFsRedirection RtlWow64EnableFsRedirectionEx +RtlWow64GetCpuAreaInfo +RtlWow64GetCurrentCpuArea +RtlWow64GetCurrentMachine +RtlWow64GetEquivalentMachineCHPE +RtlWow64GetProcessMachines +RtlWow64GetSharedInfoProcess RtlWow64GetThreadContext RtlWow64GetThreadSelectorEntry +RtlWow64IsWowGuestMachineSupported RtlWow64LogMessageInEventLogger +RtlWow64PopAllCrossProcessWorkFromWorkList +RtlWow64PopCrossProcessWorkFromFreeList +RtlWow64PushCrossProcessWorkOntoFreeList +RtlWow64PushCrossProcessWorkOntoWorkList +RtlWow64RequestCrossProcessHeavyFlush RtlWow64SetThreadContext +RtlWow64SuspendProcess RtlWow64SuspendThread RtlWriteMemoryStream +RtlWriteNonVolatileMemory RtlWriteRegistryValue RtlZeroHeap RtlZeroMemory @@ -1334,11 +1655,15 @@ RtlZombifyActivationContext RtlpApplyLengthFunction RtlpCheckDynamicTimeZoneInformation RtlpCleanupRegistryKeys +RtlpConvertAbsoluteToRelativeSecurityAttribute RtlpConvertCultureNamesToLCIDs RtlpConvertLCIDsToCultureNames +RtlpConvertRelativeToAbsoluteSecurityAttribute RtlpCreateProcessRegistryInfo RtlpEnsureBufferSize RtlpExecuteUmsThread +RtlpFreezeTimeBias +RtlpGetDeviceFamilyInfoEnum RtlpGetLCIDFromLangInfoNode RtlpGetNameFromLangInfoNode RtlpGetSystemDefaultUILanguage @@ -1347,6 +1672,7 @@ RtlpInitializeLangRegistryInfo RtlpIsQualifiedLanguage RtlpLoadMachineUIByPolicy RtlpLoadUserUIByPolicy +RtlpMergeSecurityAttributeInformation RtlpMuiFreeLangRegistryInfo RtlpMuiRegCreateRegistryInfo RtlpMuiRegFreeRegistryInfo @@ -1360,15 +1686,21 @@ RtlpNtQueryValueKey RtlpNtSetValueKey RtlpQueryDefaultUILanguage RtlpQueryProcessDebugInformationFromWow64 +RtlpQueryProcessDebugInformationRemote RtlpRefreshCachedUILanguage RtlpSetInstallLanguage RtlpSetPreferredUILanguages RtlpSetUserPreferredUILanguages +RtlpTimeFieldsToTime +RtlpTimeToTimeFields RtlpUmsExecuteYieldThreadEnd RtlpUmsThreadYield RtlpUnWaitCriticalSection RtlpVerifyAndCommitUILanguageSettings RtlpWaitForCriticalSection +RtlpWow64CtxFromAmd64 +RtlpWow64GetContextOnAmd64 +RtlpWow64SetContextOnAmd64 RtlxAnsiStringToUnicodeSize RtlxOemStringToUnicodeSize RtlxUnicodeStringToAnsiSize @@ -1383,17 +1715,21 @@ TpAllocAlpcCompletion TpAllocAlpcCompletionEx TpAllocCleanupGroup TpAllocIoCompletion +TpAllocJobNotification TpAllocPool TpAllocTimer TpAllocWait TpAllocWork TpAlpcRegisterCompletionList TpAlpcUnregisterCompletionList +TpCallbackDetectedUnrecoverableError TpCallbackIndependent TpCallbackLeaveCriticalSectionOnCompletion TpCallbackMayRunLong TpCallbackReleaseMutexOnCompletion TpCallbackReleaseSemaphoreOnCompletion +TpCallbackSendAlpcMessageOnCompletion +TpCallbackSendPendingAlpcMessage TpCallbackSetEventOnCompletion TpCallbackUnloadDllOnCompletion TpCancelAsyncIoOperation @@ -1412,6 +1748,7 @@ TpReleaseAlpcCompletion TpReleaseCleanupGroup TpReleaseCleanupGroupMembers TpReleaseIoCompletion +TpReleaseJobNotification TpReleasePool TpReleaseTimer TpReleaseWait @@ -1419,18 +1756,28 @@ TpReleaseWork TpSetDefaultPoolMaxThreads TpSetDefaultPoolStackInformation TpSetPoolMaxThreads +TpSetPoolMaxThreadsSoftLimit TpSetPoolMinThreads TpSetPoolStackInformation +TpSetPoolThreadBasePriority +TpSetPoolThreadCpuSets +TpSetPoolWorkerThreadIdleTimeout TpSetTimer +TpSetTimerEx TpSetWait +TpSetWaitEx TpSimpleTryPost TpStartAsyncIoOperation +TpTimerOutstandingCallbackCount +TpTrimPools TpWaitForAlpcCompletion TpWaitForIoCompletion +TpWaitForJobNotification TpWaitForTimer TpWaitForWait TpWaitForWork VerSetConditionMask +WerReportExceptionWorker WerReportSQMEvent WinSqmAddToAverageDWORD WinSqmAddToStream @@ -1452,6 +1799,7 @@ WinSqmGetInstrumentationProperty WinSqmIncrementDWORD WinSqmIsOptedIn WinSqmIsOptedInEx +WinSqmIsSessionDisabled WinSqmSetDWORD WinSqmSetDWORD64 WinSqmSetEscalationInfo @@ -1459,6 +1807,8 @@ WinSqmSetIfMaxDWORD WinSqmSetIfMinDWORD WinSqmSetString WinSqmStartSession +WinSqmStartSessionForPartner +WinSqmStartSqmOptinListener ZwAcceptConnectPort ZwAccessCheck ZwAccessCheckAndAuditAlarm @@ -1467,21 +1817,28 @@ ZwAccessCheckByTypeAndAuditAlarm ZwAccessCheckByTypeResultList ZwAccessCheckByTypeResultListAndAuditAlarm ZwAccessCheckByTypeResultListAndAuditAlarmByHandle +ZwAcquireProcessActivityReference ZwAddAtom +ZwAddAtomEx ZwAddBootEntry ZwAddDriverEntry ZwAdjustGroupsToken ZwAdjustPrivilegesToken +ZwAdjustTokenClaimsAndDeviceGroups ZwAlertResumeThread ZwAlertThread +ZwAlertThreadByThreadId ZwAllocateLocallyUniqueId ZwAllocateReserveObject ZwAllocateUserPhysicalPages +ZwAllocateUserPhysicalPagesEx ZwAllocateUuids ZwAllocateVirtualMemory +ZwAllocateVirtualMemoryEx ZwAlpcAcceptConnectPort ZwAlpcCancelMessage ZwAlpcConnectPort +ZwAlpcConnectPortEx ZwAlpcCreatePort ZwAlpcCreatePortSection ZwAlpcCreateResourceReserve @@ -1492,6 +1849,7 @@ ZwAlpcDeleteResourceReserve ZwAlpcDeleteSectionView ZwAlpcDeleteSecurityContext ZwAlpcDisconnectPort +ZwAlpcImpersonateClientContainerOfPort ZwAlpcImpersonateClientOfPort ZwAlpcOpenSenderProcess ZwAlpcOpenSenderThread @@ -1503,58 +1861,78 @@ ZwAlpcSetInformation ZwApphelpCacheControl ZwAreMappedFilesTheSame ZwAssignProcessToJobObject +ZwAssociateWaitCompletionPacket +ZwCallEnclave ZwCallbackReturn ZwCancelDeviceWakeupRequest ZwCancelIoFile ZwCancelIoFileEx ZwCancelSynchronousIoFile ZwCancelTimer +ZwCancelTimer2 +ZwCancelWaitCompletionPacket ZwClearEvent ZwClose ZwCloseObjectAuditAlarm ZwCommitComplete ZwCommitEnlistment +ZwCommitRegistryTransaction ZwCommitTransaction ZwCompactKeys +ZwCompareObjects +ZwCompareSigningLevels ZwCompareTokens ZwCompleteConnectPort ZwCompressKey ZwConnectPort ZwContinue +ZwConvertBetweenAuxiliaryCounterAndPerformanceCounter +ZwCreateCrossVmEvent ZwCreateDebugObject ZwCreateDirectoryObject +ZwCreateDirectoryObjectEx +ZwCreateEnclave ZwCreateEnlistment ZwCreateEvent ZwCreateEventPair ZwCreateFile +ZwCreateIRTimer ZwCreateIoCompletion ZwCreateJobObject ZwCreateJobSet ZwCreateKey ZwCreateKeyTransacted ZwCreateKeyedEvent +ZwCreateLowBoxToken ZwCreateMailslotFile ZwCreateMutant ZwCreateNamedPipeFile ZwCreatePagingFile +ZwCreatePartition ZwCreatePort ZwCreatePrivateNamespace ZwCreateProcess ZwCreateProcessEx ZwCreateProfile ZwCreateProfileEx +ZwCreateRegistryTransaction ZwCreateResourceManager ZwCreateSection +ZwCreateSectionEx ZwCreateSemaphore ZwCreateSymbolicLinkObject ZwCreateThread ZwCreateThreadEx ZwCreateTimer +ZwCreateTimer2 ZwCreateToken +ZwCreateTokenEx ZwCreateTransaction ZwCreateTransactionManager ZwCreateUserProcess +ZwCreateWaitCompletionPacket ZwCreateWaitablePort +ZwCreateWnfStateName ZwCreateWorkerFactory ZwDebugActiveProcess ZwDebugContinue @@ -1567,6 +1945,8 @@ ZwDeleteKey ZwDeleteObjectAuditAlarm ZwDeletePrivateNamespace ZwDeleteValueKey +ZwDeleteWnfStateData +ZwDeleteWnfStateName ZwDeviceIoControlFile ZwDisableLastKnownGood ZwDisplayString @@ -1581,9 +1961,12 @@ ZwEnumerateSystemEnvironmentValuesEx ZwEnumerateTransactionObject ZwEnumerateValueKey ZwExtendSection +ZwFilterBootOption ZwFilterToken +ZwFilterTokenEx ZwFindAtom ZwFlushBuffersFile +ZwFlushBuffersFileEx ZwFlushInstallUILanguage ZwFlushInstructionCache ZwFlushKey @@ -1595,8 +1978,11 @@ ZwFreeVirtualMemory ZwFreezeRegistry ZwFreezeTransactions ZwFsControlFile +ZwGetCachedSigningLevel +ZwGetCompleteWnfStateSubscription ZwGetContextThread ZwGetCurrentProcessorNumber +ZwGetCurrentProcessorNumberEx ZwGetDevicePowerState ZwGetMUIRegistryInfo ZwGetNextProcess @@ -1608,6 +1994,7 @@ ZwGetWriteWatch ZwImpersonateAnonymousToken ZwImpersonateClientOfPort ZwImpersonateThread +ZwInitializeEnclave ZwInitializeNlsFiles ZwInitializeRegistry ZwInitiatePowerAction @@ -1616,6 +2003,7 @@ ZwIsSystemResumeAutomatic ZwIsUILanguageComitted ZwListenPort ZwLoadDriver +ZwLoadEnclaveData ZwLoadKey ZwLoadKey2 ZwLoadKeyEx @@ -1625,13 +2013,17 @@ ZwLockRegistryKey ZwLockVirtualMemory ZwMakePermanentObject ZwMakeTemporaryObject +ZwManageHotPatch +ZwManagePartition ZwMapCMFModule ZwMapUserPhysicalPages ZwMapUserPhysicalPagesScatter ZwMapViewOfSection +ZwMapViewOfSectionEx ZwModifyBootEntry ZwModifyDriverEntry ZwNotifyChangeDirectoryFile +ZwNotifyChangeDirectoryFileEx ZwNotifyChangeKey ZwNotifyChangeMultipleKeys ZwNotifyChangeSession @@ -1649,10 +2041,12 @@ ZwOpenKeyTransactedEx ZwOpenKeyedEvent ZwOpenMutant ZwOpenObjectAuditAlarm +ZwOpenPartition ZwOpenPrivateNamespace ZwOpenProcess ZwOpenProcessToken ZwOpenProcessTokenEx +ZwOpenRegistryTransaction ZwOpenResourceManager ZwOpenSection ZwOpenSemaphore @@ -1676,20 +2070,24 @@ ZwPrivilegedServiceAuditAlarm ZwPropagationComplete ZwPropagationFailed ZwProtectVirtualMemory +ZwPssCaptureVaSpaceBulk ZwPulseEvent ZwQueryAttributesFile +ZwQueryAuxiliaryCounterFrequency ZwQueryBootEntryOrder ZwQueryBootOptions ZwQueryDebugFilterState ZwQueryDefaultLocale ZwQueryDefaultUILanguage ZwQueryDirectoryFile +ZwQueryDirectoryFileEx ZwQueryDirectoryObject ZwQueryDriverEntryOrder ZwQueryEaFile ZwQueryEvent ZwQueryFullAttributesFile ZwQueryInformationAtom +ZwQueryInformationByName ZwQueryInformationEnlistment ZwQueryInformationFile ZwQueryInformationJobObject @@ -1717,6 +2115,7 @@ ZwQueryQuotaInformationFile ZwQuerySection ZwQuerySecurityAttributesToken ZwQuerySecurityObject +ZwQuerySecurityPolicy ZwQuerySemaphore ZwQuerySymbolicLinkObject ZwQuerySystemEnvironmentValue @@ -1729,6 +2128,8 @@ ZwQueryTimerResolution ZwQueryValueKey ZwQueryVirtualMemory ZwQueryVolumeInformationFile +ZwQueryWnfStateData +ZwQueryWnfStateNameInformation ZwQueueApcThread ZwQueueApcThreadEx ZwRaiseException @@ -1767,8 +2168,10 @@ ZwResetWriteWatch ZwRestoreKey ZwResumeProcess ZwResumeThread +ZwRevertContainerImpersonation ZwRollbackComplete ZwRollbackEnlistment +ZwRollbackRegistryTransaction ZwRollbackTransaction ZwRollforwardTransactionManager ZwSaveKey @@ -1778,6 +2181,8 @@ ZwSecureConnectPort ZwSerializeBoot ZwSetBootEntryOrder ZwSetBootOptions +ZwSetCachedSigningLevel +ZwSetCachedSigningLevel2 ZwSetContextThread ZwSetDebugFilterState ZwSetDefaultHardErrorPort @@ -1789,6 +2194,7 @@ ZwSetEvent ZwSetEventBoostPriority ZwSetHighEventPair ZwSetHighWaitLowEventPair +ZwSetIRTimer ZwSetInformationDebugObject ZwSetInformationEnlistment ZwSetInformationFile @@ -1797,10 +2203,12 @@ ZwSetInformationKey ZwSetInformationObject ZwSetInformationProcess ZwSetInformationResourceManager +ZwSetInformationSymbolicLink ZwSetInformationThread ZwSetInformationToken ZwSetInformationTransaction ZwSetInformationTransactionManager +ZwSetInformationVirtualMemory ZwSetInformationWorkerFactory ZwSetIntervalProfile ZwSetIoCompletion @@ -1817,20 +2225,24 @@ ZwSetSystemPowerState ZwSetSystemTime ZwSetThreadExecutionState ZwSetTimer +ZwSetTimer2 ZwSetTimerEx ZwSetTimerResolution ZwSetUuidSeed ZwSetValueKey ZwSetVolumeInformationFile +ZwSetWnfProcessNotificationEvent ZwShutdownSystem ZwShutdownWorkerFactory ZwSignalAndWaitForSingleObject ZwSinglePhaseReject ZwStartProfile ZwStopProfile +ZwSubscribeWnfStateChange ZwSuspendProcess ZwSuspendThread ZwSystemDebugControl +ZwTerminateEnclave ZwTerminateJobObject ZwTerminateProcess ZwTerminateThread @@ -1848,7 +2260,11 @@ ZwUnloadKeyEx ZwUnlockFile ZwUnlockVirtualMemory ZwUnmapViewOfSection +ZwUnmapViewOfSectionEx +ZwUnsubscribeWnfStateChange +ZwUpdateWnfStateData ZwVdmControl +ZwWaitForAlertByThreadId ZwWaitForDebugEvent ZwWaitForKeyedEvent ZwWaitForMultipleObjects @@ -1863,175 +2279,3 @@ ZwWriteFileGather ZwWriteRequestData ZwWriteVirtualMemory ZwYieldExecution -__C_specific_handler -;__chkstk -__isascii -__iscsym -__iscsymf -__misaligned_access -__toascii -_atoi64 -_fltused DATA -_i64toa -_i64toa_s -_i64tow -_i64tow_s -_itoa -_itoa_s -_itow -_itow_s -_lfind -_local_unwind -_ltoa -_ltoa_s -_ltow -_ltow_s -_makepath_s -_memccpy -_memicmp -_setjmp -_setjmpex -_snprintf -_snprintf_s -_snscanf_s -_snwprintf -_snwprintf_s -_snwscanf_s -_splitpath -_splitpath_s -_strcmpi -_stricmp -_strlwr -_strnicmp -_strnset_s -_strset_s -_strupr -_tolower -_toupper -_swprintf -_ui64toa -_ui64toa_s -_ui64tow -_ui64tow_s -_ultoa -_ultoa_s -_ultow -_ultow_s -_vscwprintf -_vsnprintf -_vsnprintf_s -_vsnwprintf -_vsnwprintf_s -_vswprintf -_wcsicmp -_wcslwr -_wcsnicmp -_wcsnset_s -_wcsset_s -_wcstoui64 -_wcsupr -_wmakepath_s -_wsplitpath_s -_wtoi -_wtoi64 -_wtol -abs -atan DATA -atoi -atol -bsearch -ceil -cos DATA -fabs DATA -floor DATA -isalnum -isalpha -iscntrl -isdigit -isgraph -islower -isprint -ispunct -isspace -isupper -iswalpha -iswctype -iswdigit -iswlower -iswspace -iswxdigit -isxdigit -labs -log -longjmp DATA -mbstowcs -memchr -memcmp -memcpy -memcpy_s -memmove -memmove_s -memset -pow -qsort -sin -sprintf -sprintf_s -sqrt -sscanf -sscanf_s -strcat -strcat_s -strchr -strcmp -strcpy -strcpy_s -strcspn -strlen -strncat -strncat_s -strncmp -strncpy -strncpy_s -strnlen -strpbrk -strrchr -strspn -strstr -strtok_s -strtol -strtoul -swprintf -swprintf_s -swscanf_s -tan -tolower -toupper -towlower -towupper -vDbgPrintEx -vDbgPrintExWithPrefix -vsprintf -vsprintf_s -vswprintf_s -wcscat -wcscat_s -wcschr -wcscmp -wcscpy -wcscpy_s -wcscspn -wcslen -wcsncat -wcsncat_s -wcsncmp -wcsncpy -wcsncpy_s -wcsnlen -wcspbrk -wcsrchr -wcsspn -wcsstr -wcstol -wcstombs -wcstoul diff --git a/lib/libc/mingw/libarm32/ntdll.def b/lib/libc/mingw/libarm32/ntdll.def index 13099a9792..54abcf6212 100644 --- a/lib/libc/mingw/libarm32/ntdll.def +++ b/lib/libc/mingw/libarm32/ntdll.def @@ -32,6 +32,7 @@ AlpcRundownCompletionList AlpcUnregisterCompletionList AlpcUnregisterCompletionListWorkerThread ApiSetQueryApiSetPresence +ApiSetQueryApiSetPresenceEx CsrAllocateCaptureBuffer CsrAllocateMessagePointer CsrCaptureMessageBuffer @@ -55,6 +56,7 @@ DbgSetDebugFilterState DbgUiConnectToDbg DbgUiContinue DbgUiConvertStateChangeStructure +DbgUiConvertStateChangeStructureEx DbgUiDebugActiveProcess DbgUiGetThreadDebugObject DbgUiIssueRemoteBreakin @@ -63,6 +65,7 @@ DbgUiSetThreadDebugObject DbgUiStopDebugging DbgUiWaitStateChange DbgUserBreakPoint +EtwCheckCoverage EtwCreateTraceInstanceId EtwDeliverDataBlock EtwEnumerateProcessRegGuids @@ -108,6 +111,7 @@ ExpInterlockedPopEntrySListResume KiRaiseUserExceptionDispatcher KiUserApcDispatcher KiUserCallbackDispatcher +KiUserCallbackDispatcherReturn KiUserExceptionDispatcher KiUserInvertedFunctionTable DATA LdrAccessResource @@ -115,9 +119,14 @@ LdrAddDllDirectory LdrAddLoadAsDataTable LdrAddRefDll LdrAppxHandleIntegrityFailure +LdrCallEnclave +LdrControlFlowGuardEnforced +LdrCreateEnclave +LdrDeleteEnclave LdrDisableThreadCalloutsForDll LdrEnumResources LdrEnumerateLoadedModules +LdrFastFailInLoaderCallout LdrFindEntryForAddress LdrFindResourceDirectory_U LdrFindResourceEx_U @@ -132,16 +141,21 @@ LdrGetDllHandleEx LdrGetDllPath LdrGetFailureData LdrGetFileNameFromLoadAsDataTable +LdrGetKnownDllSectionHandle LdrGetProcedureAddress LdrGetProcedureAddressEx LdrGetProcedureAddressForCaller LdrInitShimEngineDynamic +LdrInitializeEnclave LdrInitializeThunk +LdrIsModuleSxsRedirected LdrLoadAlternateResourceModule LdrLoadAlternateResourceModuleEx LdrLoadDll +LdrLoadEnclaveModule LdrLockLoaderLock LdrOpenImageFileOptionsKey +LdrProcessInitializationComplete LdrProcessRelocationBlock LdrProcessRelocationBlockEx LdrQueryImageFileExecutionOptions @@ -176,6 +190,7 @@ LdrUnloadAlternateResourceModuleEx LdrUnloadDll LdrUnlockLoaderLock LdrUnregisterDllNotification +LdrUpdatePackageSearchPath LdrVerifyImageMatchesChecksum LdrVerifyImageMatchesChecksumEx LdrpResGetMappingSize @@ -197,6 +212,7 @@ NtAccessCheckByTypeAndAuditAlarm NtAccessCheckByTypeResultList NtAccessCheckByTypeResultListAndAuditAlarm NtAccessCheckByTypeResultListAndAuditAlarmByHandle +NtAcquireProcessActivityReference NtAddAtom NtAddAtomEx NtAddBootEntry @@ -210,8 +226,10 @@ NtAlertThreadByThreadId NtAllocateLocallyUniqueId NtAllocateReserveObject NtAllocateUserPhysicalPages +NtAllocateUserPhysicalPagesEx NtAllocateUuids NtAllocateVirtualMemory +NtAllocateVirtualMemoryEx NtAlpcAcceptConnectPort NtAlpcCancelMessage NtAlpcConnectPort @@ -226,6 +244,7 @@ NtAlpcDeleteResourceReserve NtAlpcDeleteSectionView NtAlpcDeleteSecurityContext NtAlpcDisconnectPort +NtAlpcImpersonateClientContainerOfPort NtAlpcImpersonateClientOfPort NtAlpcOpenSenderProcess NtAlpcOpenSenderThread @@ -238,6 +257,7 @@ NtApphelpCacheControl NtAreMappedFilesTheSame NtAssignProcessToJobObject NtAssociateWaitCompletionPacket +NtCallEnclave NtCallbackReturn NtCancelIoFile NtCancelIoFileEx @@ -250,16 +270,22 @@ NtClose NtCloseObjectAuditAlarm NtCommitComplete NtCommitEnlistment +NtCommitRegistryTransaction NtCommitTransaction NtCompactKeys +NtCompareObjects +NtCompareSigningLevels NtCompareTokens NtCompleteConnectPort NtCompressKey NtConnectPort NtContinue +NtConvertBetweenAuxiliaryCounterAndPerformanceCounter +NtCreateCrossVmEvent NtCreateDebugObject NtCreateDirectoryObject NtCreateDirectoryObjectEx +NtCreateEnclave NtCreateEnlistment NtCreateEvent NtCreateEventPair @@ -276,14 +302,17 @@ NtCreateMailslotFile NtCreateMutant NtCreateNamedPipeFile NtCreatePagingFile +NtCreatePartition NtCreatePort NtCreatePrivateNamespace NtCreateProcess NtCreateProcessEx NtCreateProfile NtCreateProfileEx +NtCreateRegistryTransaction NtCreateResourceManager NtCreateSection +NtCreateSectionEx NtCreateSemaphore NtCreateSymbolicLinkObject NtCreateThread @@ -347,6 +376,7 @@ NtGetCachedSigningLevel NtGetCompleteWnfStateSubscription NtGetContextThread NtGetCurrentProcessorNumber +NtGetCurrentProcessorNumberEx NtGetDevicePowerState NtGetMUIRegistryInfo NtGetNextProcess @@ -358,6 +388,7 @@ NtGetWriteWatch NtImpersonateAnonymousToken NtImpersonateClientOfPort NtImpersonateThread +NtInitializeEnclave NtInitializeNlsFiles NtInitializeRegistry NtInitiatePowerAction @@ -366,6 +397,7 @@ NtIsSystemResumeAutomatic NtIsUILanguageComitted NtListenPort NtLoadDriver +NtLoadEnclaveData NtLoadKey NtLoadKey2 NtLoadKeyEx @@ -375,13 +407,17 @@ NtLockRegistryKey NtLockVirtualMemory NtMakePermanentObject NtMakeTemporaryObject +NtManageHotPatch +NtManagePartition NtMapCMFModule NtMapUserPhysicalPages NtMapUserPhysicalPagesScatter NtMapViewOfSection +NtMapViewOfSectionEx NtModifyBootEntry NtModifyDriverEntry NtNotifyChangeDirectoryFile +NtNotifyChangeDirectoryFileEx NtNotifyChangeKey NtNotifyChangeMultipleKeys NtNotifyChangeSession @@ -399,10 +435,12 @@ NtOpenKeyTransactedEx NtOpenKeyedEvent NtOpenMutant NtOpenObjectAuditAlarm +NtOpenPartition NtOpenPrivateNamespace NtOpenProcess NtOpenProcessToken NtOpenProcessTokenEx +NtOpenRegistryTransaction NtOpenResourceManager NtOpenSection NtOpenSemaphore @@ -426,20 +464,24 @@ NtPrivilegedServiceAuditAlarm NtPropagationComplete NtPropagationFailed NtProtectVirtualMemory +NtPssCaptureVaSpaceBulk NtPulseEvent NtQueryAttributesFile +NtQueryAuxiliaryCounterFrequency NtQueryBootEntryOrder NtQueryBootOptions NtQueryDebugFilterState NtQueryDefaultLocale NtQueryDefaultUILanguage NtQueryDirectoryFile +NtQueryDirectoryFileEx NtQueryDirectoryObject NtQueryDriverEntryOrder NtQueryEaFile NtQueryEvent NtQueryFullAttributesFile NtQueryInformationAtom +NtQueryInformationByName NtQueryInformationEnlistment NtQueryInformationFile NtQueryInformationJobObject @@ -467,6 +509,7 @@ NtQueryQuotaInformationFile NtQuerySection NtQuerySecurityAttributesToken NtQuerySecurityObject +NtQuerySecurityPolicy NtQuerySemaphore NtQuerySymbolicLinkObject NtQuerySystemEnvironmentValue @@ -517,8 +560,10 @@ NtResetWriteWatch NtRestoreKey NtResumeProcess NtResumeThread +NtRevertContainerImpersonation NtRollbackComplete NtRollbackEnlistment +NtRollbackRegistryTransaction NtRollbackTransaction NtRollforwardTransactionManager NtSaveKey @@ -529,6 +574,7 @@ NtSerializeBoot NtSetBootEntryOrder NtSetBootOptions NtSetCachedSigningLevel +NtSetCachedSigningLevel2 NtSetContextThread NtSetDebugFilterState NtSetDefaultHardErrorPort @@ -549,6 +595,7 @@ NtSetInformationKey NtSetInformationObject NtSetInformationProcess NtSetInformationResourceManager +NtSetInformationSymbolicLink NtSetInformationThread NtSetInformationToken NtSetInformationTransaction @@ -587,6 +634,7 @@ NtSubscribeWnfStateChange NtSuspendProcess NtSuspendThread NtSystemDebugControl +NtTerminateEnclave NtTerminateJobObject NtTerminateProcess NtTerminateThread @@ -658,6 +706,7 @@ RtlAddAccessAllowedObjectAce RtlAddAccessDeniedAce RtlAddAccessDeniedAceEx RtlAddAccessDeniedObjectAce +RtlAddAccessFilterAce RtlAddAce RtlAddActionToRXact RtlAddAtomToAtomTable @@ -703,7 +752,9 @@ RtlAppxIsFileOwnedByTrustedInstaller RtlAreAllAccessesGranted RtlAreAnyAccessesGranted RtlAreBitsClear +RtlAreBitsClearEx RtlAreBitsSet +RtlAreLongPathsEnabled RtlAssert RtlAvlInsertNodeEx RtlAvlRemoveNode @@ -711,19 +762,28 @@ RtlBarrier RtlBarrierForDelete RtlCancelTimer RtlCanonicalizeDomainName +RtlCapabilityCheck +RtlCapabilityCheckForSingleSessionSku RtlCaptureContext RtlCaptureStackBackTrace RtlCharToInteger +RtlCheckBootStatusIntegrity RtlCheckForOrphanedCriticalSections RtlCheckPortableOperatingSystem RtlCheckRegistryKey +RtlCheckSandboxedToken +RtlCheckSystemBootStatusIntegrity RtlCheckTokenCapability RtlCheckTokenMembership RtlCheckTokenMembershipEx RtlCleanUpTEBLangLists RtlClearAllBits +RtlClearAllBitsEx RtlClearBit +RtlClearBitEx RtlClearBits +RtlClearBitsEx +RtlClearThreadWorkOnBehalfTicket RtlCloneMemoryStream RtlCloneUserProcess RtlCmDecodeMemIoResource @@ -737,15 +797,19 @@ RtlCompareMemoryUlong RtlCompareString RtlCompareUnicodeString RtlCompareUnicodeStrings +RtlCompleteProcessCloning RtlCompressBuffer RtlComputeCrc32 RtlComputeImportTableHash RtlComputePrivatizedDllName_U RtlConnectToSm RtlConsoleMultiByteToUnicodeN +RtlConstructCrossVmEventPath RtlContractHashTable +RtlConvertDeviceFamilyInfoToString RtlConvertExclusiveToShared RtlConvertLCIDToString +RtlConvertSRWLockExclusiveToShared RtlConvertSharedToExclusive RtlConvertSidToUnicodeString RtlConvertToAutoInheritSecurityObject @@ -780,6 +844,7 @@ RtlCreateMemoryBlockLookaside RtlCreateMemoryZone RtlCreateProcessParameters RtlCreateProcessParametersEx +RtlCreateProcessParametersWithTemplate RtlCreateProcessReflection RtlCreateQueryDebugBuffer RtlCreateRegistryKey @@ -792,6 +857,7 @@ RtlCreateTimerQueue RtlCreateUnicodeString RtlCreateUnicodeStringFromAsciiz RtlCreateUserProcess +RtlCreateUserProcessEx RtlCreateUserSecurityObject RtlCreateUserStack RtlCreateUserThread @@ -805,6 +871,7 @@ RtlDeactivateActivationContext RtlDeactivateActivationContextUnsafeFast RtlDebugPrintTimes RtlDecodePointer +RtlDecodeRemotePointer RtlDecodeSystemPointer RtlDecompressBuffer RtlDecompressBufferEx @@ -832,6 +899,7 @@ RtlDeleteTimerQueueEx RtlDeregisterSecureMemoryCacheCallback RtlDeregisterWait RtlDeregisterWaitEx +RtlDeriveCapabilitySidsFromName RtlDestroyAtomTable RtlDestroyEnvironment RtlDestroyHandleTable @@ -846,7 +914,10 @@ RtlDisableThreadProfiling RtlDllShutdownInProgress RtlDnsHostNameToComputerName RtlDoesFileExists_U +RtlDoesNameContainWildCards RtlDosApplyFileIsolationRedirection_Ustr +RtlDosLongPathNameToNtPathName_U_WithStatus +RtlDosLongPathNameToRelativeNtPathName_U_WithStatus RtlDosPathNameToNtPathName_U RtlDosPathNameToNtPathName_U_WithStatus RtlDosPathNameToRelativeNtPathName_U @@ -855,14 +926,17 @@ RtlDosSearchPath_U RtlDosSearchPath_Ustr RtlDowncaseUnicodeChar RtlDowncaseUnicodeString +RtlDrainNonVolatileFlush RtlDumpResource RtlDuplicateUnicodeString RtlEmptyAtomTable RtlEnableEarlyCriticalSectionEventCreation RtlEnableThreadProfiling RtlEncodePointer +RtlEncodeRemotePointer RtlEncodeSystemPointer RtlEndEnumerationHashTable +RtlEndStrongEnumerationHashTable RtlEndWeakEnumerationHashTable RtlEnterCriticalSection RtlEnumProcessHeaps @@ -890,6 +964,7 @@ RtlExitUserThread RtlExpandEnvironmentStrings RtlExpandEnvironmentStrings_U RtlExpandHashTable +RtlExtendCorrelationVector RtlExtendMemoryBlockLookaside RtlExtendMemoryZone RtlExtendedMagicDivide @@ -897,6 +972,7 @@ RtlExtractBitMap RtlFillMemory RtlFillMemoryUlong RtlFillMemoryUlonglong +RtlFillNonVolatileMemory RtlFinalReleaseOutOfProcessMemoryStream RtlFindAceByType RtlFindActivationContextSectionGuid @@ -904,8 +980,10 @@ RtlFindActivationContextSectionString RtlFindCharInUnicodeString RtlFindClearBits RtlFindClearBitsAndSet +RtlFindClearBitsEx RtlFindClearRuns RtlFindClosestEncodableLength +RtlFindExportedRoutineByName RtlFindLastBackwardRunClear RtlFindLeastSignificantBit RtlFindLongestRunClear @@ -914,11 +992,18 @@ RtlFindMostSignificantBit RtlFindNextForwardRunClear RtlFindSetBits RtlFindSetBitsAndClear +RtlFindSetBitsAndClearEx +RtlFindSetBitsEx +RtlFindUnicodeSubstring RtlFirstEntrySList RtlFirstFreeAce RtlFlsAlloc RtlFlsFree +RtlFlsGetValue +RtlFlsSetValue RtlFlushHeaps +RtlFlushNonVolatileMemory +RtlFlushNonVolatileMemoryRanges RtlFlushSecureMemoryCache RtlFormatCurrentUserKeyPath RtlFormatMessage @@ -928,33 +1013,40 @@ RtlFreeAnsiString RtlFreeHandle RtlFreeHeap RtlFreeMemoryBlockLookaside +RtlFreeNonVolatileToken RtlFreeOemString RtlFreeSid RtlFreeThreadActivationContextStack +RtlFreeUTF8String RtlFreeUnicodeString RtlFreeUserStack RtlGUIDFromString RtlGenerate8dot3Name RtlGetAce RtlGetActiveActivationContext +RtlGetActiveConsoleId RtlGetAppContainerNamedObjectPath RtlGetAppContainerParent RtlGetAppContainerSidType RtlGetCallersAddress RtlGetCompressionWorkSpaceSize +RtlGetConsoleSessionForegroundProcessId RtlGetControlSecurityDescriptor RtlGetCriticalSectionRecursionCount RtlGetCurrentDirectory_U RtlGetCurrentPeb RtlGetCurrentProcessorNumber RtlGetCurrentProcessorNumberEx +RtlGetCurrentServiceSessionId RtlGetCurrentTransaction RtlGetDaclSecurityDescriptor +RtlGetDeviceFamilyInfoEnum RtlGetElementGenericTable RtlGetElementGenericTableAvl RtlGetEnabledExtendedFeatures RtlGetExePath RtlGetExtendedContextLength +RtlGetExtendedContextLength2 RtlGetExtendedFeaturesMask RtlGetFileMUIPath RtlGetFrame @@ -964,31 +1056,42 @@ RtlGetFullPathName_UstrEx RtlGetFunctionTableListHead RtlGetGroupSecurityDescriptor RtlGetIntegerAtom +RtlGetInterruptTimePrecise RtlGetLastNtStatus RtlGetLastWin32Error RtlGetLengthWithoutLastFullDosOrNtPathElement RtlGetLengthWithoutTrailingPathSeperators RtlGetLocaleFileMappingAddress RtlGetLongestNtPathLength +RtlGetMultiTimePrecise RtlGetNativeSystemInformation RtlGetNextEntryHashTable +RtlGetNonVolatileToken RtlGetNtGlobalFlags RtlGetNtProductType +RtlGetNtSystemRoot RtlGetNtVersionNumbers RtlGetOwnerSecurityDescriptor RtlGetParentLocaleName +RtlGetPersistedStateLocation RtlGetProcessHeaps RtlGetProcessPreferredUILanguages RtlGetProductInfo RtlGetSaclSecurityDescriptor RtlGetSearchPath RtlGetSecurityDescriptorRMControl +RtlGetSessionProperties RtlGetSetBootStatusData +RtlGetSuiteMask +RtlGetSystemBootStatus +RtlGetSystemBootStatusEx RtlGetSystemPreferredUILanguages RtlGetSystemTimePrecise RtlGetThreadErrorMode RtlGetThreadLangIdByIndex RtlGetThreadPreferredUILanguages +RtlGetThreadWorkOnBehalfTicket +RtlGetTokenNamedObjectPath RtlGetUILanguageInfo RtlGetUnloadEventTrace RtlGetUnloadEventTraceEx @@ -996,6 +1099,7 @@ RtlGetUserInfoHeap RtlGetUserPreferredUILanguages RtlGetVersion RtlGrowFunctionTable +RtlGuardCheckLongJumpTarget RtlHashUnicodeString RtlHeapTrkInitialize RtlIdentifierAuthoritySid @@ -1009,6 +1113,7 @@ RtlImageRvaToSection RtlImageRvaToVa RtlImpersonateSelf RtlImpersonateSelfEx +RtlIncrementCorrelationVector RtlInitAnsiString RtlInitAnsiStringEx RtlInitBarrier @@ -1018,17 +1123,24 @@ RtlInitMemoryStream RtlInitNlsTables RtlInitOutOfProcessMemoryStream RtlInitString +RtlInitStringEx +RtlInitStrongEnumerationHashTable +RtlInitUTF8String +RtlInitUTF8StringEx RtlInitUnicodeString RtlInitUnicodeStringEx RtlInitWeakEnumerationHashTable RtlInitializeAtomPackage RtlInitializeBitMap +RtlInitializeBitMapEx RtlInitializeConditionVariable RtlInitializeContext +RtlInitializeCorrelationVector RtlInitializeCriticalSection RtlInitializeCriticalSectionAndSpinCount RtlInitializeCriticalSectionEx RtlInitializeExtendedContext +RtlInitializeExtendedContext2 RtlInitializeGenericTable RtlInitializeGenericTableAvl RtlInitializeHandleTable @@ -1038,6 +1150,7 @@ RtlInitializeResource RtlInitializeSListHead RtlInitializeSRWLock RtlInitializeSid +RtlInitializeSidEx RtlInsertElementGenericTable RtlInsertElementGenericTableAvl RtlInsertElementGenericTableFull @@ -1074,17 +1187,30 @@ RtlIpv6StringToAddressExW RtlIpv6StringToAddressW RtlIsActivationContextActive RtlIsCapabilitySid +RtlIsCloudFilesPlaceholder RtlIsCriticalSectionLocked RtlIsCriticalSectionLockedByThread +RtlIsCurrentProcess +RtlIsCurrentThread RtlIsCurrentThreadAttachExempt RtlIsDosDeviceName_U +RtlIsElevatedRid RtlIsGenericTableEmpty RtlIsGenericTableEmptyAvl +RtlIsMultiSessionSku +RtlIsMultiUsersInSessionSku RtlIsNameInExpression +RtlIsNameInUnUpcasedExpression RtlIsNameLegalDOS8Dot3 +RtlIsNonEmptyDirectoryReparsePointAllowed RtlIsNormalizedString RtlIsPackageSid RtlIsParentOfChildAppContainer +RtlIsPartialPlaceholder +RtlIsPartialPlaceholderFileHandle +RtlIsPartialPlaceholderFileInfo +RtlIsProcessorFeaturePresent +RtlIsStateSeparationEnabled RtlIsTextUnicode RtlIsThreadWithinLoaderCallout RtlIsUntrustedObject @@ -1092,6 +1218,7 @@ RtlIsValidHandle RtlIsValidIndexHandle RtlIsValidLocaleName RtlIsValidProcessTrustLabelSid +RtlIsZeroMemory RtlKnownExceptionFilter RtlLCIDToCultureName RtlLargeIntegerToChar @@ -1105,6 +1232,7 @@ RtlLoadString RtlLocalTimeToSystemTime RtlLocaleNameToLcid RtlLocateExtendedFeature +RtlLocateExtendedFeature2 RtlLocateLegacyContext RtlLockBootStatusData RtlLockCurrentThread @@ -1120,6 +1248,7 @@ RtlLookupElementGenericTableAvl RtlLookupElementGenericTableFull RtlLookupElementGenericTableFullAvl RtlLookupEntryHashTable +RtlLookupFirstMatchingElementGenericTableAvl RtlLookupFunctionEntry RtlLookupFunctionTable RtlMakeSelfRelativeSD @@ -1137,27 +1266,33 @@ RtlNewSecurityObject RtlNewSecurityObjectEx RtlNewSecurityObjectWithMultipleInheritance RtlNormalizeProcessParams +RtlNormalizeSecurityDescriptor RtlNormalizeString RtlNtPathNameToDosPathName RtlNtStatusToDosError RtlNtStatusToDosErrorNoTeb +RtlNtdllName RtlNumberGenericTableElements RtlNumberGenericTableElementsAvl RtlNumberOfClearBits +RtlNumberOfClearBitsEx RtlNumberOfClearBitsInRange RtlNumberOfSetBits +RtlNumberOfSetBitsEx RtlNumberOfSetBitsInRange RtlNumberOfSetBitsUlongPtr RtlOemStringToUnicodeSize RtlOemStringToUnicodeString RtlOemToUnicodeN RtlOpenCurrentUser +RtlOsDeploymentState RtlOwnerAcesPresent RtlPcToFileHeader RtlPinAtomInAtomTable RtlPopFrame RtlPrefixString RtlPrefixUnicodeString +RtlPrepareForProcessCloning RtlProcessFlsData RtlProtectHeap RtlPublishWnfStateData @@ -1171,11 +1306,13 @@ RtlQueryElevationFlags RtlQueryEnvironmentVariable RtlQueryEnvironmentVariable_U RtlQueryHeapInformation +RtlQueryImageMitigationPolicy RtlQueryInformationAcl RtlQueryInformationActivationContext RtlQueryInformationActiveActivationContext RtlQueryInterfaceMemoryStream RtlQueryModuleInformation +RtlQueryPackageClaims RtlQueryPackageIdentity RtlQueryPackageIdentityEx RtlQueryPerformanceCounter @@ -1184,13 +1321,18 @@ RtlQueryProcessBackTraceInformation RtlQueryProcessDebugInformation RtlQueryProcessHeapInformation RtlQueryProcessLockInformation +RtlQueryProcessPlaceholderCompatibilityMode +RtlQueryProtectedPolicy +RtlQueryRegistryValueWithFallback RtlQueryRegistryValues RtlQueryRegistryValuesEx RtlQueryResourcePolicy RtlQuerySecurityObject RtlQueryTagHeap +RtlQueryThreadPlaceholderCompatibilityMode RtlQueryThreadProfiling RtlQueryTimeZoneInformation +RtlQueryTokenHostIdAsUlong64 RtlQueryUnbiasedInterruptTime RtlQueryValidationRunlevel RtlQueryWnfMetaNotification @@ -1198,6 +1340,7 @@ RtlQueryWnfStateData RtlQueryWnfStateDataWithExplicitScope RtlQueueApcWow64Thread RtlQueueWorkItem +RtlRaiseCustomSystemEventTrigger RtlRaiseException RtlRaiseStatus RtlRandom @@ -1229,15 +1372,20 @@ RtlRemovePrivileges RtlRemoveVectoredContinueHandler RtlRemoveVectoredExceptionHandler RtlReplaceSidInSd +RtlReplaceSystemDirectoryInPath RtlReportException +RtlReportExceptionEx RtlReportSilentProcessExit RtlReportSqmEscalation RtlResetMemoryBlockLookaside RtlResetMemoryZone RtlResetNtUserPfn RtlResetRtlTranslations +RtlRestoreBootStatusDefaults RtlRestoreContext RtlRestoreLastWin32Error +RtlRestoreSystemBootStatusDefaults +RtlRestoreThreadPreferredUILanguages RtlRetrieveNtUserPfn RtlRevertMemoryStream RtlRunDecodeUnicodeString @@ -1253,9 +1401,12 @@ RtlSelfRelativeToAbsoluteSD RtlSelfRelativeToAbsoluteSD2 RtlSendMsgToSm RtlSetAllBits +RtlSetAllBitsEx RtlSetAttributesSecurityDescriptor RtlSetBit +RtlSetBitEx RtlSetBits +RtlSetBitsEx RtlSetControlSecurityDescriptor RtlSetCriticalSectionSpinCount RtlSetCurrentDirectory_U @@ -1269,6 +1420,7 @@ RtlSetEnvironmentVariable RtlSetExtendedFeaturesMask RtlSetGroupSecurityDescriptor RtlSetHeapInformation +RtlSetImageMitigationPolicy RtlSetInformationAcl RtlSetIoCompletionCallback RtlSetLastWin32Error @@ -1278,16 +1430,25 @@ RtlSetOwnerSecurityDescriptor RtlSetPortableOperatingSystem RtlSetProcessDebugInformation RtlSetProcessIsCritical +RtlSetProcessPlaceholderCompatibilityMode RtlSetProcessPreferredUILanguages +RtlSetProtectedPolicy +RtlSetProxiedProcessId RtlSetSaclSecurityDescriptor RtlSetSearchPathMode RtlSetSecurityDescriptorRMControl RtlSetSecurityObject RtlSetSecurityObjectEx +RtlSetSystemBootStatus +RtlSetSystemBootStatusEx RtlSetThreadErrorMode RtlSetThreadIsCritical +RtlSetThreadPlaceholderCompatibilityMode RtlSetThreadPoolStartFunc RtlSetThreadPreferredUILanguages +RtlSetThreadPreferredUILanguages2 +RtlSetThreadSubProcessTag +RtlSetThreadWorkOnBehalfTicket RtlSetTimeZoneInformation RtlSetTimer RtlSetUnhandledExceptionFilter @@ -1307,14 +1468,17 @@ RtlStartRXact RtlStatMemoryStream RtlStringFromGUID RtlStringFromGUIDEx +RtlStronglyEnumerateEntryHashTable RtlSubAuthorityCountSid RtlSubAuthoritySid RtlSubscribeWnfStateChangeNotification RtlSubtreePredecessor RtlSubtreeSuccessor +RtlSwitchedVVI RtlSystemTimeToLocalTime RtlTestAndPublishWnfStateData RtlTestBit +RtlTestBitEx RtlTestProtectedAccess RtlTimeFieldsToTime RtlTimeToElapsedTimeFields @@ -1334,7 +1498,9 @@ RtlTryAcquireSRWLockExclusive RtlTryAcquireSRWLockShared RtlTryConvertSRWLockSharedToExclusiveOrRelease RtlTryEnterCriticalSection +RtlUTF8StringToUnicodeString RtlUTF8ToUnicodeN +RtlUdiv128 RtlUlongByteSwap RtlUlonglongByteSwap RtlUnhandledExceptionFilter @@ -1345,6 +1511,7 @@ RtlUnicodeStringToCountedOemString RtlUnicodeStringToInteger RtlUnicodeStringToOemSize RtlUnicodeStringToOemString +RtlUnicodeStringToUTF8String RtlUnicodeToCustomCPN RtlUnicodeToMultiByteN RtlUnicodeToMultiByteSize @@ -1376,6 +1543,7 @@ RtlUpdateClonedSRWLock RtlUpdateTimer RtlUpperChar RtlUpperString +RtlUserFiberStart RtlUserThreadStart RtlUshortByteSwap RtlValidAcl @@ -1383,6 +1551,7 @@ RtlValidProcessProtection RtlValidRelativeSecurityDescriptor RtlValidSecurityDescriptor RtlValidSid +RtlValidateCorrelationVector RtlValidateHeap RtlValidateProcessHeaps RtlValidateUnicodeString @@ -1405,7 +1574,26 @@ RtlWnfDllUnloadCallback RtlWow64CallFunction64 RtlWow64EnableFsRedirection RtlWow64EnableFsRedirectionEx +RtlWow64GetCpuAreaInfo +RtlWow64GetCurrentCpuArea +RtlWow64GetCurrentMachine +RtlWow64GetEquivalentMachineCHPE +RtlWow64GetProcessMachines +RtlWow64GetSharedInfoProcess +RtlWow64GetThreadContext +RtlWow64GetThreadSelectorEntry +RtlWow64IsWowGuestMachineSupported +RtlWow64LogMessageInEventLogger +RtlWow64PopAllCrossProcessWorkFromWorkList +RtlWow64PopCrossProcessWorkFromFreeList +RtlWow64PushCrossProcessWorkOntoFreeList +RtlWow64PushCrossProcessWorkOntoWorkList +RtlWow64RequestCrossProcessHeavyFlush +RtlWow64SetThreadContext +RtlWow64SuspendProcess +RtlWow64SuspendThread RtlWriteMemoryStream +RtlWriteNonVolatileMemory RtlWriteRegistryValue RtlZeroHeap RtlZeroMemory @@ -1420,6 +1608,7 @@ RtlpConvertRelativeToAbsoluteSecurityAttribute RtlpCreateProcessRegistryInfo RtlpEnsureBufferSize RtlpFreezeTimeBias DATA +RtlpGetDeviceFamilyInfoEnum RtlpGetLCIDFromLangInfoNode RtlpGetNameFromLangInfoNode RtlpGetSystemDefaultUILanguage @@ -1441,13 +1630,18 @@ RtlpNtOpenKey RtlpNtQueryValueKey RtlpNtSetValueKey RtlpQueryDefaultUILanguage +RtlpQueryProcessDebugInformationFromWow64 +RtlpQueryProcessDebugInformationRemote RtlpRefreshCachedUILanguage RtlpSetInstallLanguage RtlpSetPreferredUILanguages RtlpSetUserPreferredUILanguages +RtlpTimeFieldsToTime +RtlpTimeToTimeFields RtlpUnWaitCriticalSection RtlpVerifyAndCommitUILanguageSettings RtlpWaitForCriticalSection +RtlpWow64CtxFromArm64 RtlxAnsiStringToUnicodeSize RtlxOemStringToUnicodeSize RtlxUnicodeStringToAnsiSize @@ -1501,9 +1695,12 @@ TpReleaseWork TpSetDefaultPoolMaxThreads TpSetDefaultPoolStackInformation TpSetPoolMaxThreads +TpSetPoolMaxThreadsSoftLimit TpSetPoolMinThreads TpSetPoolStackInformation TpSetPoolThreadBasePriority +TpSetPoolThreadCpuSets +TpSetPoolWorkerThreadIdleTimeout TpSetTimer TpSetTimerEx TpSetWait @@ -1519,6 +1716,7 @@ TpWaitForTimer TpWaitForWait TpWaitForWork VerSetConditionMask +WerReportExceptionWorker WerReportSQMEvent WinSqmAddToAverageDWORD WinSqmAddToStream @@ -1549,6 +1747,7 @@ WinSqmSetIfMinDWORD WinSqmSetString WinSqmStartSession WinSqmStartSessionForPartner +WinSqmStartSqmOptinListener ZwAcceptConnectPort ZwAccessCheck ZwAccessCheckAndAuditAlarm @@ -1557,6 +1756,7 @@ ZwAccessCheckByTypeAndAuditAlarm ZwAccessCheckByTypeResultList ZwAccessCheckByTypeResultListAndAuditAlarm ZwAccessCheckByTypeResultListAndAuditAlarmByHandle +ZwAcquireProcessActivityReference ZwAddAtom ZwAddAtomEx ZwAddBootEntry @@ -1570,8 +1770,10 @@ ZwAlertThreadByThreadId ZwAllocateLocallyUniqueId ZwAllocateReserveObject ZwAllocateUserPhysicalPages +ZwAllocateUserPhysicalPagesEx ZwAllocateUuids ZwAllocateVirtualMemory +ZwAllocateVirtualMemoryEx ZwAlpcAcceptConnectPort ZwAlpcCancelMessage ZwAlpcConnectPort @@ -1586,6 +1788,7 @@ ZwAlpcDeleteResourceReserve ZwAlpcDeleteSectionView ZwAlpcDeleteSecurityContext ZwAlpcDisconnectPort +ZwAlpcImpersonateClientContainerOfPort ZwAlpcImpersonateClientOfPort ZwAlpcOpenSenderProcess ZwAlpcOpenSenderThread @@ -1598,6 +1801,7 @@ ZwApphelpCacheControl ZwAreMappedFilesTheSame ZwAssignProcessToJobObject ZwAssociateWaitCompletionPacket +ZwCallEnclave ZwCallbackReturn ZwCancelIoFile ZwCancelIoFileEx @@ -1610,16 +1814,22 @@ ZwClose ZwCloseObjectAuditAlarm ZwCommitComplete ZwCommitEnlistment +ZwCommitRegistryTransaction ZwCommitTransaction ZwCompactKeys +ZwCompareObjects +ZwCompareSigningLevels ZwCompareTokens ZwCompleteConnectPort ZwCompressKey ZwConnectPort ZwContinue +ZwConvertBetweenAuxiliaryCounterAndPerformanceCounter +ZwCreateCrossVmEvent ZwCreateDebugObject ZwCreateDirectoryObject ZwCreateDirectoryObjectEx +ZwCreateEnclave ZwCreateEnlistment ZwCreateEvent ZwCreateEventPair @@ -1636,14 +1846,17 @@ ZwCreateMailslotFile ZwCreateMutant ZwCreateNamedPipeFile ZwCreatePagingFile +ZwCreatePartition ZwCreatePort ZwCreatePrivateNamespace ZwCreateProcess ZwCreateProcessEx ZwCreateProfile ZwCreateProfileEx +ZwCreateRegistryTransaction ZwCreateResourceManager ZwCreateSection +ZwCreateSectionEx ZwCreateSemaphore ZwCreateSymbolicLinkObject ZwCreateThread @@ -1707,6 +1920,7 @@ ZwGetCachedSigningLevel ZwGetCompleteWnfStateSubscription ZwGetContextThread ZwGetCurrentProcessorNumber +ZwGetCurrentProcessorNumberEx ZwGetDevicePowerState ZwGetMUIRegistryInfo ZwGetNextProcess @@ -1717,6 +1931,7 @@ ZwGetWriteWatch ZwImpersonateAnonymousToken ZwImpersonateClientOfPort ZwImpersonateThread +ZwInitializeEnclave ZwInitializeNlsFiles ZwInitializeRegistry ZwInitiatePowerAction @@ -1725,6 +1940,7 @@ ZwIsSystemResumeAutomatic ZwIsUILanguageComitted ZwListenPort ZwLoadDriver +ZwLoadEnclaveData ZwLoadKey ZwLoadKey2 ZwLoadKeyEx @@ -1734,13 +1950,17 @@ ZwLockRegistryKey ZwLockVirtualMemory ZwMakePermanentObject ZwMakeTemporaryObject +ZwManageHotPatch +ZwManagePartition ZwMapCMFModule ZwMapUserPhysicalPages ZwMapUserPhysicalPagesScatter ZwMapViewOfSection +ZwMapViewOfSectionEx ZwModifyBootEntry ZwModifyDriverEntry ZwNotifyChangeDirectoryFile +ZwNotifyChangeDirectoryFileEx ZwNotifyChangeKey ZwNotifyChangeMultipleKeys ZwNotifyChangeSession @@ -1758,10 +1978,12 @@ ZwOpenKeyTransactedEx ZwOpenKeyedEvent ZwOpenMutant ZwOpenObjectAuditAlarm +ZwOpenPartition ZwOpenPrivateNamespace ZwOpenProcess ZwOpenProcessToken ZwOpenProcessTokenEx +ZwOpenRegistryTransaction ZwOpenResourceManager ZwOpenSection ZwOpenSemaphore @@ -1785,20 +2007,24 @@ ZwPrivilegedServiceAuditAlarm ZwPropagationComplete ZwPropagationFailed ZwProtectVirtualMemory +ZwPssCaptureVaSpaceBulk ZwPulseEvent ZwQueryAttributesFile +ZwQueryAuxiliaryCounterFrequency ZwQueryBootEntryOrder ZwQueryBootOptions ZwQueryDebugFilterState ZwQueryDefaultLocale ZwQueryDefaultUILanguage ZwQueryDirectoryFile +ZwQueryDirectoryFileEx ZwQueryDirectoryObject ZwQueryDriverEntryOrder ZwQueryEaFile ZwQueryEvent ZwQueryFullAttributesFile ZwQueryInformationAtom +ZwQueryInformationByName ZwQueryInformationEnlistment ZwQueryInformationFile ZwQueryInformationJobObject @@ -1826,6 +2052,7 @@ ZwQueryQuotaInformationFile ZwQuerySection ZwQuerySecurityAttributesToken ZwQuerySecurityObject +ZwQuerySecurityPolicy ZwQuerySemaphore ZwQuerySymbolicLinkObject ZwQuerySystemEnvironmentValue @@ -1876,8 +2103,10 @@ ZwResetWriteWatch ZwRestoreKey ZwResumeProcess ZwResumeThread +ZwRevertContainerImpersonation ZwRollbackComplete ZwRollbackEnlistment +ZwRollbackRegistryTransaction ZwRollbackTransaction ZwRollforwardTransactionManager ZwSaveKey @@ -1888,6 +2117,7 @@ ZwSerializeBoot ZwSetBootEntryOrder ZwSetBootOptions ZwSetCachedSigningLevel +ZwSetCachedSigningLevel2 ZwSetContextThread ZwSetDebugFilterState ZwSetDefaultHardErrorPort @@ -1908,6 +2138,7 @@ ZwSetInformationKey ZwSetInformationObject ZwSetInformationProcess ZwSetInformationResourceManager +ZwSetInformationSymbolicLink ZwSetInformationThread ZwSetInformationToken ZwSetInformationTransaction @@ -1946,6 +2177,7 @@ ZwSubscribeWnfStateChange ZwSuspendProcess ZwSuspendThread ZwSystemDebugControl +ZwTerminateEnclave ZwTerminateJobObject ZwTerminateProcess ZwTerminateThread @@ -1982,184 +2214,3 @@ ZwWriteFileGather ZwWriteRequestData ZwWriteVirtualMemory ZwYieldExecution -__C_specific_handler -__chkstk -__isascii -__iscsym -__iscsymf -__jump_unwind -__toascii -_atoi64 -_errno -_fltused DATA -_i64toa -_i64toa_s -_i64tow -_i64tow_s -_itoa -_itoa_s -_itow -_itow_s -_lfind -_ltoa -_ltoa_s -_ltow -_ltow_s -_makepath_s -_memccpy -_memicmp -_setjmp -_setjmpex -_snprintf -_snprintf_s -_snscanf_s -_snwprintf -_snwprintf_s -_snwscanf_s -_splitpath -_splitpath_s -_strcmpi -_stricmp -_strlwr -_strlwr_s -_strnicmp -_strnset_s -_strset_s -_strupr -_strupr_s -_swprintf -_ui64toa -_ui64toa_s -_ui64tow -_ui64tow_s -_ultoa -_ultoa_s -_ultow -_ultow_s -_vscwprintf -_vsnprintf -_vsnprintf_s -_vsnwprintf -_vsnwprintf_s -_vswprintf -_wcsicmp -_wcslwr -_wcslwr_s -_wcsnicmp -_wcsnset_s -_wcsset_s -_wcstoi64 -_wcstoui64 -_wcsupr -_wcsupr_s -_wmakepath_s -_wsplitpath_s -_wtoi -_wtoi64 -_wtol -abs -atan -atoi -atol -bsearch -ceil -cos -fabs -floor -isalnum -isalpha -iscntrl -isdigit -isgraph -islower -isprint -ispunct -isspace -isupper -iswalnum -iswalpha -iswascii -iswctype -iswdigit -iswgraph -iswlower -iswprint -iswspace -iswxdigit -isxdigit -labs -log -longjmp -mbstowcs -memchr -memcmp -memcpy -memcpy_s -memmove -memmove_s -memset -pow -qsort -qsort_s -sin -sprintf -sprintf_s -sqrt -sscanf -sscanf_s -strcat -strcat_s -strchr -strcmp -strcpy -strcpy_s -strcspn -strlen -strncat -strncat_s -strncmp -strncpy -strncpy_s -strnlen -strpbrk -strrchr -strspn -strstr -strtok_s -strtol -strtoul -swprintf -swprintf_s -swscanf_s -tan -tolower -toupper -towlower -towupper -vDbgPrintEx -vDbgPrintExWithPrefix -vsprintf -vsprintf_s -vswprintf_s -wcscat -wcscat_s -wcschr -wcscmp -wcscpy -wcscpy_s -wcscspn -wcslen -wcsncat -wcsncat_s -wcsncmp -wcsncpy -wcsncpy_s -wcsnlen -wcspbrk -wcsrchr -wcsspn -wcsstr -wcstok_s -wcstol -wcstombs -wcstoul diff --git a/lib/libc/mingw/libarm32/urlmon.def b/lib/libc/mingw/libarm32/urlmon.def deleted file mode 100644 index 2e0f149886..0000000000 --- a/lib/libc/mingw/libarm32/urlmon.def +++ /dev/null @@ -1,292 +0,0 @@ -; -; Definition file of urlmon.dll -; Automatic generated by gendef -; written by Kai Tietz 2008-2014 -; -LIBRARY "urlmon.dll" -EXPORTS -ord_100 @100 -ord_101 @101 -ord_102 @102 -ord_103 @103 -ord_104 @104 -ord_105 @105 -ord_106 @106 -ord_107 @107 -ord_108 @108 -FileBearsMarkOfTheWeb -GetPortFromUrlScheme -ord_111 @111 -ord_112 @112 -ord_113 @113 -ord_114 @114 -ord_115 @115 -ord_116 @116 -ord_117 @117 -GetPropertyFromName -GetPropertyName -IsDWORDProperty -IsStringProperty -AsyncGetClassBits -AsyncInstallDistributionUnit -BindAsyncMoniker -CDLGetLongPathNameA -CDLGetLongPathNameW -CORPolicyProvider -CoGetClassObjectFromURL -CoInstall -CoInternetCanonicalizeIUri -CoInternetCombineIUri -CoInternetCombineUrl -CoInternetCombineUrlEx -CoInternetCompareUrl -CoInternetCreateSecurityManager -CoInternetCreateZoneManager -CoInternetFeatureSettingsChanged -CoInternetGetProtocolFlags -CoInternetGetSecurityUrl -CoInternetGetSecurityUrlEx -CoInternetGetSession -CoInternetIsFeatureEnabled -CoInternetIsFeatureEnabledForIUri -CoInternetIsFeatureEnabledForUrl -CoInternetIsFeatureZoneElevationEnabled -CoInternetParseIUri -CoInternetParseUrl -CoInternetQueryInfo -CoInternetSetFeatureEnabled -CompareSecurityIds -CompatFlagsFromClsid -CopyBindInfo -CopyStgMedium -CreateAsyncBindCtx -CreateAsyncBindCtxEx -CreateFormatEnumerator -CreateIUriBuilder -CreateURLMoniker -CreateURLMonikerEx -CreateURLMonikerEx2 -CreateUri -CreateUriFromMultiByteString -CreateUriPriv -CreateUriWithFragment -Extract -FaultInIEFeature -FindMediaType -FindMediaTypeClass -FindMimeFromData -GetAddSitesFileUrl -GetClassFileOrMime -GetClassURL -GetComponentIDFromCLSSPEC -GetIDNFlagsForUri -GetIUriPriv -GetIUriPriv2 -GetLabelsFromNamedHost -GetMarkOfTheWeb -GetSoftwareUpdateInfo -GetUrlmonThreadNotificationHwnd -GetZoneFromAlternateDataStreamEx -HlinkGoBack -HlinkGoForward -HlinkNavigateMoniker -HlinkNavigateString -HlinkSimpleNavigateToMoniker -HlinkSimpleNavigateToString -IEDllLoader -IEGetUserPrivateNamespaceName -IEInstallScope -IntlPercentEncodeNormalize -IsAsyncMoniker -IsIntranetAvailable -IsJITInProgress -IsLoggingEnabledA -IsLoggingEnabledW -IsValidURL -MkParseDisplayNameEx -ObtainUserAgentString -PrivateCoInstall -QueryAssociations -QueryClsidAssociation -RegisterBindStatusCallback -RegisterFormatEnumerator -RegisterMediaTypeClass -RegisterMediaTypes -RegisterWebPlatformPermanentSecurityManager -ReleaseBindInfo -RevokeBindStatusCallback -RevokeFormatEnumerator -SetAccessForIEAppContainer -SetSoftwareUpdateAdvertisementState -ShouldDisplayPunycodeForUri -ShouldShowIntranetWarningSecband -ShowTrustAlertDialog -URLDownloadA -URLDownloadToCacheFileA -URLDownloadToCacheFileW -URLDownloadToFileA -URLDownloadToFileW -URLDownloadW -URLOpenBlockingStreamA -URLOpenBlockingStreamW -URLOpenPullStreamA -URLOpenPullStreamW -URLOpenStreamA -URLOpenStreamW -UnregisterWebPlatformPermanentSecurityManager -UrlMkBuildVersion -UrlMkGetSessionOption -UrlMkSetSessionOption -UrlmonCleanupCurrentThread -WriteHitLogging -ZonesReInit -ord_304 @304 -ord_305 @305 -ord_306 @306 -ord_307 @307 -ord_308 @308 -ord_309 @309 -ord_310 @310 -ord_311 @311 -ord_312 @312 -ord_313 @313 -ord_314 @314 -ord_315 @315 -ord_316 @316 -ord_318 @318 -ord_319 @319 -ord_320 @320 -ord_321 @321 -IECompatLogCSSFix -ord_323 @323 -ord_324 @324 -ord_395 @395 -ord_400 @400 -ord_401 @401 -ord_403 @403 -ord_404 @404 -ord_406 @406 -ord_407 @407 -ord_408 @408 -ord_409 @409 -ord_410 @410 -ord_411 @411 -ord_412 @412 -ord_413 @413 -ord_414 @414 -ord_415 @415 -ord_416 @416 -ord_417 @417 -ord_421 @421 -ord_422 @422 -ord_423 @423 -ord_430 @430 -ord_431 @431 -ord_432 @432 -ord_433 @433 -ord_434 @434 -ord_435 @435 -ord_436 @436 -ord_437 @437 -ord_438 @438 -ord_439 @439 -ord_440 @440 -ord_441 @441 -ord_442 @442 -ord_443 @443 -ord_444 @444 -ord_445 @445 -ord_446 @446 -ord_447 @447 -ord_448 @448 -ord_449 @449 -ord_450 @450 -ord_451 @451 -ord_452 @452 -ord_453 @453 -ord_454 @454 -ord_455 @455 -ord_456 @456 -ord_457 @457 -ord_458 @458 -ord_460 @460 -ord_461 @461 -ord_462 @462 -ord_463 @463 -ord_470 @470 -ord_471 @471 -ord_473 @473 -ord_474 @474 -ord_475 @475 -ord_476 @476 -ord_477 @477 -ord_478 @478 -ord_479 @479 -ord_480 @480 -ord_481 @481 -ord_482 @482 -ord_483 @483 -ord_484 @484 -ord_485 @485 -ord_486 @486 -ord_487 @487 -ord_488 @488 -ord_489 @489 -ord_490 @490 -ord_491 @491 -ord_492 @492 -ord_494 @494 -ord_495 @495 -ord_496 @496 -ord_497 @497 -ord_498 @498 -ord_499 @499 -ord_500 @500 -ord_501 @501 -ord_502 @502 -ord_503 @503 -ord_504 @504 -ord_505 @505 -ord_506 @506 -ord_507 @507 -ord_508 @508 -ord_509 @509 -ord_510 @510 -ord_511 @511 -ord_512 @512 -ord_513 @513 -ord_514 @514 -ord_515 @515 -ord_516 @516 -ord_517 @517 -ord_518 @518 -ord_519 @519 -ord_520 @520 -ord_521 @521 -ord_522 @522 -ord_523 @523 -ord_524 @524 -ord_525 @525 -ord_526 @526 -ord_527 @527 -ord_528 @528 -ord_529 @529 -ord_530 @530 -ord_531 @531 -ord_532 @532 -ord_533 @533 -ord_534 @534 -ord_535 @535 -ord_536 @536 -ord_537 @537 -ord_538 @538 -ord_539 @539 -ord_540 @540 -ord_541 @541 -ord_542 @542 -ord_543 @543 -ord_544 @544 -ord_545 @545 -ord_546 @546 -ord_547 @547 -ord_548 @548 diff --git a/lib/libc/mingw/math/arm/ceil.S b/lib/libc/mingw/math/arm/ceil.S deleted file mode 100644 index 47162c9af0..0000000000 --- a/lib/libc/mingw/math/arm/ceil.S +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "ceil.S" - .text - .align 4 - .globl __MINGW_USYMBOL(ceil) - .def __MINGW_USYMBOL(ceil); .scl 2; .type 32; .endef - -__MINGW_USYMBOL(ceil): - vmov r2, r3, d0 - lsr r3, r3, #20 - bic r3, r3, #0x800 - movw r2, #0x7ff - cmp r2, r3 /* Check for INF/NAN, just return the input in those cases */ - it eq - bxeq lr - vmrs r1, fpscr - bic r0, r1, #0x00c00000 - orr r0, r0, #0x00400000 /* Round towards Plus Infinity */ - vmsr fpscr, r0 - vcvtr.s32.f64 s0, d0 - vcvt.f64.s32 d0, s0 - vmsr fpscr, r1 - bx lr diff --git a/lib/libc/mingw/math/arm/ceilf.S b/lib/libc/mingw/math/arm/ceilf.S deleted file mode 100644 index a899f25fa2..0000000000 --- a/lib/libc/mingw/math/arm/ceilf.S +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "ceilf.S" - .text - .align 4 - .globl __MINGW_USYMBOL(ceilf) - .def __MINGW_USYMBOL(ceilf); .scl 2; .type 32; .endef - -__MINGW_USYMBOL(ceilf): - vmov r2, s0 - lsr r2, r2, #23 - bic r2, r2, #0x100 - cmp r2, #0xff /* Check for INF/NAN, just return the input in those cases */ - it eq - bxeq lr - vmrs r1, fpscr - bic r0, r1, #0x00c00000 - orr r0, r0, #0x00400000 /* Round towards Plus Infinity */ - vmsr fpscr, r0 - vcvtr.s32.f32 s0, s0 - vcvt.f32.s32 s0, s0 - vmsr fpscr, r1 - bx lr diff --git a/lib/libc/mingw/math/arm/ceill.S b/lib/libc/mingw/math/arm/ceill.S deleted file mode 100644 index 9c6934ba05..0000000000 --- a/lib/libc/mingw/math/arm/ceill.S +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "ceill.S" - .text - .align 4 - .globl __MINGW_USYMBOL(ceill) - .def __MINGW_USYMBOL(ceill); .scl 2; .type 32; .endef -__MINGW_USYMBOL(ceill): - vmov r2, r3, d0 - lsr r3, r3, #20 - bic r3, r3, #0x800 - movw r2, #0x7ff - cmp r2, r3 /* Check for INF/NAN, just return the input in those cases */ - it eq - bxeq lr - vmrs r1, fpscr - bic r0, r1, #0x00c00000 - orr r0, r0, #0x00400000 /* Round towards Plus Infinity */ - vmsr fpscr, r0 - vcvtr.s32.f64 s0, d0 - vcvt.f64.s32 d0, s0 - vmsr fpscr, r1 - bx lr diff --git a/lib/libc/mingw/math/arm/copysignl.c b/lib/libc/mingw/math/arm/copysignl.c deleted file mode 100644 index ea66215f2d..0000000000 --- a/lib/libc/mingw/math/arm/copysignl.c +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include - -long double copysignl(long double x, long double y) -{ - return copysign(x, y); -} diff --git a/lib/libc/mingw/math/arm/floor.S b/lib/libc/mingw/math/arm/floor.S deleted file mode 100644 index fc1df16af0..0000000000 --- a/lib/libc/mingw/math/arm/floor.S +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "floor.S" - .text - .p2align 4,,15 - .globl __MINGW_USYMBOL(floor) - .def __MINGW_USYMBOL(floor); .scl 2; .type 32; .endef -__MINGW_USYMBOL(floor): - vmov r2, r3, d0 - lsr r3, r3, #20 - bic r3, r3, #0x800 - movw r2, #0x7ff - cmp r2, r3 /* Check for INF/NAN, just return the input in those cases */ - it eq - bxeq lr - vmrs r1, fpscr - bic r0, r1, #0x00c00000 - orr r0, r0, #0x00800000 /* Round towards Minus Infinity */ - vmsr fpscr, r0 - vcvtr.s32.f64 s0, d0 - vcvt.f64.s32 d0, s0 - vmsr fpscr, r1 - bx lr diff --git a/lib/libc/mingw/math/arm/floorf.S b/lib/libc/mingw/math/arm/floorf.S deleted file mode 100644 index b5ae0c720c..0000000000 --- a/lib/libc/mingw/math/arm/floorf.S +++ /dev/null @@ -1,27 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - #include <_mingw_mac.h> - - .file "floorf.S" - .text - .p2align 4,,15 - .globl __MINGW_USYMBOL(floorf) - .def __MINGW_USYMBOL(floorf); .scl 2; .type 32; .endef -__MINGW_USYMBOL(floorf): - vmov r2, s0 - lsr r2, r2, #23 - bic r2, r2, #0x100 - cmp r2, #0xff /* Check for INF/NAN, just return the input in those cases */ - it eq - bxeq lr - vmrs r1, fpscr - bic r0, r1, #0x00c00000 - orr r0, r0, #0x00800000 /* Round towards Minus Infinity */ - vmsr fpscr, r0 - vcvtr.s32.f32 s0, s0 - vcvt.f32.s32 s0, s0 - vmsr fpscr, r1 - bx lr diff --git a/lib/libc/mingw/math/arm/floorl.S b/lib/libc/mingw/math/arm/floorl.S deleted file mode 100644 index ec8c0050af..0000000000 --- a/lib/libc/mingw/math/arm/floorl.S +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "floorl.S" - .text - .align 4 - .globl __MINGW_USYMBOL(floorl) - .def __MINGW_USYMBOL(floorl); .scl 2; .type 32; .endef -__MINGW_USYMBOL(floorl): - vmov r2, r3, d0 - lsr r3, r3, #20 - bic r3, r3, #0x800 - movw r2, #0x7ff - cmp r2, r3 /* Check for INF/NAN, just return the input in those cases */ - it eq - bxeq lr - vmrs r1, fpscr - bic r0, r1, #0x00c00000 - orr r0, r0, #0x00800000 /* Round towards Minus Infinity */ - vmsr fpscr, r0 - vcvtr.s32.f64 s0, d0 - vcvt.f64.s32 d0, s0 - vmsr fpscr, r1 - bx lr diff --git a/lib/libc/mingw/math/arm/ldexpl.c b/lib/libc/mingw/math/arm/ldexpl.c deleted file mode 100644 index 7d3bffcbe0..0000000000 --- a/lib/libc/mingw/math/arm/ldexpl.c +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - -#include - -long double ldexpl(long double x, int n) -{ -#if defined(__arm__) || defined(_ARM_) - return ldexp(x, n); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm/log2.c b/lib/libc/mingw/math/arm/log2.c deleted file mode 100644 index eeb690b97b..0000000000 --- a/lib/libc/mingw/math/arm/log2.c +++ /dev/null @@ -1,64 +0,0 @@ -/* - This Software is provided under the Zope Public License (ZPL) Version 2.1. - - Copyright (c) 2014 by the mingw-w64 project - - See the AUTHORS file for the list of contributors to the mingw-w64 project. - - This license has been certified as open source. It has also been designated - as GPL compatible by the Free Software Foundation (FSF). - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions in source code must retain the accompanying copyright - notice, this list of conditions, and the following disclaimer. - 2. Redistributions in binary form must reproduce the accompanying - copyright notice, this list of conditions, and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - 3. Names of the copyright holders must not be used to endorse or promote - products derived from this software without prior written permission - from the copyright holders. - 4. The right to distribute this software or to use it for any purpose does - not give you the right to use Servicemarks (sm) or Trademarks (tm) of - the copyright holders. Use of them is covered by separate agreement - with the copyright holders. - 5. If any files are modified, you must cause the modified files to carry - prominent notices stating that you changed the files and the date of - any change. - - Disclaimer - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED - OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO - EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, - OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include - -double log2(double x) -{ - return log(x) / 0.69314718246459960938; -} - -float log2f(float x) -{ - return logf(x) / 0.69314718246459960938f; -} - -long double log2l(long double x) -{ -#if defined(__arm__) || defined(_ARM_) - return log2(x); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm/scalbn.c b/lib/libc/mingw/math/arm/scalbn.c deleted file mode 100644 index f11fd37e09..0000000000 --- a/lib/libc/mingw/math/arm/scalbn.c +++ /dev/null @@ -1,64 +0,0 @@ -/* - This Software is provided under the Zope Public License (ZPL) Version 2.1. - - Copyright (c) 2014 by the mingw-w64 project - - See the AUTHORS file for the list of contributors to the mingw-w64 project. - - This license has been certified as open source. It has also been designated - as GPL compatible by the Free Software Foundation (FSF). - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions in source code must retain the accompanying copyright - notice, this list of conditions, and the following disclaimer. - 2. Redistributions in binary form must reproduce the accompanying - copyright notice, this list of conditions, and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - 3. Names of the copyright holders must not be used to endorse or promote - products derived from this software without prior written permission - from the copyright holders. - 4. The right to distribute this software or to use it for any purpose does - not give you the right to use Servicemarks (sm) or Trademarks (tm) of - the copyright holders. Use of them is covered by separate agreement - with the copyright holders. - 5. If any files are modified, you must cause the modified files to carry - prominent notices stating that you changed the files and the date of - any change. - - Disclaimer - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED - OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO - EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, - OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include - -double scalbn(double x, int exp) -{ - return x * exp2(exp); -} - -float scalbnf(float x, int exp) -{ - return x * exp2f(exp); -} - -long double scalbnl(long double x, int exp) -{ -#if defined(__arm__) || defined(_ARM_) - return scalbn(x, exp); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm/sincos.c b/lib/libc/mingw/math/arm/sincos.c deleted file mode 100644 index 3bb86ee1b6..0000000000 --- a/lib/libc/mingw/math/arm/sincos.c +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - -#include - -void sincos (double __x, double *p_sin, double *p_cos) -{ - *p_sin = sin(__x); - *p_cos = cos(__x); -} - -void sincosf (float __x, float *p_sin, float *p_cos) -{ - *p_sin = sinf(__x); - *p_cos = cosf(__x); -} - -void sincosl (long double __x, long double *p_sin, long double *p_cos) -{ -#if defined(__arm__) || defined(_ARM_) - *p_sin = sin(__x); - *p_cos = cos(__x); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm64/ceil.S b/lib/libc/mingw/math/arm64/ceil.S deleted file mode 100644 index 6f46d352fd..0000000000 --- a/lib/libc/mingw/math/arm64/ceil.S +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "ceil.S" - .text - .align 2 - .globl __MINGW_USYMBOL(ceil) - .def __MINGW_USYMBOL(ceil); .scl 2; .type 32; .endef - -__MINGW_USYMBOL(ceil): - frintp d0, d0 - ret diff --git a/lib/libc/mingw/math/arm64/ceilf.S b/lib/libc/mingw/math/arm64/ceilf.S deleted file mode 100644 index b67d7687a5..0000000000 --- a/lib/libc/mingw/math/arm64/ceilf.S +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "ceilf.S" - .text - .align 2 - .globl __MINGW_USYMBOL(ceilf) - .def __MINGW_USYMBOL(ceilf); .scl 2; .type 32; .endef - -__MINGW_USYMBOL(ceilf): - frintp s0, s0 - ret diff --git a/lib/libc/mingw/math/arm64/ceill.S b/lib/libc/mingw/math/arm64/ceill.S deleted file mode 100644 index 99385a36d4..0000000000 --- a/lib/libc/mingw/math/arm64/ceill.S +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "ceill.S" - .text - .align 2 - .globl __MINGW_USYMBOL(ceill) - .def __MINGW_USYMBOL(ceill); .scl 2; .type 32; .endef -__MINGW_USYMBOL(ceill): - frintp d0, d0 - ret diff --git a/lib/libc/mingw/math/arm64/copysignl.c b/lib/libc/mingw/math/arm64/copysignl.c deleted file mode 100644 index ea66215f2d..0000000000 --- a/lib/libc/mingw/math/arm64/copysignl.c +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include - -long double copysignl(long double x, long double y) -{ - return copysign(x, y); -} diff --git a/lib/libc/mingw/math/arm64/floor.S b/lib/libc/mingw/math/arm64/floor.S deleted file mode 100644 index fc3f002d10..0000000000 --- a/lib/libc/mingw/math/arm64/floor.S +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "floor.S" - .text - .p2align 2 - .globl __MINGW_USYMBOL(floor) - .def __MINGW_USYMBOL(floor); .scl 2; .type 32; .endef -__MINGW_USYMBOL(floor): - frintm d0, d0 - ret diff --git a/lib/libc/mingw/math/arm64/floorf.S b/lib/libc/mingw/math/arm64/floorf.S deleted file mode 100644 index d24db92265..0000000000 --- a/lib/libc/mingw/math/arm64/floorf.S +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - #include <_mingw_mac.h> - - .file "floorf.S" - .text - .p2align 2 - .globl __MINGW_USYMBOL(floorf) - .def __MINGW_USYMBOL(floorf); .scl 2; .type 32; .endef -__MINGW_USYMBOL(floorf): - frintm s0, s0 - ret diff --git a/lib/libc/mingw/math/arm64/floorl.S b/lib/libc/mingw/math/arm64/floorl.S deleted file mode 100644 index 746738d6c4..0000000000 --- a/lib/libc/mingw/math/arm64/floorl.S +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - - .file "floorl.S" - .text - .align 2 - .globl __MINGW_USYMBOL(floorl) - .def __MINGW_USYMBOL(floorl); .scl 2; .type 32; .endef -__MINGW_USYMBOL(floorl): - frintm d0, d0 - ret diff --git a/lib/libc/mingw/math/arm64/ldexpl.c b/lib/libc/mingw/math/arm64/ldexpl.c deleted file mode 100644 index bfa32876d7..0000000000 --- a/lib/libc/mingw/math/arm64/ldexpl.c +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - -#include - -long double ldexpl(long double x, int n) -{ -#if defined(__aarch64__) || defined(_ARM64_) - return ldexp(x, n); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm64/log2.c b/lib/libc/mingw/math/arm64/log2.c deleted file mode 100644 index 6196f42276..0000000000 --- a/lib/libc/mingw/math/arm64/log2.c +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - -#include - -double log2(double x) -{ - return log(x) / 0.69314718246459960938; -} - -float log2f(float x) -{ - return logf(x) / 0.69314718246459960938f; -} - -long double log2l(long double x) -{ -#if defined(__aarch64__) || defined(_ARM64_) - return log2(x); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm64/scalbn.c b/lib/libc/mingw/math/arm64/scalbn.c deleted file mode 100644 index 212752c041..0000000000 --- a/lib/libc/mingw/math/arm64/scalbn.c +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - -#include - -double scalbn(double x, int exp) -{ - return x * exp2(exp); -} - -float scalbnf(float x, int exp) -{ - return x * exp2f(exp); -} - -long double scalbnl(long double x, int exp) -{ -#if defined(__aarch64__) || defined(_ARM64_) - return scalbn(x, exp); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/arm64/sincos.c b/lib/libc/mingw/math/arm64/sincos.c deleted file mode 100644 index 94f8244945..0000000000 --- a/lib/libc/mingw/math/arm64/sincos.c +++ /dev/null @@ -1,29 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ - -#include - -void sincos (double __x, double *p_sin, double *p_cos) -{ - *p_sin = sin(__x); - *p_cos = cos(__x); -} - -void sincosf (float __x, float *p_sin, float *p_cos) -{ - *p_sin = sinf(__x); - *p_cos = cosf(__x); -} - -void sincosl (long double __x, long double *p_sin, long double *p_cos) -{ -#if defined(__aarch64__) || defined(_ARM64_) - *p_sin = sin(__x); - *p_cos = cos(__x); -#else -#error Not supported on your platform yet -#endif -} diff --git a/lib/libc/mingw/math/coshl.c b/lib/libc/mingw/math/coshl.c index d7eb4b7cb5..c5aaa73ecf 100644 --- a/lib/libc/mingw/math/coshl.c +++ b/lib/libc/mingw/math/coshl.c @@ -5,6 +5,15 @@ */ #include "cephes_mconf.h" +#if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) +#include + +long double coshl(long double x) +{ + return cosh(x); +} +#else + #ifndef _SET_ERRNO #define _SET_ERRNO(x) #endif @@ -21,7 +30,7 @@ long double coshl(long double x) else if (x_class == FP_INFINITE) { errno = ERANGE; - return x; + return INFINITY; } x = fabsl (x); if (x > (MAXLOGL + LOGE2L)) @@ -43,3 +52,4 @@ long double coshl(long double x) y = 0.5L * (y + 1.0L / y); return y; } +#endif diff --git a/lib/libc/mingw/math/erfl.c b/lib/libc/mingw/math/erfl.c index 3832fe9e0c..1408cf5423 100644 --- a/lib/libc/mingw/math/erfl.c +++ b/lib/libc/mingw/math/erfl.c @@ -108,6 +108,17 @@ Copyright 1984, 1995 by Stephen L. Moshier long double erfl(long double x); +#if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) +long double erfcl(long double x) +{ + return erfc(x); +} + +long double erfl(long double x) +{ + return erf(x); +} +#else /* erfc(x) = exp(-x^2) P(1/x)/Q(1/x) 1/8 <= 1/x <= 1 Peak relative error 5.8e-21 */ @@ -243,6 +254,9 @@ long double erfcl(long double a) if (isinf (a)) return (signbit(a) ? 2.0 : 0.0); + if (isnan (a)) + return (a); + x = fabsl (a); if (x < 1.0L) @@ -301,3 +315,4 @@ long double erfl(long double x) y = x * polevll(z, T, 6) / p1evll(z, U, 6); return (y); } +#endif diff --git a/lib/libc/mingw/math/fp_constsl.c b/lib/libc/mingw/math/fp_constsl.c index c9855df8ab..8804082097 100644 --- a/lib/libc/mingw/math/fp_constsl.c +++ b/lib/libc/mingw/math/fp_constsl.c @@ -4,6 +4,7 @@ * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ #include "fp_consts.h" +#include const union _ieee_rep __QNANL = { __LONG_DOUBLE_QNAN_REP }; const union _ieee_rep __SNANL = { __LONG_DOUBLE_SNAN_REP }; @@ -15,6 +16,10 @@ const union _ieee_rep __DENORML = { __LONG_DOUBLE_DENORM_REP }; long double nanl (const char *); long double nanl (const char * tagp __attribute__((unused)) ) { +#if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) + return nan(""); +#else return __QNANL.ldouble_val; +#endif } diff --git a/lib/libc/mingw/math/fpclassifyl.c b/lib/libc/mingw/math/fpclassifyl.c index a7b0c553fc..3ee487e13d 100644 --- a/lib/libc/mingw/math/fpclassifyl.c +++ b/lib/libc/mingw/math/fpclassifyl.c @@ -7,20 +7,20 @@ int __fpclassifyl (long double _x){ #if defined(__x86_64__) || defined(_AMD64_) - __mingw_fp_types_t hlp; + __mingw_ldbl_type_t hlp; unsigned int e; - hlp.ld = &_x; - e = hlp.ldt->lh.sign_exponent & 0x7fff; + hlp.x = _x; + e = hlp.lh.sign_exponent & 0x7fff; if (!e) { - unsigned int h = hlp.ldt->lh.high; - if (!(hlp.ldt->lh.low | h)) + unsigned int h = hlp.lh.high; + if (!(hlp.lh.low | h)) return FP_ZERO; else if (!(h & 0x80000000)) return FP_SUBNORMAL; } else if (e == 0x7fff) - return (((hlp.ldt->lh.high & 0x7fffffff) | hlp.ldt->lh.low) == 0 ? + return (((hlp.lh.high & 0x7fffffff) | hlp.lh.low) == 0 ? FP_INFINITE : FP_NAN); return FP_NORMAL; #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) diff --git a/lib/libc/mingw/math/hypotl.c b/lib/libc/mingw/math/hypotl.c index 9696f2b163..563aeb4987 100644 --- a/lib/libc/mingw/math/hypotl.c +++ b/lib/libc/mingw/math/hypotl.c @@ -23,7 +23,6 @@ Direct inquiries to 30 Frost Street, Cambridge, MA 02140 by scalbnl to avoid duplicated range checks. */ -extern long double __INFL; #define PRECL 32 long double @@ -38,7 +37,7 @@ hypotl (long double x, long double y) { /* Annex F.9.4.3, hypot returns +infinity if either component is an infinity, even when the - other compoent is NaN. */ + other component is NaN. */ return (isinf(xx) || isinf(yy)) ? INFINITY : NAN; } @@ -73,7 +72,7 @@ hypotl (long double x, long double y) if (exx > LDBL_MAX_EXP) { errno = ERANGE; - return __INFL; + return INFINITY; } if (exx < LDBL_MIN_EXP) return 0.0L; diff --git a/lib/libc/mingw/math/isnanl.c b/lib/libc/mingw/math/isnanl.c index 5eb31d90f9..ff4ca6e423 100644 --- a/lib/libc/mingw/math/isnanl.c +++ b/lib/libc/mingw/math/isnanl.c @@ -9,12 +9,12 @@ int __isnanl (long double _x) { #if defined(__x86_64__) || defined(_AMD64_) - __mingw_fp_types_t ld; + __mingw_ldbl_type_t ld; int xx, signexp; - ld.ld = &_x; - signexp = (ld.ldt->lh.sign_exponent & 0x7fff) << 1; - xx = (int) (ld.ldt->lh.low | (ld.ldt->lh.high & 0x7fffffffu)); /* explicit */ + ld.x = _x; + signexp = (ld.lh.sign_exponent & 0x7fff) << 1; + xx = (int) (ld.lh.low | (ld.lh.high & 0x7fffffffu)); /* explicit */ signexp |= (unsigned int) (xx | (-xx)) >> 31; signexp = 0xfffe - signexp; return (int) ((unsigned int) signexp) >> 16; diff --git a/lib/libc/mingw/math/lgammaf.c b/lib/libc/mingw/math/lgammaf.c index 8c527dffc7..b6a0581d54 100644 --- a/lib/libc/mingw/math/lgammaf.c +++ b/lib/libc/mingw/math/lgammaf.c @@ -52,7 +52,7 @@ float __lgammaf_r(float x, int* sgngamf) #ifdef INFINITIES if (!isfinite(x)) - return (x); + return (INFINITY); #endif if (x < 0.0) diff --git a/lib/libc/mingw/math/lgammal.c b/lib/libc/mingw/math/lgammal.c index edb9a7ebfb..998c6a90dd 100644 --- a/lib/libc/mingw/math/lgammal.c +++ b/lib/libc/mingw/math/lgammal.c @@ -5,6 +5,15 @@ */ #include "cephes_mconf.h" +#if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) +double lgamma(double x); + +long double lgammal(long double x) +{ + return lgamma(x); +} +#else + #if UNK static uLD S[9] = { { { -1.193945051381510095614E-3L } }, @@ -216,7 +225,7 @@ long double __lgammal_r(long double x, int* sgngaml) *sgngaml = 1; #ifdef NANS if (isnanl(x)) - return(NANL); + return x; #endif #ifdef INFINITIES if (!isfinitel(x)) @@ -334,4 +343,4 @@ long double lgammal(long double x) { return (__lgammal_r (x, &signgam)); } - +#endif diff --git a/lib/libc/mingw/math/llrint.c b/lib/libc/mingw/math/llrint.c index 8b138c07f3..4ba7af7e6b 100644 --- a/lib/libc/mingw/math/llrint.c +++ b/lib/libc/mingw/math/llrint.c @@ -19,8 +19,23 @@ long long llrint (double x) retval = (long long)ceil(x); else if (mode == FE_TOWARDZERO) retval = x >= 0 ? (long long)floor(x) : (long long)ceil(x); - else - retval = x >= 0 ? (long long)floor(x + 0.5) : (long long)ceil(x - 0.5); + else { + // Break `x` into integral and fractional parts. + double intg, frac; + frac = modf(x, &intg); + frac = fabs(frac); + // Convert the truncated integral part to an integer. + retval = intg; + if (frac < 0.5) { + // Round towards zero. + } else if (frac > 0.5) { + // Round towards infinities. + retval += signbit(x) ? -1 : 1; + } else { + // Round to the nearest even number. + retval += retval % 2; + } + } #endif return retval; } diff --git a/lib/libc/mingw/math/llrintf.c b/lib/libc/mingw/math/llrintf.c index 1b2a422ea0..e8085ec4ea 100644 --- a/lib/libc/mingw/math/llrintf.c +++ b/lib/libc/mingw/math/llrintf.c @@ -19,8 +19,23 @@ long long llrintf (float x) retval = (long long)ceilf(x); else if (mode == FE_TOWARDZERO) retval = x >= 0 ? (long long)floorf(x) : (long long)ceilf(x); - else - retval = x >= 0 ? (long long)floorf(x + 0.5) : (long long)ceilf(x - 0.5); + else { + // Break `x` into integral and fractional parts. + float intg, frac; + frac = modff(x, &intg); + frac = fabsf(frac); + // Convert the truncated integral part to an integer. + retval = intg; + if (frac < 0.5) { + // Round towards zero. + } else if (frac > 0.5) { + // Round towards infinities. + retval += signbit(x) ? -1 : 1; + } else { + // Round to the nearest even number. + retval += retval % 2; + } + } #endif return retval; } diff --git a/lib/libc/mingw/math/llrintl.c b/lib/libc/mingw/math/llrintl.c index ac06ab2953..6a2bf73d8f 100644 --- a/lib/libc/mingw/math/llrintl.c +++ b/lib/libc/mingw/math/llrintl.c @@ -19,8 +19,23 @@ long long llrintl (long double x) retval = (long long)ceil(x); else if (mode == FE_TOWARDZERO) retval = x >= 0 ? (long long)floor(x) : (long long)ceil(x); - else - retval = x >= 0 ? (long long)floor(x + 0.5) : (long long)ceil(x - 0.5); + else { + // Break `x` into integral and fractional parts. + long double intg, frac; + frac = modfl(x, &intg); + frac = fabsl(frac); + // Convert the truncated integral part to an integer. + retval = intg; + if (frac < 0.5) { + // Round towards zero. + } else if (frac > 0.5) { + // Round towards infinities. + retval += signbit(x) ? -1 : 1; + } else { + // Round to the nearest even number. + retval += retval % 2; + } + } #endif return retval; } diff --git a/lib/libc/mingw/math/signbitl.c b/lib/libc/mingw/math/signbitl.c index 723933dbb9..19f2938dbc 100644 --- a/lib/libc/mingw/math/signbitl.c +++ b/lib/libc/mingw/math/signbitl.c @@ -3,33 +3,16 @@ * No warranty is given; refer to the file DISCLAIMER within this package. */ -typedef union __mingw_ldbl_type_t -{ - long double x; - __extension__ struct { - unsigned int low, high; - int sign_exponent : 16; - int res1 : 16; - int res0 : 32; - } lh; -} __mingw_ldbl_type_t; - -typedef union __mingw_fp_types_t -{ - long double *ld; - __mingw_ldbl_type_t *ldt; -} __mingw_fp_types_t; +#include #define __FP_SIGNBIT 0x0200 -extern int __signbit (double x); -int __signbitl (long double x); int __signbitl (long double x) { #if defined(__x86_64__) || defined(_AMD64_) - __mingw_fp_types_t ld; - ld.ld = &x; - return ((ld.ldt->lh.sign_exponent & 0x8000) != 0); + __mingw_ldbl_type_t ld; + ld.x = x; + return ((ld.lh.sign_exponent & 0x8000) != 0); #elif defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) return __signbit(x); #elif defined(__i386__) || defined(_X86_) diff --git a/lib/libc/mingw/math/sinhl.c b/lib/libc/mingw/math/sinhl.c index 4db0e51ffa..aa6f0a9c34 100644 --- a/lib/libc/mingw/math/sinhl.c +++ b/lib/libc/mingw/math/sinhl.c @@ -6,6 +6,15 @@ #include "cephes_mconf.h" #include +#if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) +#include + +long double sinhl(long double x) +{ + return sinh(x); +} +#else + #ifdef UNK static uLD P[] = { { { 1.7550769032975377032681E-6L } }, @@ -97,4 +106,4 @@ long double sinhl(long double x) a *= a; return (x + x * a * (polevll(a,P,3)/polevll(a,Q,4))); } - +#endif diff --git a/lib/libc/mingw/math/tanhl.c b/lib/libc/mingw/math/tanhl.c index 2c48a6aab8..da3fc5e25d 100644 --- a/lib/libc/mingw/math/tanhl.c +++ b/lib/libc/mingw/math/tanhl.c @@ -8,6 +8,15 @@ #define _SET_ERRNO(x) #endif +#if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) +#include + +long double tanhl(long double x) +{ + return tanh(x); +} +#else + #ifdef UNK static uLD P[] = { { { -6.8473739392677100872869E-5L } }, @@ -89,4 +98,4 @@ long double tanhl(long double x) } return (z); } - +#endif diff --git a/lib/libc/mingw/math/tgamma.c b/lib/libc/mingw/math/tgamma.c index a75f7a9c8d..f652d80a36 100644 --- a/lib/libc/mingw/math/tgamma.c +++ b/lib/libc/mingw/math/tgamma.c @@ -168,6 +168,9 @@ double __tgamma_r(double x, int *sgngam) return (x); #endif #endif + if (x == 0.0) + return copysign(HUGE_VAL, x); + q = fabs(x); if (q > 33.0) @@ -180,8 +183,8 @@ double __tgamma_r(double x, int *sgngam) gsing: _SET_ERRNO(EDOM); mtherr("tgamma", SING); -#ifdef INFINITIES - return (INFINITY); +#ifdef NANS + return (NAN); #else return (MAXNUM); #endif diff --git a/lib/libc/mingw/math/tgammaf.c b/lib/libc/mingw/math/tgammaf.c index 771b55c779..742d146418 100644 --- a/lib/libc/mingw/math/tgammaf.c +++ b/lib/libc/mingw/math/tgammaf.c @@ -82,6 +82,8 @@ float __tgammaf_r( float x, int* sgngamf) return (x); #endif #endif + if (x == 0.0) + return copysignf(HUGE_VALF, x); *sgngamf = 1; negative = 0; @@ -96,8 +98,8 @@ float __tgammaf_r( float x, int* sgngamf) gsing: _SET_ERRNO(EDOM); mtherr("tgammaf", SING); -#ifdef INFINITIES - return (INFINITYF); +#ifdef NANS + return (NAN); #else return (MAXNUMF); #endif diff --git a/lib/libc/mingw/math/tgammal.c b/lib/libc/mingw/math/tgammal.c index 99408eed7e..1c7d4ea945 100644 --- a/lib/libc/mingw/math/tgammal.c +++ b/lib/libc/mingw/math/tgammal.c @@ -5,6 +5,14 @@ */ #include "cephes_mconf.h" +#if defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_) +double tgamma(double x); + +long double tgammal(long double x) +{ + return tgamma(x); +} +#else /* gamma(x+2) = gamma(x+2) P(x)/Q(x) 0 <= x <= 1 @@ -272,7 +280,7 @@ long double __tgammal_r(long double x, int* sgngaml) *sgngaml = 1; #ifdef NANS if (isnanl(x)) - return (NANL); + return x; #endif #ifdef INFINITIES #ifdef NANS @@ -285,6 +293,9 @@ long double __tgammal_r(long double x, int* sgngaml) return (x); #endif #endif + if (x == 0.0L) + return copysignl(HUGE_VALL, x); + q = fabsl(x); if (q > 13.0L) @@ -299,8 +310,8 @@ long double __tgammal_r(long double x, int* sgngaml) gsing: _SET_ERRNO(EDOM); mtherr("tgammal", SING); -#ifdef INFINITIES - return (INFINITYL); +#ifdef NANS + return (NAN); #else return (*sgngaml * MAXNUML); #endif @@ -390,4 +401,4 @@ long double tgammal(long double x) int local_sgngaml = 0; return (__tgammal_r(x, &local_sgngaml)); } - +#endif diff --git a/lib/libc/mingw/math/x86/acosh.def.h b/lib/libc/mingw/math/x86/acosh.def.h index 7ecf08beba..3a7e07763e 100644 --- a/lib/libc/mingw/math/x86/acosh.def.h +++ b/lib/libc/mingw/math/x86/acosh.def.h @@ -50,15 +50,19 @@ __FLT_TYPE __FLT_ABI(acosh) (__FLT_TYPE x) { int x_class = fpclassify (x); - if (x_class == FP_NAN || x < __FLT_CST(1.0)) + if (x_class == FP_NAN) + { + __FLT_RPT_DOMAIN ("acosh", x, 0.0, x); + return x; + } + else if (x < __FLT_CST(1.0)) { __FLT_RPT_DOMAIN ("acosh", x, 0.0, __FLT_NAN); return __FLT_NAN; } else if (x_class == FP_INFINITE) { - __FLT_RPT_DOMAIN ("acosh", x, 0.0, __FLT_NAN); - return __FLT_NAN; + return INFINITY; } if (x > __FLT_CST(0x1p32)) diff --git a/lib/libc/mingw/math/x86/frexpl.S b/lib/libc/mingw/math/x86/frexpl.S deleted file mode 100644 index f9fcc6be1c..0000000000 --- a/lib/libc/mingw/math/x86/frexpl.S +++ /dev/null @@ -1,130 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include <_mingw_mac.h> - -/* - * frexpl(long double x, int* expnt) extracts the exponent from x. - * It returns an integer power of two to expnt and the significand - * between 0.5 and 1 to y. Thus x = y * 2**expn. - */ -#ifdef __x86_64__ - .align 8 -#else - .align 2 -#endif -.globl __MINGW_USYMBOL(frexpl) -__MINGW_USYMBOL(frexpl): -#ifdef __x86_64__ - pushq %rbp - movq %rsp,%rbp - subq $48,%rsp - pushq %rsi - fldt (%rdx) - movq %rcx,%r9 - fld %st(0) - fstpt -12(%rbp) - leaq -4(%rbp),%rcx - movw -4(%rbp),%dx - andl $32767,%edx - jne L25 - fldz - fucompp - fnstsw %ax - andb $68,%ah - xorb $64,%ah - jne L21 - movl $0,(%r8) - fldz - jmp L24 - .align 4,0x90 - .align 4,0x90 -L21: - fldt -12(%rbp) - fadd %st(0),%st - fstpt -12(%rbp) - decl %edx - movw (%rcx),%si - andl $32767,%esi - jne L22 - cmpl $-66,%edx - jg L21 -L22: - add %esi,%edx - jmp L19 - .align 2,0x90 -L25: - fstp %st(0) -L19: - addl $-16382,%edx - movl %edx,(%r8) - movw (%rcx),%ax - andl $-32768,%eax - orl $16382,%eax - movw %ax,(%rcx) - fldt -12(%rbp) -L24: - popq %rsi - movq %r9,%rax - movq $0,8(%r9) - fstpt (%r9) - leave - ret -#else - pushl %ebp - movl %esp,%ebp - subl $24,%esp - pushl %esi - pushl %ebx - fldt 8(%ebp) - movl 20(%ebp),%ebx - fld %st(0) - fstpt -12(%ebp) - leal -4(%ebp),%ecx - movw -4(%ebp),%dx - andl $32767,%edx - jne L25 - fldz - fucompp - fnstsw %ax - andb $68,%ah - xorb $64,%ah - jne L21 - movl $0,(%ebx) - fldz - jmp L24 - .align 2,0x90 - .align 2,0x90 -L21: - fldt -12(%ebp) - fadd %st(0),%st - fstpt -12(%ebp) - decl %edx - movw (%ecx),%si - andl $32767,%esi - jne L22 - cmpl $-66,%edx - jg L21 -L22: - addl %esi,%edx - jmp L19 - .align 2,0x90 -L25: - fstp %st(0) -L19: - addl $-16382,%edx - movl %edx,(%ebx) - movw (%ecx),%ax - andl $-32768,%eax - orl $16382,%eax - movw %ax,(%ecx) - fldt -12(%ebp) -L24: - leal -32(%ebp),%esp - popl %ebx - popl %esi - leave - ret -#endif diff --git a/lib/libc/mingw/math/x86/ilogb.S b/lib/libc/mingw/math/x86/ilogb.S index c54f350d0a..b3bf1d2167 100644 --- a/lib/libc/mingw/math/x86/ilogb.S +++ b/lib/libc/mingw/math/x86/ilogb.S @@ -45,9 +45,7 @@ ilogb (double x) if (hx < 0x7ff00000) return (hx >> 20) - 1023; lx = hlp.lh.low; - if (((hx ^ 0x7ff00000) | lx) == 0) - return 0x7fffffff; - return 0x80000000; + return 0x7fffffff; } */ subq $24, %rsp .seh_stackalloc 24 @@ -80,13 +78,7 @@ ilogb (double x) .L2: cmpl $2146435071, %edx jle .L13 - movsd %xmm0, 8(%rsp) - movq 8(%rsp), %rax - xorl $2146435072, %edx - orl %eax, %edx - cmpl $1, %edx - sbbl %eax, %eax - addl $-2147483648, %eax + movl $2147483647, %eax .L3: addq $24, %rsp ret @@ -126,6 +118,8 @@ ilogb (double x) andb %ah, %dh cmpb $0x05, %dh je 1f /* Is +-Inf, jump. */ + cmpb $0x01, %dh + je 1f /* Is NaN, jump. */ fxtract pushl %eax diff --git a/lib/libc/mingw/math/x86/ilogbf.S b/lib/libc/mingw/math/x86/ilogbf.S index 8b2465564a..4f860dd691 100644 --- a/lib/libc/mingw/math/x86/ilogbf.S +++ b/lib/libc/mingw/math/x86/ilogbf.S @@ -34,9 +34,7 @@ ilogbf (float x) } if (hx < 0x7f800000) return (hx >> 23) - 127; - if (hx == 0x7f800000) - return 0x7fffffff; - return 0x80000000; + return 0x7fffffff; } */ subq $24, %rsp .seh_stackalloc 24 @@ -65,10 +63,7 @@ ilogbf (float x) .L2: cmpl $2139095039, %edx jle .L10 - cmpl $2139095040, %edx movl $2147483647, %eax - movl $-2147483648, %edx - cmovne %edx, %eax addq $24, %rsp ret .p2align 4,,10 @@ -92,6 +87,8 @@ ilogbf (float x) andb %ah, %dh cmpb $0x05, %dh je 1f /* Is +-Inf, jump. */ + cmpb $0x01, %dh + je 1f /* Is Nan, jump. */ fxtract pushl %eax diff --git a/lib/libc/mingw/math/x86/ilogbl.S b/lib/libc/mingw/math/x86/ilogbl.S index f68082ce63..14be7e54cd 100644 --- a/lib/libc/mingw/math/x86/ilogbl.S +++ b/lib/libc/mingw/math/x86/ilogbl.S @@ -23,6 +23,8 @@ __MINGW_USYMBOL(ilogbl): andb %ah, %dh cmpb $0x05, %dh je 1f /* Is +-Inf, jump. */ + cmpb $0x01, %dh + je 1f /* Is NaN, jump. */ fxtract pushq %rax @@ -48,6 +50,8 @@ __MINGW_USYMBOL(ilogbl): andb %ah, %dh cmpb $0x05, %dh je 1f /* Is +-Inf, jump. */ + cmpb $0x01, %dh + je 1f /* Is NaN, jump. */ fxtract pushl %eax diff --git a/lib/libc/mingw/math/x86/log.def.h b/lib/libc/mingw/math/x86/log.def.h index 9428f90ce6..a0d54b73d9 100644 --- a/lib/libc/mingw/math/x86/log.def.h +++ b/lib/libc/mingw/math/x86/log.def.h @@ -56,6 +56,8 @@ __FLT_ABI(log) (__FLT_TYPE x) __FLT_RPT_ERANGE ("log", x, 0.0, -__FLT_HUGE_VAL, 1); return -__FLT_HUGE_VAL; } + else if (x_class == FP_NAN) + return x; else if (signbit (x)) { __FLT_RPT_DOMAIN ("log", x, 0.0, __FLT_NAN); @@ -63,7 +65,5 @@ __FLT_ABI(log) (__FLT_TYPE x) } else if (x_class == FP_INFINITE) return __FLT_HUGE_VAL; - else if (x_class == FP_NAN) - return __FLT_NAN; return (__FLT_TYPE) __logl_internal ((long double) x); } diff --git a/lib/libc/mingw/math/x86/logb.c b/lib/libc/mingw/math/x86/logb.c index 0c0475d932..d522110e2a 100644 --- a/lib/libc/mingw/math/x86/logb.c +++ b/lib/libc/mingw/math/x86/logb.c @@ -25,8 +25,10 @@ logb (double x) return -1.0 / fabs (x); if (hx >= 0x7ff00000) return x * x; - if ((hx >>= 20) == 0) /* IEEE 754 logb */ - return -1022.0; + if ((hx >>= 20) == 0) { + unsigned long long mantissa = hlp.val & 0xfffffffffffffULL; + return -1023.0 - (__builtin_clzll(mantissa) - 12); + } return (double) (hx - 1023); #else double res = 0.0; diff --git a/lib/libc/mingw/math/x86/logbf.c b/lib/libc/mingw/math/x86/logbf.c index 158b29b7b7..2d62233ed5 100644 --- a/lib/libc/mingw/math/x86/logbf.c +++ b/lib/libc/mingw/math/x86/logbf.c @@ -24,8 +24,8 @@ logbf (float x) return (float)-1.0 / fabsf (x); if (v >= 0x7f800000) return x * x; - if ((v >>= 23) == 0) /* IEEE 754 logb */ - return -126.0; + if ((v >>= 23) == 0) + return -127.0 - (__builtin_clzl(hlp.val & 0x7fffff) - 9); return (float) (v - 127); #else float res = 0.0F; diff --git a/lib/libc/mingw/math/x86/pow.def.h b/lib/libc/mingw/math/x86/pow.def.h index 375b02b9d3..0cf0739fee 100644 --- a/lib/libc/mingw/math/x86/pow.def.h +++ b/lib/libc/mingw/math/x86/pow.def.h @@ -121,9 +121,13 @@ __FLT_ABI(pow) (__FLT_TYPE x, __FLT_TYPE y) return __FLT_CST(1.0); else if (x_class == FP_NAN || y_class == FP_NAN) { - rslt = (signbit(x) ? -__FLT_NAN : __FLT_NAN); - __FLT_RPT_DOMAIN ("pow", x, y, rslt); - return rslt; + if (x_class == FP_NAN) { + __FLT_RPT_DOMAIN ("pow", x, y, x); + return x; + } else { + __FLT_RPT_DOMAIN ("pow", x, y, y); + return y; + } } else if (x_class == FP_ZERO) { diff --git a/lib/libc/mingw/misc/assert.c b/lib/libc/mingw/misc/assert.c deleted file mode 100644 index 0bebb7e97f..0000000000 --- a/lib/libc/mingw/misc/assert.c +++ /dev/null @@ -1,31 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include -#include -#include -#include -#include - -void __cdecl _wassert (const wchar_t *, const wchar_t *,unsigned); -void __cdecl _assert (const char *, const char *, unsigned); - -void __cdecl -_assert (const char *_Message, const char *_File, unsigned _Line) -{ - wchar_t *m, *f; - int i; - m = (wchar_t *) malloc ((strlen (_Message) + 1) * sizeof (wchar_t)); - f = (wchar_t *) malloc ((strlen (_File) + 1) * sizeof (wchar_t)); - for (i = 0; _Message[i] != 0; i++) - m[i] = ((wchar_t) _Message[i]) & 0xff; - m[i] = 0; - for (i = 0; _File[i] != 0; i++) - f[i] = ((wchar_t) _File[i]) & 0xff; - f[i] = 0; - _wassert (m, f, _Line); - free (m); - free (f); -} diff --git a/lib/libc/mingw/misc/difftime.c b/lib/libc/mingw/misc/difftime.c deleted file mode 100644 index 5d49f52912..0000000000 --- a/lib/libc/mingw/misc/difftime.c +++ /dev/null @@ -1,21 +0,0 @@ -#define __CRT__NO_INLINE -#include -#include - -/* FIXME: Relying on _USE_32BIT_TIME_T, which is a user-macro, -during CRT compilation is plainly broken. Need an appropriate -implementation to provide users the ability of compiling the -CRT only with 32-bit time_t behavior. */ - -#ifndef _USE_32BIT_TIME_T -double __cdecl difftime(time_t _Time1,time_t _Time2) -{ - return _difftime64(_Time1,_Time2); -} -#else -double __cdecl difftime(time_t _Time1,time_t _Time2) -{ - return _difftime32(_Time1,_Time2); -} -#endif - diff --git a/lib/libc/mingw/misc/difftime32.c b/lib/libc/mingw/misc/difftime32.c deleted file mode 100644 index b893944414..0000000000 --- a/lib/libc/mingw/misc/difftime32.c +++ /dev/null @@ -1,9 +0,0 @@ -#include - -double __cdecl _difftime32(__time32_t _Time1,__time32_t _Time2) -{ - __time32_t r = _Time1 - _Time2; - if (r > _Time1) - return -((double) (_Time2 - _Time1)); - return (double) r; -} diff --git a/lib/libc/mingw/misc/difftime64.c b/lib/libc/mingw/misc/difftime64.c deleted file mode 100644 index 54f9a12af9..0000000000 --- a/lib/libc/mingw/misc/difftime64.c +++ /dev/null @@ -1,9 +0,0 @@ -#include - -double __cdecl _difftime64(__time64_t _Time1,__time64_t _Time2) -{ - __time64_t r = _Time1 - _Time2; - if (r > _Time1) - return -((double) (_Time2 - _Time1)); - return (double) r; -} diff --git a/lib/libc/mingw/misc/execv.c b/lib/libc/mingw/misc/execv.c deleted file mode 100644 index 50fd232495..0000000000 --- a/lib/libc/mingw/misc/execv.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int __cdecl execv(const char *_Filename,char *const _ArgList[]) -{ - return _execv (_Filename, (const char *const *)_ArgList); -} diff --git a/lib/libc/mingw/misc/execve.c b/lib/libc/mingw/misc/execve.c deleted file mode 100644 index 6ab039ea1f..0000000000 --- a/lib/libc/mingw/misc/execve.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int __cdecl execve(const char *_Filename,char *const _ArgList[],char *const _Env[]) -{ - return _execve (_Filename, (const char *const *)_ArgList, (const char * const *)_Env); -} diff --git a/lib/libc/mingw/misc/execvp.c b/lib/libc/mingw/misc/execvp.c deleted file mode 100644 index b11ab3f40b..0000000000 --- a/lib/libc/mingw/misc/execvp.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int __cdecl execvp(const char *_Filename,char *const _ArgList[]) -{ - return _execvp (_Filename, (const char *const *)_ArgList); -} diff --git a/lib/libc/mingw/misc/execvpe.c b/lib/libc/mingw/misc/execvpe.c deleted file mode 100644 index f6fa80ad40..0000000000 --- a/lib/libc/mingw/misc/execvpe.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int __cdecl execvpe(const char *_Filename,char *const _ArgList[],char *const _Env[]) -{ - return _execvpe (_Filename, (const char *const *)_ArgList, (const char *const *)_Env); -} diff --git a/lib/libc/mingw/misc/fesetenv.c b/lib/libc/mingw/misc/fesetenv.c index f998017b4f..a3279bddd2 100644 --- a/lib/libc/mingw/misc/fesetenv.c +++ b/lib/libc/mingw/misc/fesetenv.c @@ -52,7 +52,7 @@ int fesetenv (const fenv_t * envp) else if (envp == FE_PC53_ENV) /* * MS _fpreset() does same *except* it sets control word - * to 0x27f (53-bit precison). + * to 0x27f (53-bit precision). * We force calling _fpreset in msvcrt.dll */ @@ -65,16 +65,17 @@ int fesetenv (const fenv_t * envp) else { fenv_t env = *envp; + int has_sse = __mingw_has_sse (); int _mxcsr; - __asm__ ("fnstenv %0\n" - "stmxcsr %1" : "=m" (*&env), "=m" (*&_mxcsr)); /*_mxcsr = ((int)envp->__unused0 << 16) | (int)envp->__unused1; *//* mxcsr low and high */ + if (has_sse) + __asm__ ("stmxcsr %0" : "=m" (*&_mxcsr)); env.__unused0 = 0xffff; env.__unused1 = 0xffff; __asm__ volatile ("fldenv %0" : : "m" (env) : "st", "st(1)", "st(2)", "st(3)", "st(4)", "st(5)", "st(6)", "st(7)"); - if (__mingw_has_sse ()) + if (has_sse) __asm__ volatile ("ldmxcsr %0" : : "m" (*&_mxcsr)); } diff --git a/lib/libc/mingw/misc/feupdateenv.c b/lib/libc/mingw/misc/feupdateenv.c index 4a89d0b2c2..aea95902bb 100644 --- a/lib/libc/mingw/misc/feupdateenv.c +++ b/lib/libc/mingw/misc/feupdateenv.c @@ -19,7 +19,7 @@ int feupdateenv (const fenv_t * envp) { unsigned int _fexcept = fetestexcept (FE_ALL_EXCEPT); /*save excepts */ fesetenv (envp); /* install the env */ - feraiseexcept (_fexcept); /* raise the execept */ + feraiseexcept (_fexcept); /* raise the except */ return 0; } diff --git a/lib/libc/mingw/misc/mbrtowc.c b/lib/libc/mingw/misc/mbrtowc.c index c3091cb4b5..2eb480749f 100644 --- a/lib/libc/mingw/misc/mbrtowc.c +++ b/lib/libc/mingw/misc/mbrtowc.c @@ -137,13 +137,10 @@ mbsrtowcs (wchar_t* __restrict__ dst, const char ** __restrict__ src, else { wchar_t byte_bucket = 0; - while ((ret = __mbrtowc_cp (&byte_bucket, *src, mb_max, + while ((ret = __mbrtowc_cp (&byte_bucket, *src + n, mb_max, internal_ps, cp, mb_max)) > 0) - { - *src += ret; - n += ret; - } + n += ret; } return n; } diff --git a/lib/libc/mingw/misc/mingw_getsp.S b/lib/libc/mingw/misc/mingw_getsp.S index 5d224d1409..1e83b7383c 100644 --- a/lib/libc/mingw/misc/mingw_getsp.S +++ b/lib/libc/mingw/misc/mingw_getsp.S @@ -28,125 +28,3 @@ __MINGW_USYMBOL(mingw_getsp): mov x0, sp ret #endif - -/* On ARM: - * Error: cannot represent BFD_RELOC_32_PCREL relocation in this object file format - * But anyway, nothing is needed here as libarm32/libmsvcrt.a is exporting longjmp - ldr ip, 1f - ldr pc, [pc, ip] - 1: .long __imp_longjmp - (1b + 4) -*/ -#if !(defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__)) - .globl __MINGW_USYMBOL(longjmp) - .def __MINGW_USYMBOL(longjmp); .scl 2; .type 32; .endef -__MINGW_USYMBOL(longjmp): -#if defined(_AMD64_) || defined(__x86_64__) -#ifndef __SEH__ - xorq %rax,%rax - movq %rax, (%rcx) -#endif - leaq __MINGW_IMP_LSYMBOL(longjmp)(%rip), %rax - jmpq *(%rax) -#elif defined(_X86_) || defined(__i386__) - jmp *__imp__longjmp -#endif -#endif /* !(defined(_ARM_) || defined(__arm__)) */ - -#if defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__) - .globl __MINGW_USYMBOL(__mingw_setjmp) - .def __MINGW_USYMBOL(__mingw_setjmp); .scl 2; .type 32; .endef -__MINGW_USYMBOL(__mingw_setjmp): -#if defined(_ARM_) || defined(__arm__) - mov r1, #0 - str r1, [r0] /* jmp_buf->Frame */ - str r4, [r0, #0x4] /* jmp_buf->R4 */ - str r5, [r0, #0x8] /* jmp_buf->R5 */ - str r6, [r0, #0xc] /* jmp_buf->R6 */ - str r7, [r0, #0x10] /* jmp_buf->R7 */ - str r8, [r0, #0x14] /* jmp_buf->R8 */ - str r9, [r0, #0x18] /* jmp_buf->R9 */ - str r10, [r0, #0x1c] /* jmp_buf->R10 */ - str r11, [r0, #0x20] /* jmp_buf->R11 */ - str sp, [r0, #0x24] /* jmp_buf->Sp */ - str lr, [r0, #0x28] /* jmp_buf->Pc */ - vmrs r2, fpscr - str r2, [r0, #0x2c] /* jmp_buf->Fpscr */ - vstr d8, [r0, #0x30] /* jmp_buf->D[0] */ - vstr d9, [r0, #0x38] /* jmp_buf->D[1] */ - vstr d10, [r0, #0x40] /* jmp_buf->D[2] */ - vstr d11, [r0, #0x48] /* jmp_buf->D[3] */ - vstr d12, [r0, #0x50] /* jmp_buf->D[4] */ - vstr d13, [r0, #0x58] /* jmp_buf->D[5] */ - vstr d14, [r0, #0x60] /* jmp_buf->D[6] */ - vstr d15, [r0, #0x68] /* jmp_buf->D[7] */ - mov r0, #0 - bx lr -#elif defined(_ARM64_) || defined(__aarch64__) - str xzr, [x0] /* jmp_buf->Frame */ - stp x19, x20, [x0, #0x10] /* jmp_buf->X19, X20 */ - stp x21, x22, [x0, #0x20] /* jmp_buf->X21, X22 */ - stp x23, x24, [x0, #0x30] /* jmp_buf->X23, X24 */ - stp x25, x26, [x0, #0x40] /* jmp_buf->X25, X26 */ - stp x27, x28, [x0, #0x50] /* jmp_buf->X27, X28 */ - stp x29, x30, [x0, #0x60] /* jmp_buf->Fp, Lr */ - mov x2, sp - str x2, [x0, #0x70] /* jmp_buf->Sp */ - mrs x2, fpcr - str w2, [x0, #0x78] /* jmp_buf->Fpcr */ - mrs x2, fpsr - str w2, [x0, #0x7c] /* jmp_buf->Fpsr */ - stp d8, d9, [x0, #0x80] /* jmp_buf->D[0-1] */ - stp d10, d11, [x0, #0x90] /* jmp_buf->D[2-3] */ - stp d12, d13, [x0, #0xa0] /* jmp_buf->D[4-5] */ - stp d14, d15, [x0, #0xb0] /* jmp_buf->D[6-7] */ - mov x0, #0 - ret -#endif - - .globl __MINGW_USYMBOL(__mingw_longjmp) - .def __MINGW_USYMBOL(__mingw_longjmp); .scl 2; .type 32; .endef -__MINGW_USYMBOL(__mingw_longjmp): -#if defined(_ARM_) || defined(__arm__) - ldr r4, [r0, #0x4] /* jmp_buf->R4 */ - ldr r5, [r0, #0x8] /* jmp_buf->R5 */ - ldr r6, [r0, #0xc] /* jmp_buf->R6 */ - ldr r7, [r0, #0x10] /* jmp_buf->R7 */ - ldr r8, [r0, #0x14] /* jmp_buf->R8 */ - ldr r9, [r0, #0x18] /* jmp_buf->R9 */ - ldr r10, [r0, #0x1c] /* jmp_buf->R10 */ - ldr r11, [r0, #0x20] /* jmp_buf->R11 */ - ldr sp, [r0, #0x24] /* jmp_buf->Sp */ - ldr r2, [r0, #0x28] /* jmp_buf->Pc */ - ldr r3, [r0, #0x2c] /* jmp_buf->Fpscr */ - vmsr fpscr, r3 - vldr d8, [r0, #0x30] /* jmp_buf->D[0] */ - vldr d9, [r0, #0x38] /* jmp_buf->D[1] */ - vldr d10, [r0, #0x40] /* jmp_buf->D[2] */ - vldr d11, [r0, #0x48] /* jmp_buf->D[3] */ - vldr d12, [r0, #0x50] /* jmp_buf->D[4] */ - vldr d13, [r0, #0x58] /* jmp_buf->D[5] */ - vldr d14, [r0, #0x60] /* jmp_buf->D[6] */ - vldr d15, [r0, #0x68] /* jmp_buf->D[7] */ - mov r0, r1 /* retval */ - bx r2 -#elif defined(_ARM64_) || defined(__aarch64__) - ldp x19, x20, [x0, #0x10] /* jmp_buf->X19, X20 */ - ldp x21, x22, [x0, #0x20] /* jmp_buf->X21, X22 */ - ldp x23, x24, [x0, #0x30] /* jmp_buf->X23, X24 */ - ldp x25, x26, [x0, #0x40] /* jmp_buf->X25, X26 */ - ldp x27, x28, [x0, #0x50] /* jmp_buf->X27, X28 */ - ldp x29, x30, [x0, #0x60] /* jmp_buf->Fp, Lr */ - ldr x2, [x0, #0x70] /* jmp_buf->Sp */ - mov sp, x2 - ldr w2, [x0, #0x78] /* jmp_buf->Fpcr */ - msr fpcr, x2 - ldr w2, [x0, #0x7c] /* jmp_buf->Fpsr */ - msr fpsr, x2 - ldp d8, d9, [x0, #0x80] /* jmp_buf->D[0-1] */ - ldp d10, d11, [x0, #0x90] /* jmp_buf->D[2-3] */ - ldp d12, d13, [x0, #0xa0] /* jmp_buf->D[4-5] */ - ldp d14, d15, [x0, #0xb0] /* jmp_buf->D[6-7] */ - mov x0, x1 /* retval */ - ret -#endif -#endif diff --git a/lib/libc/mingw/misc/spawnv.c b/lib/libc/mingw/misc/spawnv.c deleted file mode 100644 index 88e690c8b1..0000000000 --- a/lib/libc/mingw/misc/spawnv.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -intptr_t __cdecl spawnv(int mode,const char *_Filename,char *const _ArgList[]) -{ - return _spawnv(mode, _Filename,(const char *const *)_ArgList); -} diff --git a/lib/libc/mingw/misc/spawnve.c b/lib/libc/mingw/misc/spawnve.c deleted file mode 100644 index 8731c33afc..0000000000 --- a/lib/libc/mingw/misc/spawnve.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -intptr_t __cdecl spawnve(int mode,const char *_Filename,char *const _ArgList[],char *const _Env[]) -{ - return _spawnve(mode, _Filename,(const char *const *)_ArgList,(const char *const *)_Env); -} diff --git a/lib/libc/mingw/misc/spawnvp.c b/lib/libc/mingw/misc/spawnvp.c deleted file mode 100644 index 75e17e13cc..0000000000 --- a/lib/libc/mingw/misc/spawnvp.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -intptr_t __cdecl spawnvp(int mode,const char *_Filename,char *const _ArgList[]) -{ - return _spawnvp(mode, _Filename,(const char *const *)_ArgList); -} diff --git a/lib/libc/mingw/misc/spawnvpe.c b/lib/libc/mingw/misc/spawnvpe.c deleted file mode 100644 index 08e41e8289..0000000000 --- a/lib/libc/mingw/misc/spawnvpe.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -intptr_t __cdecl spawnvpe(int mode,const char *_Filename,char *const _ArgList[],char *const _Env[]) -{ - return _spawnvpe(mode, _Filename,(const char *const *)_ArgList,(const char *const *)_Env); -} diff --git a/lib/libc/mingw/misc/wassert.c b/lib/libc/mingw/misc/wassert.c index 7d745d9215..2fdd5e29a5 100644 --- a/lib/libc/mingw/misc/wassert.c +++ b/lib/libc/mingw/misc/wassert.c @@ -3,47 +3,47 @@ * This file is part of the mingw-w64 runtime package. * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ -#include -#include + +#include #include -#include -#include +#include +#include "msvcrt.h" -extern int mingw_app_type; - -void __cdecl _wassert (const wchar_t *, const wchar_t *,unsigned); -void __cdecl _assert (const char *, const char *, unsigned); - -void __cdecl -_wassert (const wchar_t *_Message, const wchar_t *_File, unsigned _Line) +/* _wassert is not available on XP, so forward it to _assert if needed */ +static void __cdecl mingw_wassert(const wchar_t *_Message, const wchar_t *_File, unsigned _Line) { - wchar_t *msgbuf = (wchar_t *) malloc (8192*sizeof(wchar_t)); - wchar_t fn[MAX_PATH + 1]; - DWORD nCode; + char *message = NULL, *file = NULL; + size_t len; - if (!_File || _File[0] == 0) - _File = L""; - if (!_Message || _Message[0] == 0) - _Message = L"?"; - if (! GetModuleFileNameW (NULL, fn, MAX_PATH)) - wcscpy (fn, L""); - _snwprintf (msgbuf, 8191, L"Assertion failed!\n\nProgram: %ws\n" - "File: %ws, Line %u\n\nExpression: %ws", - fn, _File,_Line, _Message); - if (mingw_app_type == 0) + if ((len = wcstombs(NULL, _Message, 0)) != (size_t)-1) { - fwprintf (stderr, L"%ws\n", msgbuf); - abort (); + message = malloc(len + 1); + wcstombs(message, _Message, len + 1); } - nCode = MessageBoxW (NULL, msgbuf, L"MinGW Runtime Assertion", MB_ABORTRETRYIGNORE| - MB_ICONHAND|MB_SETFOREGROUND|MB_TASKMODAL); - if (nCode == IDABORT) + + if ((len = wcstombs(NULL, _File, 0)) != (size_t)-1) { - raise (SIGABRT); - _exit (3); - abort (); + file = malloc(len + 1); + wcstombs(file, _File, len + 1); } - if (nCode == IDIGNORE) - return; - abort (); + + _assert(message, file, _Line); + + free(message); + free(file); +} + +static void __cdecl init_wassert(const wchar_t *message, const wchar_t *file, unsigned line); + +void (__cdecl *__MINGW_IMP_SYMBOL(_wassert))(const wchar_t*, const wchar_t*,unsigned) = init_wassert; + +static void __cdecl init_wassert(const wchar_t *message, const wchar_t *file, unsigned line) +{ + void *func; + + func = (void*)GetProcAddress(__mingw_get_msvcrt_handle(), "_wassert"); + if(!func) + func = mingw_wassert; + + return (__MINGW_IMP_SYMBOL(_wassert) = func)(message, file, line); } diff --git a/lib/libc/mingw/secapi/_cgets_s.c b/lib/libc/mingw/secapi/_cgets_s.c index e70efe7253..f81623a9a9 100644 --- a/lib/libc/mingw/secapi/_cgets_s.c +++ b/lib/libc/mingw/secapi/_cgets_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_cgetws_s.c b/lib/libc/mingw/secapi/_cgetws_s.c index dff4187096..01ee3d1b32 100644 --- a/lib/libc/mingw/secapi/_cgetws_s.c +++ b/lib/libc/mingw/secapi/_cgetws_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_cprintf_s.c b/lib/libc/mingw/secapi/_cprintf_s.c index 36ea582d41..eef77df415 100644 --- a/lib/libc/mingw/secapi/_cprintf_s.c +++ b/lib/libc/mingw/secapi/_cprintf_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_cprintf_s_l.c b/lib/libc/mingw/secapi/_cprintf_s_l.c index 316ca86ef3..cce1d51b53 100644 --- a/lib/libc/mingw/secapi/_cprintf_s_l.c +++ b/lib/libc/mingw/secapi/_cprintf_s_l.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_cwprintf_s.c b/lib/libc/mingw/secapi/_cwprintf_s.c index b5ce0ab940..013ccc472d 100644 --- a/lib/libc/mingw/secapi/_cwprintf_s.c +++ b/lib/libc/mingw/secapi/_cwprintf_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_cwprintf_s_l.c b/lib/libc/mingw/secapi/_cwprintf_s_l.c index cadd55d022..50c9c4bad8 100644 --- a/lib/libc/mingw/secapi/_cwprintf_s_l.c +++ b/lib/libc/mingw/secapi/_cwprintf_s_l.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_vcprintf_s.c b/lib/libc/mingw/secapi/_vcprintf_s.c index b512bb21a9..91f143f1fa 100644 --- a/lib/libc/mingw/secapi/_vcprintf_s.c +++ b/lib/libc/mingw/secapi/_vcprintf_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_vcprintf_s_l.c b/lib/libc/mingw/secapi/_vcprintf_s_l.c index e4c86ceb96..787c76be4d 100644 --- a/lib/libc/mingw/secapi/_vcprintf_s_l.c +++ b/lib/libc/mingw/secapi/_vcprintf_s_l.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_vcwprintf_s.c b/lib/libc/mingw/secapi/_vcwprintf_s.c index e6badb1ecf..325e866197 100644 --- a/lib/libc/mingw/secapi/_vcwprintf_s.c +++ b/lib/libc/mingw/secapi/_vcwprintf_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_vcwprintf_s_l.c b/lib/libc/mingw/secapi/_vcwprintf_s_l.c index 2ce1deffdf..4d112a1c52 100644 --- a/lib/libc/mingw/secapi/_vcwprintf_s_l.c +++ b/lib/libc/mingw/secapi/_vcwprintf_s_l.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_vscprintf_p.c b/lib/libc/mingw/secapi/_vscprintf_p.c index c7ee3cc87f..3761c21b49 100644 --- a/lib/libc/mingw/secapi/_vscprintf_p.c +++ b/lib/libc/mingw/secapi/_vscprintf_p.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include int __cdecl _vscprintf_p(const char *format, va_list arglist) diff --git a/lib/libc/mingw/secapi/_vscwprintf_p.c b/lib/libc/mingw/secapi/_vscwprintf_p.c index 498bc1cf48..666286a62f 100644 --- a/lib/libc/mingw/secapi/_vscwprintf_p.c +++ b/lib/libc/mingw/secapi/_vscwprintf_p.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include int __cdecl _vscwprintf_p(const wchar_t *format, va_list arglist) diff --git a/lib/libc/mingw/secapi/_vswprintf_p.c b/lib/libc/mingw/secapi/_vswprintf_p.c index 4823c81d69..52e9dfa59e 100644 --- a/lib/libc/mingw/secapi/_vswprintf_p.c +++ b/lib/libc/mingw/secapi/_vswprintf_p.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include int __cdecl _vswprintf_p(wchar_t *_DstBuf, size_t _MaxCount, const wchar_t *_Format, va_list _ArgList) diff --git a/lib/libc/mingw/secapi/_waccess_s.c b/lib/libc/mingw/secapi/_waccess_s.c index 4ca83f4dd4..c4825cff44 100644 --- a/lib/libc/mingw/secapi/_waccess_s.c +++ b/lib/libc/mingw/secapi/_waccess_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/_wmktemp_s.c b/lib/libc/mingw/secapi/_wmktemp_s.c index 3cbf0c7809..e13abc7908 100644 --- a/lib/libc/mingw/secapi/_wmktemp_s.c +++ b/lib/libc/mingw/secapi/_wmktemp_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/memmove_s.c b/lib/libc/mingw/secapi/memmove_s.c index 170bdf32ce..dca1dbe57e 100644 --- a/lib/libc/mingw/secapi/memmove_s.c +++ b/lib/libc/mingw/secapi/memmove_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/sprintf_s.c b/lib/libc/mingw/secapi/sprintf_s.c index 3b92d07beb..eab682a2dc 100644 --- a/lib/libc/mingw/secapi/sprintf_s.c +++ b/lib/libc/mingw/secapi/sprintf_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/strerror_s.c b/lib/libc/mingw/secapi/strerror_s.c index 148236d393..3a68360e56 100644 --- a/lib/libc/mingw/secapi/strerror_s.c +++ b/lib/libc/mingw/secapi/strerror_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/vsprintf_s.c b/lib/libc/mingw/secapi/vsprintf_s.c index 96a7680830..45dfb14b11 100644 --- a/lib/libc/mingw/secapi/vsprintf_s.c +++ b/lib/libc/mingw/secapi/vsprintf_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/wmemcpy_s.c b/lib/libc/mingw/secapi/wmemcpy_s.c index bb59bdca80..83879246ed 100644 --- a/lib/libc/mingw/secapi/wmemcpy_s.c +++ b/lib/libc/mingw/secapi/wmemcpy_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/secapi/wmemmove_s.c b/lib/libc/mingw/secapi/wmemmove_s.c index 788fa7e461..2e0d572efd 100644 --- a/lib/libc/mingw/secapi/wmemmove_s.c +++ b/lib/libc/mingw/secapi/wmemmove_s.c @@ -1,4 +1,3 @@ -#define MINGW_HAS_SECURE_API 1 #include #include #include diff --git a/lib/libc/mingw/stdio/fseeko64.c b/lib/libc/mingw/stdio/fseeko64.c index 5905aa22ee..99a54f7735 100644 --- a/lib/libc/mingw/stdio/fseeko64.c +++ b/lib/libc/mingw/stdio/fseeko64.c @@ -76,33 +76,7 @@ static struct oserr_map local_errtab[] = { { ERROR_NOT_ENOUGH_QUOTA, ENOMEM }, { 0, -1 } }; -_CRTIMP __int64 __cdecl _lseeki64(int fh,__int64 pos,int mthd); -__int64 __cdecl _ftelli64(FILE *str); void mingw_dosmaperr (unsigned long oserrno); -int __cdecl _flush (FILE *str); - -int __cdecl _flush (FILE *str) -{ - FILE *stream; - int rc = 0; /* assume good return */ - __int64 nchar; - - stream = str; - if ((stream->_flag & (_IOREAD | _IOWRT)) == _IOWRT && bigbuf(stream) - && (nchar = (__int64) (stream->_ptr - stream->_base)) > 0ll) - { - if ( _write(_fileno(stream), stream->_base, nchar) == nchar) { - if (_IORW & stream->_flag) - stream->_flag &= ~_IOWRT; - } else { - stream->_flag |= _IOERR; - rc = EOF; - } - } - stream->_ptr = stream->_base; - stream->_cnt = 0ll; - return rc; -} int fseeko64 (FILE* stream, _off64_t offset, int whence) { @@ -130,111 +104,6 @@ int fseeko64 (FILE* stream, _off64_t offset, int whence) return fsetpos (stream, &pos); } -int __cdecl _fseeki64(FILE *str,__int64 offset,int whence) -{ - FILE *stream; - /* Init stream pointer */ - stream = str; - errno=0; - if(!stream || ((whence != SEEK_SET) && (whence != SEEK_CUR) && (whence != SEEK_END))) - { - errno=EINVAL; - return -1; - } - /* Clear EOF flag */ - stream->_flag &= ~_IOEOF; - - if (whence == SEEK_CUR) { - offset += _ftelli64(stream); - whence = SEEK_SET; - } - /* Flush buffer as necessary */ - _flush(stream); - - /* If file opened for read/write, clear flags since we don't know - what the user is going to do next. If the file was opened for - read access only, decrease _bufsiz so that the next _filbuf - won't cost quite so much */ - - if (stream->_flag & _IORW) - stream->_flag &= ~(_IOWRT|_IOREAD); - else if ( (stream->_flag & _IOREAD) && (stream->_flag & _IOMYBUF) && - !(stream->_flag & _IOSETVBUF) ) - stream->_bufsiz = _SMALL_BUFSIZ; - - /* Seek to the desired locale and return. */ - - return (_lseeki64(_fileno(stream), offset, whence) == -1ll ? -1 : 0); -} - -__int64 __cdecl _ftelli64(FILE *str) -{ - FILE *stream; - size_t offset; - __int64 filepos; - register char *p; - char *max; - int fd; - size_t rdcnt = 0; - - errno=0; - stream = str; - fd = _fileno(stream); - if (stream->_cnt < 0ll) stream->_cnt = 0ll; - if ((filepos = _lseeki64(fd, 0ll, SEEK_CUR)) < 0L) - return -1ll; - - if (!bigbuf(stream)) /* _IONBF or no buffering designated */ - return (filepos - (__int64) stream->_cnt); - - offset = (size_t)(stream->_ptr - stream->_base); - - if (stream->_flag & (_IOWRT|_IOREAD)) - { - if (_osfile(fd) & FTEXT) - for (p = stream->_base; p < stream->_ptr; p++) - if (*p == '\n') /* adjust for '\r' */ - offset++; - } - else if (!(stream->_flag & _IORW)) { - errno=EINVAL; - return -1ll; - } - if (filepos == 0ll) - return ((__int64)offset); - - if (stream->_flag & _IOREAD) /* go to preceding sector */ - { - if (stream->_cnt == 0ll) /* filepos holds correct location */ - offset = 0ll; - else - { - rdcnt = ((size_t) stream->_cnt) + ((size_t) (size_t)(stream->_ptr - stream->_base)); - if (_osfile(fd) & FTEXT) { - if (_lseeki64(fd, 0ll, SEEK_END) == filepos) { - max = stream->_base + rdcnt; - for (p = stream->_base; p < max; p++) - if (*p == '\n') /* adjust for '\r' */ - rdcnt++; - if (stream->_flag & _IOCTRLZ) - ++rdcnt; - } else { - _lseeki64(fd, filepos, SEEK_SET); - if ( (rdcnt <= _SMALL_BUFSIZ) && (stream->_flag & _IOMYBUF) && - !(stream->_flag & _IOSETVBUF)) - rdcnt = _SMALL_BUFSIZ; - else - rdcnt = stream->_bufsiz; - if (_osfile(fd) & FCRLF) - ++rdcnt; - } - } /* end if FTEXT */ - } - filepos -= (__int64)rdcnt; - } /* end else stream->_cnt != 0 */ - return (filepos + (__int64)offset); -} - void mingw_dosmaperr (unsigned long oserrno) { size_t i; diff --git a/lib/libc/mingw/stdio/mingw_pformat.c b/lib/libc/mingw/stdio/mingw_pformat.c index 7e2493216e..a68d0f67a5 100644 --- a/lib/libc/mingw/stdio/mingw_pformat.c +++ b/lib/libc/mingw/stdio/mingw_pformat.c @@ -51,6 +51,8 @@ * */ +#define __LARGE_MBSTATE_T + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/lib/libc/mingw/stdio/mingw_vfscanf.c b/lib/libc/mingw/stdio/mingw_vfscanf.c index 4bd9e91cf1..6f2d5eb37a 100644 --- a/lib/libc/mingw/stdio/mingw_vfscanf.c +++ b/lib/libc/mingw/stdio/mingw_vfscanf.c @@ -42,6 +42,8 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#define __LARGE_MBSTATE_T + #include #include #include diff --git a/lib/libc/mingw/stdio/mingw_wvfscanf.c b/lib/libc/mingw/stdio/mingw_wvfscanf.c index 045aba7916..2f0a03f667 100644 --- a/lib/libc/mingw/stdio/mingw_wvfscanf.c +++ b/lib/libc/mingw/stdio/mingw_wvfscanf.c @@ -42,6 +42,8 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#define __LARGE_MBSTATE_T + #include #include #include @@ -104,13 +106,19 @@ get_va_nth (va_list argp, unsigned int n) } static void -optimize_alloc (int do_realloc, char **p, size_t sz, size_t need_sz, size_t typ_sz) +optimize_alloc (char **p, char *end, size_t alloc_sz) { + size_t need_sz; char *h; - if (!do_realloc || sz == need_sz || !p || *p == NULL) + if (!p || !*p) return; - if ((h = (char *) realloc (*p, need_sz * typ_sz)) != NULL) + + need_sz = end - *p; + if (need_sz == alloc_sz) + return; + + if ((h = (char *) realloc (*p, need_sz)) != NULL) *p = h; } @@ -237,7 +245,7 @@ release_ptrs (struct gcollect **pt, wchar_t **wbuf) static int cleanup_return (int rval, struct gcollect **pfree, char **strp, wchar_t **wbuf) { - if (rval == WEOF) + if (rval == EOF) release_ptrs (pfree, wbuf); else { @@ -331,7 +339,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) if (!s || s->fp == NULL || !format) { errno = EINVAL; - return WEOF; + return EOF; } memset (&state, 0, sizeof(state)); @@ -351,7 +359,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) else { if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); if (ignore_ws) { @@ -361,7 +369,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) do { if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); } while (iswspace (c)); } @@ -515,7 +523,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) do { if ((c == WEOF || (c = in_ch (s, &read_in)) == WEOF) && errno == EINTR) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); } while (iswspace (c)); @@ -540,7 +548,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) { case '%': if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); if (c != fc) { back_ch (c, s, &read_in, 1); @@ -581,7 +589,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) return cleanup_return (rval, &gcollect, pstr, &wbuf); str_sz = 100; if ((str = *pstr = (char *) malloc (100)) == NULL) - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); gcollect = resize_gcollect (gcollect); gcollect->ptrs[gcollect->count++] = pstr; } @@ -596,7 +604,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } } if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); memset (&state, 0, sizeof (state)); @@ -613,7 +621,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) if (!nstr) { release_ptrs (&gcollect, &wbuf); - return WEOF; + return EOF; } *pstr = nstr; str = nstr + str_len; @@ -622,14 +630,14 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) n = wcrtomb ((flags & IS_SUPPRESSED) == 0 ? str : NULL, c, &state); if (n == (size_t) -1LL) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); str += n; } while (--width > 0 && (c = in_ch (s, &read_in)) != WEOF); if ((flags & IS_SUPPRESSED) == 0) { - optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (str - *pstr), sizeof (char)); + optimize_alloc (pstr, str, str_sz); pstr = NULL; ++rval; } @@ -654,7 +662,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) str_sz = (width > 1024 ? 1024 : width); *pstr = (char *) malloc (str_sz * sizeof (wchar_t)); if ((wstr = (wchar_t *) *pstr) == NULL) - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); if ((wstr = (wchar_t *) *pstr) != NULL) { @@ -674,7 +682,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); if ((flags & IS_SUPPRESSED) == 0) { @@ -691,7 +699,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) if (!wstr) { release_ptrs (&gcollect, &wbuf); - return WEOF; + return EOF; } *pstr = (char *) wstr; wstr += str_sz; @@ -708,7 +716,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) if ((flags & IS_SUPPRESSED) == 0) { - optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (wstr - (wchar_t *) *pstr), sizeof (wchar_t)); + optimize_alloc (pstr, (char *) wstr, str_sz * sizeof (wchar_t)); pstr = NULL; ++rval; } @@ -728,7 +736,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) return cleanup_return (rval, &gcollect, pstr, &wbuf); str_sz = 100; if ((str = *pstr = (char *) malloc (100)) == NULL) - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); gcollect = resize_gcollect (gcollect); gcollect->ptrs[gcollect->count++] = pstr; } @@ -744,7 +752,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); memset (&state, 0, sizeof (state)); @@ -774,7 +782,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) pstr = NULL; ++rval; } - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); } *pstr = nstr; str = nstr + str_len; @@ -810,7 +818,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) pstr = NULL; ++rval; } - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); } *pstr = nstr; str = nstr + str_len; @@ -824,7 +832,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } *str++ = 0; - optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (str - *pstr), sizeof (char)); + optimize_alloc (pstr, str, str_sz); pstr = NULL; ++rval; } @@ -845,7 +853,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) str_sz = 100; *pstr = (char *) malloc (100 * sizeof (wchar_t)); if ((wstr = (wchar_t *) *pstr) == NULL) - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); gcollect = resize_gcollect (gcollect); gcollect->ptrs[gcollect->count++] = pstr; } @@ -860,7 +868,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } } if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); do { @@ -889,7 +897,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) pstr = NULL; ++rval; } - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); } *pstr = (char *) wstr; wstr += str_sz; @@ -903,7 +911,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) { *wstr++ = 0; - optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (wstr - (wchar_t *) *pstr), sizeof (wchar_t)); + optimize_alloc (pstr, (char *) wstr, str_sz * sizeof (wchar_t)); pstr = NULL; ++rval; } @@ -943,7 +951,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); if (c == '+' || c == '-') { @@ -1084,7 +1092,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) if (width > 0) --width; if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); seen_dot = seen_exp = 0; is_neg = (c == '-' ? 1 : 0); @@ -1296,7 +1304,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) str_sz = 100; *pstr = (char *) malloc (100 * sizeof (wchar_t)); if ((wstr = (wchar_t *) *pstr) == NULL) - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); gcollect = resize_gcollect (gcollect); gcollect->ptrs[gcollect->count++] = pstr; @@ -1326,7 +1334,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) return cleanup_return (rval, &gcollect, pstr, &wbuf); str_sz = 100; if ((str = *pstr = (char *) malloc (100)) == NULL) - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); gcollect = resize_gcollect (gcollect); gcollect->ptrs[gcollect->count++] = pstr; } @@ -1364,7 +1372,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) read_in_sv = read_in; if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); do { @@ -1432,7 +1440,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) pstr = NULL; ++rval; } - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); } *pstr = (char *) wstr; wstr += str_sz; @@ -1449,7 +1457,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) { *wstr++ = 0; - optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (wstr - (wchar_t *) *pstr), sizeof (wchar_t)); + optimize_alloc (pstr, (char *) wstr, str_sz * sizeof (wchar_t)); pstr = NULL; ++rval; } @@ -1459,7 +1467,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) read_in_sv = read_in; if ((c = in_ch (s, &read_in)) == WEOF) - return cleanup_return ((!rval ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return ((!rval ? EOF : rval), &gcollect, pstr, &wbuf); memset (&state, 0, sizeof (state)); @@ -1529,7 +1537,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) pstr = NULL; ++rval; } - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); } *pstr = nstr; str = nstr + str_len; @@ -1567,7 +1575,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) pstr = NULL; ++rval; } - return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? WEOF : rval), &gcollect, pstr, &wbuf); + return cleanup_return (((flags & USE_POSIX_ALLOC) != 0 ? EOF : rval), &gcollect, pstr, &wbuf); } *pstr = nstr; str = nstr + str_len; @@ -1581,7 +1589,7 @@ __mingw_swformat (_IFP *s, const wchar_t *format, va_list argp) } *str++ = 0; - optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (str - *pstr), sizeof (char)); + optimize_alloc (pstr, str, str_sz); pstr = NULL; ++rval; } diff --git a/lib/libc/mingw/stdio/scanf.S b/lib/libc/mingw/stdio/scanf.S index 3a0e977a71..1e0bed9452 100644 --- a/lib/libc/mingw/stdio/scanf.S +++ b/lib/libc/mingw/stdio/scanf.S @@ -164,6 +164,7 @@ __argtos: call *20(%ebp) /* Restore stack. */ + addl $(iOffset + iBytes), %esp popl %edi leave diff --git a/src/link.cpp b/src/link.cpp index 03534db3b2..eba12b924a 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -248,21 +248,13 @@ static const char *mingwex_generic_src[] = { "math" OS_SEP "tgammal.c", "math" OS_SEP "truncl.c", "misc" OS_SEP "alarm.c", - "misc" OS_SEP "assert.c", "misc" OS_SEP "basename.c", "misc" OS_SEP "btowc.c", "misc" OS_SEP "delay-f.c", "misc" OS_SEP "delay-n.c", "misc" OS_SEP "delayimp.c", - "misc" OS_SEP "difftime.c", - "misc" OS_SEP "difftime32.c", - "misc" OS_SEP "difftime64.c", "misc" OS_SEP "dirent.c", "misc" OS_SEP "dirname.c", - "misc" OS_SEP "execv.c", - "misc" OS_SEP "execve.c", - "misc" OS_SEP "execvp.c", - "misc" OS_SEP "execvpe.c", "misc" OS_SEP "feclearexcept.c", "misc" OS_SEP "fegetenv.c", "misc" OS_SEP "fegetexceptflag.c", @@ -300,10 +292,6 @@ static const char *mingwex_generic_src[] = { "misc" OS_SEP "mkstemp.c", "misc" OS_SEP "seterrno.c", "misc" OS_SEP "sleep.c", - "misc" OS_SEP "spawnv.c", - "misc" OS_SEP "spawnve.c", - "misc" OS_SEP "spawnvp.c", - "misc" OS_SEP "spawnvpe.c", "misc" OS_SEP "strnlen.c", "misc" OS_SEP "strsafe.c", "misc" OS_SEP "strtoimax.c", @@ -463,7 +451,6 @@ static const char *mingwex_x86_src[] = { "math" OS_SEP "x86" OS_SEP "fmod.c", "math" OS_SEP "x86" OS_SEP "fmodf.c", "math" OS_SEP "x86" OS_SEP "fmodl.c", - "math" OS_SEP "x86" OS_SEP "frexpl.S", "math" OS_SEP "x86" OS_SEP "fucom.c", "math" OS_SEP "x86" OS_SEP "ilogbf.S", "math" OS_SEP "x86" OS_SEP "ilogbl.S", @@ -509,43 +496,21 @@ static const char *mingwex_x86_src[] = { static const char *mingwex_arm32_src[] = { "math" OS_SEP "arm" OS_SEP "_chgsignl.S", - "math" OS_SEP "arm" OS_SEP "ceil.S", - "math" OS_SEP "arm" OS_SEP "ceilf.S", - "math" OS_SEP "arm" OS_SEP "ceill.S", - "math" OS_SEP "arm" OS_SEP "copysignl.c", "math" OS_SEP "arm" OS_SEP "exp2.c", - "math" OS_SEP "arm" OS_SEP "floor.S", - "math" OS_SEP "arm" OS_SEP "floorf.S", - "math" OS_SEP "arm" OS_SEP "floorl.S", - "math" OS_SEP "arm" OS_SEP "ldexpl.c", - "math" OS_SEP "arm" OS_SEP "log2.c", "math" OS_SEP "arm" OS_SEP "nearbyint.S", "math" OS_SEP "arm" OS_SEP "nearbyintf.S", "math" OS_SEP "arm" OS_SEP "nearbyintl.S", - "math" OS_SEP "arm" OS_SEP "scalbn.c", - "math" OS_SEP "arm" OS_SEP "sincos.c", "math" OS_SEP "arm" OS_SEP "trunc.S", "math" OS_SEP "arm" OS_SEP "truncf.S", }; static const char *mingwex_arm64_src[] = { - "math" OS_SEP "arm64" OS_SEP "ceilf.S", - "math" OS_SEP "arm64" OS_SEP "ceill.S", - "math" OS_SEP "arm64" OS_SEP "ceil.S", "math" OS_SEP "arm64" OS_SEP "_chgsignl.S", - "math" OS_SEP "arm64" OS_SEP "copysignl.c", "math" OS_SEP "arm64" OS_SEP "exp2f.S", "math" OS_SEP "arm64" OS_SEP "exp2.S", - "math" OS_SEP "arm64" OS_SEP "floorf.S", - "math" OS_SEP "arm64" OS_SEP "floorl.S", - "math" OS_SEP "arm64" OS_SEP "floor.S", - "math" OS_SEP "arm64" OS_SEP "ldexpl.c", - "math" OS_SEP "arm64" OS_SEP "log2.c", "math" OS_SEP "arm64" OS_SEP "nearbyintf.S", "math" OS_SEP "arm64" OS_SEP "nearbyintl.S", "math" OS_SEP "arm64" OS_SEP "nearbyint.S", - "math" OS_SEP "arm64" OS_SEP "scalbn.c", - "math" OS_SEP "arm64" OS_SEP "sincos.c", "math" OS_SEP "arm64" OS_SEP "truncf.S", "math" OS_SEP "arm64" OS_SEP "trunc.S", }; @@ -1216,6 +1181,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file, Stage2Pr "mingw" OS_SEP "crt" OS_SEP "xncommod.c", "mingw" OS_SEP "crt" OS_SEP "cinitexe.c", "mingw" OS_SEP "crt" OS_SEP "merr.c", + "mingw" OS_SEP "crt" OS_SEP "usermatherr.c", "mingw" OS_SEP "crt" OS_SEP "pesect.c", "mingw" OS_SEP "crt" OS_SEP "udllargc.c", "mingw" OS_SEP "crt" OS_SEP "xthdloc.c",