From d26cd761a135b3eee0324ebd1ff67e0b71466b82 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Thu, 28 May 2026 15:01:30 -0500 Subject: [PATCH] Sync SystemNative pinvoke tables with dotnet/runtime Update the SystemNative entries in both CLR and MonoVM generate-pinvoke-tables.cc to match the .NET 11 runtime from the VMR (dotnet/dotnet @ 3c45e4f3e8), then regenerate the pinvoke-tables.include files. Removed (no longer in runtime): - SystemNative_GetFileSystemType - SystemNative_GetFormatInfoForMountPoint - SystemNative_LowLevelFutex_WaitOnAddress - SystemNative_LowLevelFutex_WaitOnAddressTimeout - SystemNative_LowLevelFutex_WakeByAddressSingle - SystemNative_ReadProcessStatusInfo Added: - SystemNative_GetFileSystemTypeNameForMountPoint - SystemNative_GetNextAreaInfo - SystemNative_GetPlatformSIGSTOP - SystemNative_IsAtomicNonInheritablePipeCreationSupported - SystemNative_LowLevelCrossProcessMutex_* (8 functions) - SystemNative_ReadFromNonblocking - SystemNative_ReadProcessInfo - SystemNative_ReadThreadInfo - SystemNative_ReadV - SystemNative_WriteToNonblocking - SystemNative_WriteV Also add a PingTest that exercises Ping.Send() on localhost to ensure the pinvoke resolution works end-to-end on device. Fixes: https://github.com/dotnet/android/issues/11530 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../generate-pinvoke-tables.cc | 25 +++++++-- .../pinvoke-override/pinvoke-tables.include | 56 ++++++++++++++----- .../generate-pinvoke-tables.cc | 25 +++++++-- .../pinvoke-override/pinvoke-tables.include | 56 ++++++++++++++----- .../Mono.Android.NET-Tests.csproj | 1 + .../System.Net.NetworkInformation/PingTest.cs | 18 ++++++ 6 files changed, 139 insertions(+), 42 deletions(-) create mode 100644 tests/Mono.Android-Tests/Mono.Android-Tests/System.Net.NetworkInformation/PingTest.cs diff --git a/src/native/clr/pinvoke-override/generate-pinvoke-tables.cc b/src/native/clr/pinvoke-override/generate-pinvoke-tables.cc index 2f1ccda737c..4f1e227eef3 100644 --- a/src/native/clr/pinvoke-override/generate-pinvoke-tables.cc +++ b/src/native/clr/pinvoke-override/generate-pinvoke-tables.cc @@ -252,8 +252,7 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_GetEstimatedTcpConnectionCount", "SystemNative_GetEstimatedUdpListenerCount", "SystemNative_GetEUid", - "SystemNative_GetFileSystemType", - "SystemNative_GetFormatInfoForMountPoint", + "SystemNative_GetFileSystemTypeNameForMountPoint", "SystemNative_GetGroupList", "SystemNative_GetGroupName", "SystemNative_GetGroups", @@ -273,12 +272,14 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_GetNameInfo", "SystemNative_GetNativeIPInterfaceStatistics", "SystemNative_GetNetworkInterfaces", + "SystemNative_GetNextAreaInfo", "SystemNative_GetNonCryptographicallySecureRandomBytes", "SystemNative_GetNumRoutes", "SystemNative_GetOSArchitecture", "SystemNative_GetPeerID", "SystemNative_GetPeerName", "SystemNative_GetPid", + "SystemNative_GetPlatformSIGSTOP", "SystemNative_GetPlatformSignalNumber", "SystemNative_GetPort", "SystemNative_GetPriority", @@ -315,6 +316,7 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_InterfaceNameToIndex", "SystemNative_iOSSupportVersion", "SystemNative_IsATty", + "SystemNative_IsAtomicNonInheritablePipeCreationSupported", "SystemNative_IsMemfdSupported", "SystemNative_Kill", "SystemNative_LChflags", @@ -332,9 +334,15 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_LowLevelMonitor_Signal_Release", "SystemNative_LowLevelMonitor_TimedWait", "SystemNative_LowLevelMonitor_Wait", - "SystemNative_LowLevelFutex_WaitOnAddress", - "SystemNative_LowLevelFutex_WaitOnAddressTimeout", - "SystemNative_LowLevelFutex_WakeByAddressSingle", + "SystemNative_LowLevelCrossProcessMutex_Acquire", + "SystemNative_LowLevelCrossProcessMutex_Destroy", + "SystemNative_LowLevelCrossProcessMutex_GetOwnerProcessAndThreadId", + "SystemNative_LowLevelCrossProcessMutex_Init", + "SystemNative_LowLevelCrossProcessMutex_IsAbandoned", + "SystemNative_LowLevelCrossProcessMutex_Release", + "SystemNative_LowLevelCrossProcessMutex_SetAbandoned", + "SystemNative_LowLevelCrossProcessMutex_SetOwnerProcessAndThreadId", + "SystemNative_LowLevelCrossProcessMutex_Size", "SystemNative_LSeek", "SystemNative_LStat", "SystemNative_MAdvise", @@ -364,9 +372,12 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_Read", "SystemNative_ReadDir", "SystemNative_ReadEvents", + "SystemNative_ReadFromNonblocking", "SystemNative_ReadLink", - "SystemNative_ReadProcessStatusInfo", + "SystemNative_ReadProcessInfo", "SystemNative_ReadStdin", + "SystemNative_ReadThreadInfo", + "SystemNative_ReadV", "SystemNative_Realloc", "SystemNative_RealPath", "SystemNative_Receive", @@ -430,6 +441,8 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_WaitIdAnyExitedNoHangNoWait", "SystemNative_WaitPidExitedNoHang", "SystemNative_Write", + "SystemNative_WriteToNonblocking", + "SystemNative_WriteV", // libSystem.Security.Cryptography.Native.Android.so "AndroidCryptoNative_AeadCipherFinalEx", diff --git a/src/native/clr/pinvoke-override/pinvoke-tables.include b/src/native/clr/pinvoke-override/pinvoke-tables.include index 054f79e2da1..41b19bc7301 100644 --- a/src/native/clr/pinvoke-override/pinvoke-tables.include +++ b/src/native/clr/pinvoke-override/pinvoke-tables.include @@ -43,7 +43,7 @@ namespace { }}; //64-bit DotNet p/invoke table - std::array dotnet_pinvokes {{ + std::array dotnet_pinvokes {{ {0x99f2ee02463000, "CompressionNative_Crc32", nullptr}, {0xb38afc8bfe830b, "SystemNative_Bind", nullptr}, {0x190fe65d8736dcb, "SystemNative_TryGetIPPacketInformation", nullptr}, @@ -65,6 +65,7 @@ namespace { {0x6861b5336291d12, "SystemNative_PathConf", nullptr}, {0x690c4347972024f, "AndroidCryptoNative_Aes256Gcm", nullptr}, {0x6a1f4deffa02c30, "SystemNative_LowLevelMonitor_Acquire", nullptr}, + {0x6fe50be504a1949, "SystemNative_GetPlatformSIGSTOP", nullptr}, {0x7b5579ab0499b1f, "AndroidCryptoNative_RsaSize", nullptr}, {0x7ce8a9b967dd269, "SystemNative_Read", nullptr}, {0x7f0e1227c9c0225, "CryptoNative_EvpMdCtxDestroy", nullptr}, @@ -82,10 +83,12 @@ namespace { {0xcaba893801c6a6f, "AndroidCryptoNative_Aes256Ecb", nullptr}, {0xcbe6d3d22131194, "AndroidCryptoNative_SetRsaParameters", nullptr}, {0xe7e93cf9237e1f2, "GlobalizationNative_ToAscii", nullptr}, + {0xee97d6eea2facf0, "SystemNative_LowLevelCrossProcessMutex_Release", nullptr}, {0xef8dd67e25bac53, "SystemNative_GetWindowSize", nullptr}, {0xfa0899cf8d00a87, "SystemNative_MkDir", nullptr}, {0xfe7079441ac127e, "SystemNative_CreateSocketEventPort", nullptr}, {0x1027786cdd9a3e9c, "AndroidCryptoNative_Aes192Cbc", nullptr}, + {0x104dacfa39d2a623, "SystemNative_ReadProcessInfo", nullptr}, {0x10d733abd1fd94bb, "SystemNative_TryChangeSocketEventRegistration", nullptr}, {0x114b8384553f5418, "SystemNative_GetSystemTimeAsTicks", nullptr}, {0x119a38c3e288a233, "SystemNative_SNPrintF_1S", nullptr}, @@ -98,16 +101,17 @@ namespace { {0x13577369f5ec4b0a, "SystemNative_GetActiveTcpConnectionInfos", nullptr}, {0x1399413d8a7d9dd8, "SystemNative_GetAddressFamily", nullptr}, {0x13a1c2de7fb2519f, "SystemNative_CloseSocketEventPort", nullptr}, + {0x13c086dabb9a6944, "SystemNative_LowLevelCrossProcessMutex_GetOwnerProcessAndThreadId", nullptr}, {0x146cd1dc4fb2ba58, "SystemNative_LChflagsCanSetHiddenFlag", nullptr}, {0x14b7e3527b60e83f, "CryptoNative_ErrErrorStringN", nullptr}, {0x15bd710d3a9b3b0c, "CryptoNative_EvpDigestFinalEx", nullptr}, - {0x1757413d3fb3c492, "SystemNative_LowLevelFutex_WaitOnAddress", nullptr}, {0x18580a4592ed1ea6, "GlobalizationNative_GetSortKey", nullptr}, {0x185f5d25252c3c72, "SystemNative_FAllocate", nullptr}, {0x18d6b5e9fec9b0dc, "SystemNative_Connectx", nullptr}, {0x18f7da5f584b5b59, "SystemNative_PReadV", nullptr}, {0x1948a0cf88329c2f, "SystemNative_HandleNonCanceledPosixSignal", nullptr}, {0x195a0b4ce535876c, "SystemNative_UninitializeTerminal", nullptr}, + {0x195bef29e113aedc, "SystemNative_WriteV", nullptr}, {0x1ac95b02f23933cc, "SystemNative_CanGetHiddenFlag", nullptr}, {0x1d1bb0528d517729, "AndroidCryptoNative_SSLGetSupportedProtocols", nullptr}, {0x1d4dcbc06728e689, "SystemNative_Close", nullptr}, @@ -155,11 +159,11 @@ namespace { {0x3424ffcb69ecef57, "SystemNative_Unlink", nullptr}, {0x346a9bb11364833c, "SystemNative_DrainAutoreleasePool", nullptr}, {0x35169e67cc0f8529, "SystemNative_GetIPv6MulticastOption", nullptr}, + {0x357cddd849a13028, "SystemNative_LowLevelCrossProcessMutex_SetAbandoned", nullptr}, {0x359205b4a10fa780, "SystemNative_LowLevelMonitor_Destroy", nullptr}, {0x35c0aa811b7a83c8, "BrotliDecoderSetMetadataCallbacks", nullptr}, {0x35c1fa8dffcbbd8c, "CryptoNative_EvpDigestReset", nullptr}, {0x36128eed665b1923, "SystemNative_ShmUnlink", nullptr}, - {0x362dd6799f8caed6, "SystemNative_LowLevelFutex_WaitOnAddressTimeout", nullptr}, {0x364dcf65ae63adff, "SystemNative_GetSocketErrorOption", nullptr}, {0x3757b327944abb54, "SystemNative_EnablePosixSignalHandling", nullptr}, {0x376f5dc6f9cfc714, "BrotliSharedDictionaryAttach", nullptr}, @@ -183,7 +187,6 @@ namespace { {0x420718c398131a55, "AndroidCryptoNative_SSLStreamGetProtocol", nullptr}, {0x42339dd2717504d9, "SystemNative_GetLingerOption", nullptr}, {0x42783107bf2935ec, "SystemNative_FreeHostEntry", nullptr}, - {0x42eb0578a9d62b78, "SystemNative_GetFormatInfoForMountPoint", nullptr}, {0x4360eb8a25122eee, "GlobalizationNative_StartsWith", nullptr}, {0x43741165a5ba60d5, "AndroidCryptoNative_CipherUpdateAAD", nullptr}, {0x44ccb27979f980ce, "SystemNative_AlignedAlloc", nullptr}, @@ -209,6 +212,7 @@ namespace { {0x501daf7e3a890220, "AndroidCryptoNative_X509ChainBuild", nullptr}, {0x507983f11ffec7a8, "GlobalizationNative_GetTimeZoneDisplayName", nullptr}, {0x509ff12da4e77259, "SystemNative_GetSocketAddressSizes", nullptr}, + {0x521eaea8e5c9730d, "SystemNative_LowLevelCrossProcessMutex_Init", nullptr}, {0x523240c01d14ad50, "SystemNative_GetPeerID", nullptr}, {0x52794f1118d32f08, "SystemNative_GetUnixVersion", nullptr}, {0x52fc107ebdb6fcc7, "AndroidCryptoNative_X509StoreRemoveCertificate", nullptr}, @@ -232,9 +236,12 @@ namespace { {0x5d503db70d17dad2, "BrotliEncoderIsFinished", nullptr}, {0x5dd1d1d024378765, "CryptoNative_EvpMdSize", nullptr}, {0x5e53b688fede3216, "SystemNative_GetControlCharacters", nullptr}, + {0x5e86d0acb8fa2c34, "SystemNative_ReadFromNonblocking", nullptr}, + {0x5f519de5c703ee33, "SystemNative_LowLevelCrossProcessMutex_SetOwnerProcessAndThreadId", nullptr}, {0x5fa62856bdbba9c0, "SystemNative_GetPort", nullptr}, {0x5fd29ac523ff6e3d, "AndroidCryptoNative_SSLStreamRelease", nullptr}, {0x5ffae3c8023a80b8, "AndroidCryptoNative_SSLStreamGetPeerCertificate", nullptr}, + {0x5ffcc42506cc2ae4, "SystemNative_IsAtomicNonInheritablePipeCreationSupported", nullptr}, {0x600b4418896f7808, "SystemNative_Exit", nullptr}, {0x6089f0c8112eb3d9, "SystemNative_InitializeConsoleBeforeRead", nullptr}, {0x61bacd7170fd8c9b, "SystemNative_SchedSetAffinity", nullptr}, @@ -284,6 +291,8 @@ namespace { {0x7a37e0d077f2dfe5, "AndroidCryptoNative_DsaGenerateKey", nullptr}, {0x7a4d912694906c9c, "GlobalizationNative_ToUnicode", nullptr}, {0x7af1f52a7a632e95, "BrotliDecoderTakeOutput", nullptr}, + {0x7b70a1ab1ffc3322, "SystemNative_ReadV", nullptr}, + {0x7b97bb0346895502, "SystemNative_LowLevelCrossProcessMutex_Acquire", nullptr}, {0x7d5273ad530e7298, "AndroidCryptoNative_X509StoreOpenDefault", nullptr}, {0x7d7ee4bce74d4de9, "SystemNative_GetDomainSocketSizes", nullptr}, {0x7e1766c6df3ad261, "SystemNative_MUnmap", nullptr}, @@ -306,6 +315,7 @@ namespace { {0x889350f209555ecb, "SystemNative_MkdTemp", nullptr}, {0x88a08b60b80c70cc, "SystemNative_FChMod", nullptr}, {0x88cfeefc903f9d60, "CryptoNative_EvpDigestCurrent", nullptr}, + {0x8a7ddeb0d190299a, "SystemNative_LowLevelCrossProcessMutex_IsAbandoned", nullptr}, {0x8bcabce135063bed, "SystemNative_OpenDir", nullptr}, {0x8df448aee6e8fa5e, "SystemNative_WaitPidExitedNoHang", nullptr}, {0x8e96cb02418947cc, "SystemNative_FcntlGetPipeSz", nullptr}, @@ -315,6 +325,7 @@ namespace { {0x9161ade1206fd86e, "AndroidCryptoNative_Aes256Cfb128", nullptr}, {0x9167a072639a7c95, "AndroidCryptoNative_Aes256Ccm", nullptr}, {0x91f065ec0d3aec55, "AndroidCryptoNative_X509StoreAddCertificateWithPrivateKey", nullptr}, + {0x92c4158bf0307b25, "SystemNative_GetFileSystemTypeNameForMountPoint", nullptr}, {0x93a8bec488055608, "SystemNative_GetPwNamR", nullptr}, {0x95a0e2fc5c0cb49e, "AndroidCryptoNative_SSLStreamSetApplicationProtocols", nullptr}, {0x95a4cb8563cc6b14, "SystemNative_ShmOpen", nullptr}, @@ -327,6 +338,7 @@ namespace { {0x9aaaad33b28af82f, "SystemNative_SetSignalForBreak", nullptr}, {0x9aab07f824659d3e, "AndroidCryptoNative_DsaKeyCreateByExplicitParameters", nullptr}, {0x9c3e8b890033819a, "SystemNative_FcntlCanGetSetPipeSz", nullptr}, + {0x9c702320b16e1831, "SystemNative_LowLevelCrossProcessMutex_Size", nullptr}, {0x9c832cd7fcbf2de0, "SystemNative_MkFifo", nullptr}, {0x9d2cb31282abd3d9, "SystemNative_GetNetworkInterfaces", nullptr}, {0x9de1a10b99ff806a, "BrotliEncoderPrepareDictionary", nullptr}, @@ -341,6 +353,7 @@ namespace { {0xa2d7790a850024c0, "SystemNative_GetNumRoutes", nullptr}, {0xa302613a430248b8, "SystemNative_GetGroups", nullptr}, {0xa308025a784497df, "AndroidCryptoNative_SSLStreamSetEnabledProtocols", nullptr}, + {0xa4f5402924d4e939, "SystemNative_LowLevelCrossProcessMutex_Destroy", nullptr}, {0xa56532a23755cd87, "SystemNative_StdinReady", nullptr}, {0xa56954e28eb9a9c9, "AndroidCryptoNative_Des3Cfb8", nullptr}, {0xa57e18f82abd5958, "BrotliDecoderDestroyInstance", nullptr}, @@ -405,6 +418,7 @@ namespace { {0xc0bb2dd0c5b74436, "CryptoNative_EnsureOpenSslInitialized", nullptr}, {0xc10e411c989a9314, "CompressionNative_Deflate", nullptr}, {0xc11cd661db8be230, "AndroidCryptoNative_Des3Cfb64", nullptr}, + {0xc16c78086cca8a65, "SystemNative_GetNextAreaInfo", nullptr}, {0xc183a0550feea0d6, "BrotliEncoderCompressStream", nullptr}, {0xc19b94823ea1d39e, "CryptoNative_HmacOneShot", nullptr}, {0xc1b8a5f1c799e4bb, "BrotliGetDictionary", nullptr}, @@ -442,8 +456,8 @@ namespace { {0xce9f8a6ac705faa5, "AndroidCryptoNative_X509DecodeCollection", nullptr}, {0xceba527295694651, "BrotliDecoderCreateInstance", nullptr}, {0xd0899515dfe85287, "GlobalizationNative_LoadICU", nullptr}, + {0xd167507bf61cc50a, "SystemNative_WriteToNonblocking", nullptr}, {0xd185dfe303ab91dd, "GlobalizationNative_CompareString", nullptr}, - {0xd1ee731900924bec, "SystemNative_LowLevelFutex_WakeByAddressSingle", nullptr}, {0xd392d6ed5dcc111c, "SystemNative_GetDomainName", nullptr}, {0xd513a641103f8971, "SystemNative_IsMemfdSupported", nullptr}, {0xd5264d57a926edfb, "GlobalizationNative_InitICUFunctions", nullptr}, @@ -461,7 +475,6 @@ namespace { {0xda4898a26933f73d, "AndroidCryptoNative_DsaVerify", nullptr}, {0xda6b3192974ca60e, "SystemNative_Open", nullptr}, {0xdab5eb45815daabc, "SystemNative_GetAtOutOfBandMark", nullptr}, - {0xdae32aac0c0d305c, "SystemNative_ReadProcessStatusInfo", nullptr}, {0xdbb4752ed23670f0, "AndroidCryptoNative_DesCbc", nullptr}, {0xdbee22594fa8c585, "SystemNative_CreateAutoreleasePool", nullptr}, {0xdc51159ffe70b0e0, "BrotliDecoderVersion", nullptr}, @@ -496,6 +509,7 @@ namespace { {0xeaafb7963ceb9bf4, "SystemNative_GetTcpGlobalStatistics", nullptr}, {0xeab45239fb3f138d, "AndroidCryptoNative_GetBigNumBytes", nullptr}, {0xec67e4076662c2de, "SystemNative_GetDefaultSearchOrderPseudoHandle", nullptr}, + {0xee04f7e5d90ade92, "SystemNative_ReadThreadInfo", nullptr}, {0xee4dd111dc8d98f3, "GlobalizationNative_GetJapaneseEraStartDate", nullptr}, {0xef71ee101b3ece96, "SystemNative_GetIcmpv6GlobalStatistics", nullptr}, {0xeff5d014640ae969, "AndroidCryptoNative_DeleteGlobalReference", nullptr}, @@ -535,7 +549,6 @@ namespace { {0xfd2cdd99f11de76c, "AndroidCryptoNative_EcKeyGetSize", nullptr}, {0xfd4f2784ec1c98aa, "AndroidCryptoNative_SSLStreamRequestClientAuthentication", nullptr}, {0xfe3dd06281f7cd1f, "AndroidCryptoNative_SSLStreamInitialize", nullptr}, - {0xff28b3bec4f32a2c, "SystemNative_GetFileSystemType", nullptr}, {0xff9b8d95b0e209fb, "BrotliEncoderHasMoreOutput", nullptr}, {0xffce9341c40b2b73, "BrotliDecoderDecompress", nullptr}, }}; @@ -582,7 +595,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; }}; //32-bit DotNet p/invoke table - std::array dotnet_pinvokes {{ + std::array dotnet_pinvokes {{ {0xaf6b1c, "AndroidCryptoNative_RsaPrivateDecrypt", nullptr}, {0x1733089, "SystemNative_SetTerminalInvalidationHandler", nullptr}, {0x1dd1f00, "AndroidCryptoNative_Aes192Cfb8", nullptr}, @@ -591,6 +604,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x3295077, "SystemNative_MapTcpState", nullptr}, {0x3d9bc5f, "SystemNative_Unlink", nullptr}, {0x3e12cb4, "SystemNative_INotifyInit", nullptr}, + {0x57565c6, "SystemNative_ReadV", nullptr}, {0x5b0fb1d, "SystemNative_InitializeConsoleBeforeRead", nullptr}, {0x7c1699a, "BrotliSharedDictionaryDestroyInstance", nullptr}, {0x80f30b4, "BrotliDecoderTakeOutput", nullptr}, @@ -605,6 +619,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xd5ca844, "SystemNative_CreateSocketEventPort", nullptr}, {0xd98d741, "SystemNative_Kill", nullptr}, {0xdfe3e26, "SystemNative_Connectx", nullptr}, + {0xf3e9fda, "SystemNative_ReadFromNonblocking", nullptr}, {0xfc48476, "SystemNative_GetNonCryptographicallySecureRandomBytes", nullptr}, {0x10d108c9, "SystemNative_FreeHostEntry", nullptr}, {0x1165644f, "SystemNative_GetOSArchitecture", nullptr}, @@ -628,7 +643,6 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x19b6a696, "AndroidCryptoNative_X509DecodeCollection", nullptr}, {0x1a302b28, "SystemNative_SchedSetAffinity", nullptr}, {0x1aa4105d, "GlobalizationNative_GetSortKey", nullptr}, - {0x1ab05213, "SystemNative_LowLevelFutex_WakeByAddressSingle", nullptr}, {0x1ab1248e, "SystemNative_GetHostName", nullptr}, {0x1ad0dc45, "SystemNative_ReadDir", nullptr}, {0x1ae2353d, "SystemNative_MemfdCreate", nullptr}, @@ -642,6 +656,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x1f1cd573, "AndroidCryptoNative_Des3Cfb64", nullptr}, {0x1f998744, "AndroidCryptoNative_Aes128Cfb128", nullptr}, {0x1fdcd1e0, "CryptoNative_ErrPeekError", nullptr}, + {0x2084cb34, "SystemNative_GetPlatformSIGSTOP", nullptr}, {0x212e38c4, "SystemNative_GetUdpGlobalStatistics", nullptr}, {0x218fa94a, "AndroidCryptoNative_X509StoreDeleteEntry", nullptr}, {0x22011e2b, "SystemNative_SetLingerOption", nullptr}, @@ -697,14 +712,17 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x3e175e7c, "AndroidCryptoNative_Aes256Cfb128", nullptr}, {0x3e273961, "SystemNative_StrErrorR", nullptr}, {0x3e48f022, "SystemNative_GetMaximumAddressSize", nullptr}, + {0x3e638efb, "SystemNative_WriteV", nullptr}, {0x3e778b38, "BrotliDecoderVersion", nullptr}, {0x3ea31c40, "SystemNative_GetAddressFamily", nullptr}, {0x3efdb5a0, "SystemNative_SendMessage", nullptr}, {0x3f47618f, "CryptoNative_EnsureOpenSslInitialized", nullptr}, + {0x3f78331c, "SystemNative_LowLevelCrossProcessMutex_IsAbandoned", nullptr}, {0x3f793993, "SystemNative_LowLevelMonitor_Signal_Release", nullptr}, {0x40b0026c, "CompressionNative_DeflateEnd", nullptr}, {0x40e64bdd, "CryptoNative_ErrClearError", nullptr}, {0x413b9801, "SystemNative_Read", nullptr}, + {0x4178ff7d, "SystemNative_LowLevelCrossProcessMutex_SetAbandoned", nullptr}, {0x41818c1d, "SystemNative_GetPriority", nullptr}, {0x41cf0c16, "AndroidCryptoNative_CipherCreate", nullptr}, {0x42955366, "SystemNative_Disconnect", nullptr}, @@ -807,13 +825,13 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x70d4f7e6, "SystemNative_GetActiveTcpConnectionInfos", nullptr}, {0x70e91ddd, "SystemNative_FChMod", nullptr}, {0x71698a7f, "SystemNative_GetDomainSocketSizes", nullptr}, - {0x72189e8a, "SystemNative_LowLevelFutex_WaitOnAddress", nullptr}, {0x7243c4b4, "AndroidCryptoNative_Des3Cfb8", nullptr}, {0x758dd6aa, "SystemNative_GetTimeZoneData", nullptr}, {0x759f5b1e, "AndroidCryptoNative_Aes256Cfb8", nullptr}, {0x75b11f61, "BrotliDecoderGetErrorCode", nullptr}, {0x76e97b2e, "SystemNative_Rename", nullptr}, {0x78c1eb52, "AndroidCryptoNative_Des3Ecb", nullptr}, + {0x79c4413b, "SystemNative_LowLevelCrossProcessMutex_Acquire", nullptr}, {0x7a0529c1, "SystemNative_InitializeTerminalAndSignalHandling", nullptr}, {0x7a4012d2, "GlobalizationNative_GetICUVersion", nullptr}, {0x7aa30494, "Java_net_dot_android_crypto_DotnetProxyTrustManager_verifyRemoteCertificate", nullptr}, @@ -825,6 +843,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x7e882ae5, "BrotliEncoderIsFinished", nullptr}, {0x7e9a677b, "GlobalizationNative_GetSortVersion", nullptr}, {0x7f5d9e25, "SystemNative_MUnmap", nullptr}, + {0x80aee1b0, "SystemNative_IsAtomicNonInheritablePipeCreationSupported", nullptr}, {0x80d5027e, "CryptoNative_EvpMdCtxCopyEx", nullptr}, {0x80deced4, "SystemNative_CreateAutoreleasePool", nullptr}, {0x81a5efac, "SystemNative_SetEUid", nullptr}, @@ -845,7 +864,6 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x8f4e59f1, "SystemNative_ReadStdin", nullptr}, {0x8f628a8d, "GlobalizationNative_CompareString", nullptr}, {0x909e12ee, "SystemNative_SearchPath", nullptr}, - {0x910b7740, "SystemNative_GetFormatInfoForMountPoint", nullptr}, {0x913a3d68, "SystemNative_GetDeviceIdentifiers", nullptr}, {0x9216d936, "SystemNative_GetGroupName", nullptr}, {0x94477030, "AndroidCryptoNative_Aes256Ccm", nullptr}, @@ -854,6 +872,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x966f54af, "CryptoNative_EvpSha384", nullptr}, {0x96912459, "AndroidCryptoNative_X509GetCertificateForPrivateKeyEntry", nullptr}, {0x9787b4b4, "CryptoNative_EvpMdSize", nullptr}, + {0x97b1e6e1, "SystemNative_LowLevelCrossProcessMutex_Init", nullptr}, {0x98105435, "SystemNative_GetIPv6Address", nullptr}, {0x984edaf1, "AndroidCryptoNative_RsaDestroy", nullptr}, {0x9852b0fa, "SystemNative_INotifyRemoveWatch", nullptr}, @@ -862,10 +881,8 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x990163b4, "SystemNative_Receive", nullptr}, {0x996952b3, "AndroidCryptoNative_CipherFinalEx", nullptr}, {0x9a005080, "SystemNative_Bind", nullptr}, - {0x9a1188d3, "SystemNative_LowLevelFutex_WaitOnAddressTimeout", nullptr}, {0x9a84ffd3, "AndroidCryptoNative_ChaCha20Poly1305", nullptr}, {0x9abfce84, "SystemNative_GetEnviron", nullptr}, - {0x9bda7eb1, "SystemNative_ReadProcessStatusInfo", nullptr}, {0x9cd6cae8, "AndroidCryptoNative_SSLStreamRelease", nullptr}, {0x9d102d58, "CompressionNative_InflateEnd", nullptr}, {0x9d2f90cf, "GlobalizationNative_GetLatestJapaneseEra", nullptr}, @@ -877,6 +894,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x9feb81cb, "SystemNative_SNPrintF_1I", nullptr}, {0xa0db1858, "SystemNative_GetEnv", nullptr}, {0xa1295a9f, "SystemNative_MkFifo", nullptr}, + {0xa155dd01, "SystemNative_LowLevelCrossProcessMutex_SetOwnerProcessAndThreadId", nullptr}, {0xa1bec9da, "SystemNative_LogError", nullptr}, {0xa1d774fc, "BrotliEncoderHasMoreOutput", nullptr}, {0xa2430b33, "SystemNative_SearchPath_TempDirectory", nullptr}, @@ -916,6 +934,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xb26f05b6, "SystemNative_PWrite", nullptr}, {0xb2965ccd, "CryptoNative_GetMaxMdSize", nullptr}, {0xb2985645, "AndroidCryptoNative_X509StoreEnumerateCertificates", nullptr}, + {0xb3a407cd, "SystemNative_ReadProcessInfo", nullptr}, {0xb4110b14, "AndroidCryptoNative_DsaGenerateKey", nullptr}, {0xb427959c, "SystemNative_FLock", nullptr}, {0xb439ebdb, "AndroidCryptoNative_RegisterRemoteCertificateValidationCallback", nullptr}, @@ -952,6 +971,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xbfaad12d, "BrotliDecoderSetParameter", nullptr}, {0xc090b1d3, "CryptoNative_EvpSha512", nullptr}, {0xc0d66913, "SystemNative_GetUnixVersion", nullptr}, + {0xc0e1f632, "SystemNative_ReadThreadInfo", nullptr}, {0xc11dec94, "SystemNative_FAllocate", nullptr}, {0xc1243135, "AndroidCryptoNative_Aes128Gcm", nullptr}, {0xc1e4e6f6, "AndroidCryptoNative_BigNumToBinary", nullptr}, @@ -971,6 +991,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xc717b16e, "CryptoNative_EvpMdCtxDestroy", nullptr}, {0xc746b70c, "AndroidCryptoNative_DsaSign", nullptr}, {0xc83527e0, "CryptoNative_HmacReset", nullptr}, + {0xc88c60e9, "SystemNative_LowLevelCrossProcessMutex_Release", nullptr}, {0xc89ccd22, "SystemNative_SchedGetCpu", nullptr}, {0xc8cce896, "SystemNative_GetSocketType", nullptr}, {0xc8e06b20, "AndroidCryptoNative_X509ChainGetCertificates", nullptr}, @@ -981,6 +1002,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xcb746e5c, "SystemNative_SetIPv4MulticastOption", nullptr}, {0xcb85cd8e, "AndroidCryptoNative_EcdhDeriveKey", nullptr}, {0xccc0dd15, "SystemNative_RegisterForSigChld", nullptr}, + {0xcd4fe938, "SystemNative_LowLevelCrossProcessMutex_Size", nullptr}, {0xcdfb627d, "SystemNative_FreeLibrary", nullptr}, {0xce91e293, "SystemNative_GetGroupList", nullptr}, {0xcf0912c8, "GlobalizationNative_GetLocaleTimeFormat", nullptr}, @@ -990,6 +1012,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xd199e841, "SystemNative_GetEstimatedUdpListenerCount", nullptr}, {0xd24d4849, "SystemNative_Socket", nullptr}, {0xd298c3b3, "SystemNative_Write", nullptr}, + {0xd2f7b64e, "SystemNative_LowLevelCrossProcessMutex_GetOwnerProcessAndThreadId", nullptr}, {0xd378ba49, "CryptoNative_EvpMd5", nullptr}, {0xd473c64c, "SystemNative_SetReceiveTimeout", nullptr}, {0xd4b91180, "SystemNative_ForkAndExecProcess", nullptr}, @@ -1019,6 +1042,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xe121bac7, "SystemNative_GetPeerID", nullptr}, {0xe169faa6, "AndroidCryptoNative_SSLStreamSetApplicationProtocols", nullptr}, {0xe1b8b44f, "SystemNative_Send", nullptr}, + {0xe1cbff5e, "SystemNative_LowLevelCrossProcessMutex_Destroy", nullptr}, {0xe2a0d0de, "SystemNative_GetSpaceInfoForMountPoint", nullptr}, {0xe4a78efb, "SystemNative_SetPriority", nullptr}, {0xe4dba4f6, "SystemNative_GetCwd", nullptr}, @@ -1027,18 +1051,21 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xe58ed8fe, "SystemNative_PlatformSupportsDualModeIPv4PacketInfo", nullptr}, {0xe5ef37b3, "AndroidCryptoNative_DsaSignatureFieldSize", nullptr}, {0xe70a3634, "GlobalizationNative_GetLocaleName", nullptr}, + {0xe7593db1, "SystemNative_GetFileSystemTypeNameForMountPoint", nullptr}, {0xe770cb3f, "SystemNative_CopyFile", nullptr}, {0xe7a9a106, "CompressionNative_InflateInit2_", nullptr}, {0xe7bd8dd1, "AndroidCryptoNative_EcKeyCreateByKeyParameters", nullptr}, {0xe890cf58, "AndroidCryptoNative_EcDsaSign", nullptr}, {0xe8b2ec8d, "BrotliDecoderErrorString", nullptr}, {0xe972fbd9, "SystemNative_GetEGid", nullptr}, + {0xe9a19824, "SystemNative_WriteToNonblocking", nullptr}, {0xe9bc4e53, "SystemNative_SNPrintF_1S", nullptr}, {0xea86f52f, "BrotliEncoderTakeOutput", nullptr}, {0xeb0d0522, "SystemNative_LowLevelMonitor_Wait", nullptr}, {0xebacbf92, "AndroidCryptoNative_Aes128Cfb8", nullptr}, {0xec31140d, "BrotliDecoderHasMoreOutput", nullptr}, {0xec51a1b4, "SystemNative_LChflags", nullptr}, + {0xed615209, "SystemNative_GetNextAreaInfo", nullptr}, {0xed6cc182, "CryptoNative_EvpMdCtxCreate", nullptr}, {0xee74a5ad, "AndroidCryptoNative_DsaSizeP", nullptr}, {0xef48c2eb, "CryptoNative_EvpDigestReset", nullptr}, @@ -1075,7 +1102,6 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xfde48d33, "CompressionNative_InflateReset2_", nullptr}, {0xfe2f2c47, "SystemNative_DrainAutoreleasePool", nullptr}, {0xfeb6c5c7, "SystemNative_WaitPidExitedNoHang", nullptr}, - {0xff3b4cfa, "SystemNative_GetFileSystemType", nullptr}, {0xff975200, "SystemNative_Realloc", nullptr}, }}; @@ -1090,5 +1116,5 @@ constexpr hash_t system_globalization_native_library_hash = 0xa66f1e5a; #endif constexpr size_t internal_pinvokes_count = 28; -constexpr size_t dotnet_pinvokes_count = 494; +constexpr size_t dotnet_pinvokes_count = 507; } // end of anonymous namespace diff --git a/src/native/mono/pinvoke-override/generate-pinvoke-tables.cc b/src/native/mono/pinvoke-override/generate-pinvoke-tables.cc index 654885ebae4..737ab979641 100644 --- a/src/native/mono/pinvoke-override/generate-pinvoke-tables.cc +++ b/src/native/mono/pinvoke-override/generate-pinvoke-tables.cc @@ -238,8 +238,7 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_GetEstimatedTcpConnectionCount", "SystemNative_GetEstimatedUdpListenerCount", "SystemNative_GetEUid", - "SystemNative_GetFileSystemType", - "SystemNative_GetFormatInfoForMountPoint", + "SystemNative_GetFileSystemTypeNameForMountPoint", "SystemNative_GetGroupList", "SystemNative_GetGroupName", "SystemNative_GetGroups", @@ -259,12 +258,14 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_GetNameInfo", "SystemNative_GetNativeIPInterfaceStatistics", "SystemNative_GetNetworkInterfaces", + "SystemNative_GetNextAreaInfo", "SystemNative_GetNonCryptographicallySecureRandomBytes", "SystemNative_GetNumRoutes", "SystemNative_GetOSArchitecture", "SystemNative_GetPeerID", "SystemNative_GetPeerName", "SystemNative_GetPid", + "SystemNative_GetPlatformSIGSTOP", "SystemNative_GetPlatformSignalNumber", "SystemNative_GetPort", "SystemNative_GetPriority", @@ -301,6 +302,7 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_InterfaceNameToIndex", "SystemNative_iOSSupportVersion", "SystemNative_IsATty", + "SystemNative_IsAtomicNonInheritablePipeCreationSupported", "SystemNative_IsMemfdSupported", "SystemNative_Kill", "SystemNative_LChflags", @@ -318,9 +320,15 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_LowLevelMonitor_Signal_Release", "SystemNative_LowLevelMonitor_TimedWait", "SystemNative_LowLevelMonitor_Wait", - "SystemNative_LowLevelFutex_WaitOnAddress", - "SystemNative_LowLevelFutex_WaitOnAddressTimeout", - "SystemNative_LowLevelFutex_WakeByAddressSingle", + "SystemNative_LowLevelCrossProcessMutex_Acquire", + "SystemNative_LowLevelCrossProcessMutex_Destroy", + "SystemNative_LowLevelCrossProcessMutex_GetOwnerProcessAndThreadId", + "SystemNative_LowLevelCrossProcessMutex_Init", + "SystemNative_LowLevelCrossProcessMutex_IsAbandoned", + "SystemNative_LowLevelCrossProcessMutex_Release", + "SystemNative_LowLevelCrossProcessMutex_SetAbandoned", + "SystemNative_LowLevelCrossProcessMutex_SetOwnerProcessAndThreadId", + "SystemNative_LowLevelCrossProcessMutex_Size", "SystemNative_LSeek", "SystemNative_LStat", "SystemNative_MAdvise", @@ -350,9 +358,12 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_Read", "SystemNative_ReadDir", "SystemNative_ReadEvents", + "SystemNative_ReadFromNonblocking", "SystemNative_ReadLink", - "SystemNative_ReadProcessStatusInfo", + "SystemNative_ReadProcessInfo", "SystemNative_ReadStdin", + "SystemNative_ReadThreadInfo", + "SystemNative_ReadV", "SystemNative_Realloc", "SystemNative_RealPath", "SystemNative_Receive", @@ -416,6 +427,8 @@ const std::vector dotnet_pinvoke_names = { "SystemNative_WaitIdAnyExitedNoHangNoWait", "SystemNative_WaitPidExitedNoHang", "SystemNative_Write", + "SystemNative_WriteToNonblocking", + "SystemNative_WriteV", // libSystem.Security.Cryptography.Native.Android.so "AndroidCryptoNative_AeadCipherFinalEx", diff --git a/src/native/mono/pinvoke-override/pinvoke-tables.include b/src/native/mono/pinvoke-override/pinvoke-tables.include index ce0faa13230..c86c5be889c 100644 --- a/src/native/mono/pinvoke-override/pinvoke-tables.include +++ b/src/native/mono/pinvoke-override/pinvoke-tables.include @@ -54,7 +54,7 @@ namespace { }}; //64-bit DotNet p/invoke table - std::array dotnet_pinvokes {{ + std::array dotnet_pinvokes {{ {0x99f2ee02463000, "CompressionNative_Crc32", nullptr}, {0xb38afc8bfe830b, "SystemNative_Bind", nullptr}, {0x190fe65d8736dcb, "SystemNative_TryGetIPPacketInformation", nullptr}, @@ -76,6 +76,7 @@ namespace { {0x6861b5336291d12, "SystemNative_PathConf", nullptr}, {0x690c4347972024f, "AndroidCryptoNative_Aes256Gcm", nullptr}, {0x6a1f4deffa02c30, "SystemNative_LowLevelMonitor_Acquire", nullptr}, + {0x6fe50be504a1949, "SystemNative_GetPlatformSIGSTOP", nullptr}, {0x7b5579ab0499b1f, "AndroidCryptoNative_RsaSize", nullptr}, {0x7ce8a9b967dd269, "SystemNative_Read", nullptr}, {0x7f0e1227c9c0225, "CryptoNative_EvpMdCtxDestroy", nullptr}, @@ -93,10 +94,12 @@ namespace { {0xcaba893801c6a6f, "AndroidCryptoNative_Aes256Ecb", nullptr}, {0xcbe6d3d22131194, "AndroidCryptoNative_SetRsaParameters", nullptr}, {0xe7e93cf9237e1f2, "GlobalizationNative_ToAscii", nullptr}, + {0xee97d6eea2facf0, "SystemNative_LowLevelCrossProcessMutex_Release", nullptr}, {0xef8dd67e25bac53, "SystemNative_GetWindowSize", nullptr}, {0xfa0899cf8d00a87, "SystemNative_MkDir", nullptr}, {0xfe7079441ac127e, "SystemNative_CreateSocketEventPort", nullptr}, {0x1027786cdd9a3e9c, "AndroidCryptoNative_Aes192Cbc", nullptr}, + {0x104dacfa39d2a623, "SystemNative_ReadProcessInfo", nullptr}, {0x10d733abd1fd94bb, "SystemNative_TryChangeSocketEventRegistration", nullptr}, {0x114b8384553f5418, "SystemNative_GetSystemTimeAsTicks", nullptr}, {0x119a38c3e288a233, "SystemNative_SNPrintF_1S", nullptr}, @@ -109,16 +112,17 @@ namespace { {0x13577369f5ec4b0a, "SystemNative_GetActiveTcpConnectionInfos", nullptr}, {0x1399413d8a7d9dd8, "SystemNative_GetAddressFamily", nullptr}, {0x13a1c2de7fb2519f, "SystemNative_CloseSocketEventPort", nullptr}, + {0x13c086dabb9a6944, "SystemNative_LowLevelCrossProcessMutex_GetOwnerProcessAndThreadId", nullptr}, {0x146cd1dc4fb2ba58, "SystemNative_LChflagsCanSetHiddenFlag", nullptr}, {0x14b7e3527b60e83f, "CryptoNative_ErrErrorStringN", nullptr}, {0x15bd710d3a9b3b0c, "CryptoNative_EvpDigestFinalEx", nullptr}, - {0x1757413d3fb3c492, "SystemNative_LowLevelFutex_WaitOnAddress", nullptr}, {0x18580a4592ed1ea6, "GlobalizationNative_GetSortKey", nullptr}, {0x185f5d25252c3c72, "SystemNative_FAllocate", nullptr}, {0x18d6b5e9fec9b0dc, "SystemNative_Connectx", nullptr}, {0x18f7da5f584b5b59, "SystemNative_PReadV", nullptr}, {0x1948a0cf88329c2f, "SystemNative_HandleNonCanceledPosixSignal", nullptr}, {0x195a0b4ce535876c, "SystemNative_UninitializeTerminal", nullptr}, + {0x195bef29e113aedc, "SystemNative_WriteV", nullptr}, {0x1ac95b02f23933cc, "SystemNative_CanGetHiddenFlag", nullptr}, {0x1d1bb0528d517729, "AndroidCryptoNative_SSLGetSupportedProtocols", nullptr}, {0x1d4dcbc06728e689, "SystemNative_Close", nullptr}, @@ -166,11 +170,11 @@ namespace { {0x3424ffcb69ecef57, "SystemNative_Unlink", nullptr}, {0x346a9bb11364833c, "SystemNative_DrainAutoreleasePool", nullptr}, {0x35169e67cc0f8529, "SystemNative_GetIPv6MulticastOption", nullptr}, + {0x357cddd849a13028, "SystemNative_LowLevelCrossProcessMutex_SetAbandoned", nullptr}, {0x359205b4a10fa780, "SystemNative_LowLevelMonitor_Destroy", nullptr}, {0x35c0aa811b7a83c8, "BrotliDecoderSetMetadataCallbacks", nullptr}, {0x35c1fa8dffcbbd8c, "CryptoNative_EvpDigestReset", nullptr}, {0x36128eed665b1923, "SystemNative_ShmUnlink", nullptr}, - {0x362dd6799f8caed6, "SystemNative_LowLevelFutex_WaitOnAddressTimeout", nullptr}, {0x364dcf65ae63adff, "SystemNative_GetSocketErrorOption", nullptr}, {0x3757b327944abb54, "SystemNative_EnablePosixSignalHandling", nullptr}, {0x376f5dc6f9cfc714, "BrotliSharedDictionaryAttach", nullptr}, @@ -194,7 +198,6 @@ namespace { {0x420718c398131a55, "AndroidCryptoNative_SSLStreamGetProtocol", nullptr}, {0x42339dd2717504d9, "SystemNative_GetLingerOption", nullptr}, {0x42783107bf2935ec, "SystemNative_FreeHostEntry", nullptr}, - {0x42eb0578a9d62b78, "SystemNative_GetFormatInfoForMountPoint", nullptr}, {0x4360eb8a25122eee, "GlobalizationNative_StartsWith", nullptr}, {0x43741165a5ba60d5, "AndroidCryptoNative_CipherUpdateAAD", nullptr}, {0x44ccb27979f980ce, "SystemNative_AlignedAlloc", nullptr}, @@ -220,6 +223,7 @@ namespace { {0x501daf7e3a890220, "AndroidCryptoNative_X509ChainBuild", nullptr}, {0x507983f11ffec7a8, "GlobalizationNative_GetTimeZoneDisplayName", nullptr}, {0x509ff12da4e77259, "SystemNative_GetSocketAddressSizes", nullptr}, + {0x521eaea8e5c9730d, "SystemNative_LowLevelCrossProcessMutex_Init", nullptr}, {0x523240c01d14ad50, "SystemNative_GetPeerID", nullptr}, {0x52794f1118d32f08, "SystemNative_GetUnixVersion", nullptr}, {0x52fc107ebdb6fcc7, "AndroidCryptoNative_X509StoreRemoveCertificate", nullptr}, @@ -243,9 +247,12 @@ namespace { {0x5d503db70d17dad2, "BrotliEncoderIsFinished", nullptr}, {0x5dd1d1d024378765, "CryptoNative_EvpMdSize", nullptr}, {0x5e53b688fede3216, "SystemNative_GetControlCharacters", nullptr}, + {0x5e86d0acb8fa2c34, "SystemNative_ReadFromNonblocking", nullptr}, + {0x5f519de5c703ee33, "SystemNative_LowLevelCrossProcessMutex_SetOwnerProcessAndThreadId", nullptr}, {0x5fa62856bdbba9c0, "SystemNative_GetPort", nullptr}, {0x5fd29ac523ff6e3d, "AndroidCryptoNative_SSLStreamRelease", nullptr}, {0x5ffae3c8023a80b8, "AndroidCryptoNative_SSLStreamGetPeerCertificate", nullptr}, + {0x5ffcc42506cc2ae4, "SystemNative_IsAtomicNonInheritablePipeCreationSupported", nullptr}, {0x600b4418896f7808, "SystemNative_Exit", nullptr}, {0x6089f0c8112eb3d9, "SystemNative_InitializeConsoleBeforeRead", nullptr}, {0x61bacd7170fd8c9b, "SystemNative_SchedSetAffinity", nullptr}, @@ -295,6 +302,8 @@ namespace { {0x7a37e0d077f2dfe5, "AndroidCryptoNative_DsaGenerateKey", nullptr}, {0x7a4d912694906c9c, "GlobalizationNative_ToUnicode", nullptr}, {0x7af1f52a7a632e95, "BrotliDecoderTakeOutput", nullptr}, + {0x7b70a1ab1ffc3322, "SystemNative_ReadV", nullptr}, + {0x7b97bb0346895502, "SystemNative_LowLevelCrossProcessMutex_Acquire", nullptr}, {0x7d5273ad530e7298, "AndroidCryptoNative_X509StoreOpenDefault", nullptr}, {0x7d7ee4bce74d4de9, "SystemNative_GetDomainSocketSizes", nullptr}, {0x7e1766c6df3ad261, "SystemNative_MUnmap", nullptr}, @@ -317,6 +326,7 @@ namespace { {0x889350f209555ecb, "SystemNative_MkdTemp", nullptr}, {0x88a08b60b80c70cc, "SystemNative_FChMod", nullptr}, {0x88cfeefc903f9d60, "CryptoNative_EvpDigestCurrent", nullptr}, + {0x8a7ddeb0d190299a, "SystemNative_LowLevelCrossProcessMutex_IsAbandoned", nullptr}, {0x8bcabce135063bed, "SystemNative_OpenDir", nullptr}, {0x8df448aee6e8fa5e, "SystemNative_WaitPidExitedNoHang", nullptr}, {0x8e96cb02418947cc, "SystemNative_FcntlGetPipeSz", nullptr}, @@ -326,6 +336,7 @@ namespace { {0x9161ade1206fd86e, "AndroidCryptoNative_Aes256Cfb128", nullptr}, {0x9167a072639a7c95, "AndroidCryptoNative_Aes256Ccm", nullptr}, {0x91f065ec0d3aec55, "AndroidCryptoNative_X509StoreAddCertificateWithPrivateKey", nullptr}, + {0x92c4158bf0307b25, "SystemNative_GetFileSystemTypeNameForMountPoint", nullptr}, {0x93a8bec488055608, "SystemNative_GetPwNamR", nullptr}, {0x95a0e2fc5c0cb49e, "AndroidCryptoNative_SSLStreamSetApplicationProtocols", nullptr}, {0x95a4cb8563cc6b14, "SystemNative_ShmOpen", nullptr}, @@ -338,6 +349,7 @@ namespace { {0x9aaaad33b28af82f, "SystemNative_SetSignalForBreak", nullptr}, {0x9aab07f824659d3e, "AndroidCryptoNative_DsaKeyCreateByExplicitParameters", nullptr}, {0x9c3e8b890033819a, "SystemNative_FcntlCanGetSetPipeSz", nullptr}, + {0x9c702320b16e1831, "SystemNative_LowLevelCrossProcessMutex_Size", nullptr}, {0x9c832cd7fcbf2de0, "SystemNative_MkFifo", nullptr}, {0x9d2cb31282abd3d9, "SystemNative_GetNetworkInterfaces", nullptr}, {0x9de1a10b99ff806a, "BrotliEncoderPrepareDictionary", nullptr}, @@ -352,6 +364,7 @@ namespace { {0xa2d7790a850024c0, "SystemNative_GetNumRoutes", nullptr}, {0xa302613a430248b8, "SystemNative_GetGroups", nullptr}, {0xa308025a784497df, "AndroidCryptoNative_SSLStreamSetEnabledProtocols", nullptr}, + {0xa4f5402924d4e939, "SystemNative_LowLevelCrossProcessMutex_Destroy", nullptr}, {0xa56532a23755cd87, "SystemNative_StdinReady", nullptr}, {0xa56954e28eb9a9c9, "AndroidCryptoNative_Des3Cfb8", nullptr}, {0xa57e18f82abd5958, "BrotliDecoderDestroyInstance", nullptr}, @@ -416,6 +429,7 @@ namespace { {0xc0bb2dd0c5b74436, "CryptoNative_EnsureOpenSslInitialized", nullptr}, {0xc10e411c989a9314, "CompressionNative_Deflate", nullptr}, {0xc11cd661db8be230, "AndroidCryptoNative_Des3Cfb64", nullptr}, + {0xc16c78086cca8a65, "SystemNative_GetNextAreaInfo", nullptr}, {0xc183a0550feea0d6, "BrotliEncoderCompressStream", nullptr}, {0xc19b94823ea1d39e, "CryptoNative_HmacOneShot", nullptr}, {0xc1b8a5f1c799e4bb, "BrotliGetDictionary", nullptr}, @@ -453,8 +467,8 @@ namespace { {0xce9f8a6ac705faa5, "AndroidCryptoNative_X509DecodeCollection", nullptr}, {0xceba527295694651, "BrotliDecoderCreateInstance", nullptr}, {0xd0899515dfe85287, "GlobalizationNative_LoadICU", nullptr}, + {0xd167507bf61cc50a, "SystemNative_WriteToNonblocking", nullptr}, {0xd185dfe303ab91dd, "GlobalizationNative_CompareString", nullptr}, - {0xd1ee731900924bec, "SystemNative_LowLevelFutex_WakeByAddressSingle", nullptr}, {0xd392d6ed5dcc111c, "SystemNative_GetDomainName", nullptr}, {0xd513a641103f8971, "SystemNative_IsMemfdSupported", nullptr}, {0xd5264d57a926edfb, "GlobalizationNative_InitICUFunctions", nullptr}, @@ -472,7 +486,6 @@ namespace { {0xda4898a26933f73d, "AndroidCryptoNative_DsaVerify", nullptr}, {0xda6b3192974ca60e, "SystemNative_Open", nullptr}, {0xdab5eb45815daabc, "SystemNative_GetAtOutOfBandMark", nullptr}, - {0xdae32aac0c0d305c, "SystemNative_ReadProcessStatusInfo", nullptr}, {0xdbb4752ed23670f0, "AndroidCryptoNative_DesCbc", nullptr}, {0xdbee22594fa8c585, "SystemNative_CreateAutoreleasePool", nullptr}, {0xdc51159ffe70b0e0, "BrotliDecoderVersion", nullptr}, @@ -507,6 +520,7 @@ namespace { {0xeaafb7963ceb9bf4, "SystemNative_GetTcpGlobalStatistics", nullptr}, {0xeab45239fb3f138d, "AndroidCryptoNative_GetBigNumBytes", nullptr}, {0xec67e4076662c2de, "SystemNative_GetDefaultSearchOrderPseudoHandle", nullptr}, + {0xee04f7e5d90ade92, "SystemNative_ReadThreadInfo", nullptr}, {0xee4dd111dc8d98f3, "GlobalizationNative_GetJapaneseEraStartDate", nullptr}, {0xef71ee101b3ece96, "SystemNative_GetIcmpv6GlobalStatistics", nullptr}, {0xeff5d014640ae969, "AndroidCryptoNative_DeleteGlobalReference", nullptr}, @@ -546,7 +560,6 @@ namespace { {0xfd2cdd99f11de76c, "AndroidCryptoNative_EcKeyGetSize", nullptr}, {0xfd4f2784ec1c98aa, "AndroidCryptoNative_SSLStreamRequestClientAuthentication", nullptr}, {0xfe3dd06281f7cd1f, "AndroidCryptoNative_SSLStreamInitialize", nullptr}, - {0xff28b3bec4f32a2c, "SystemNative_GetFileSystemType", nullptr}, {0xff9b8d95b0e209fb, "BrotliEncoderHasMoreOutput", nullptr}, {0xffce9341c40b2b73, "BrotliDecoderDecompress", nullptr}, }}; @@ -603,7 +616,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; }}; //32-bit DotNet p/invoke table - std::array dotnet_pinvokes {{ + std::array dotnet_pinvokes {{ {0xaf6b1c, "AndroidCryptoNative_RsaPrivateDecrypt", nullptr}, {0x1733089, "SystemNative_SetTerminalInvalidationHandler", nullptr}, {0x1dd1f00, "AndroidCryptoNative_Aes192Cfb8", nullptr}, @@ -612,6 +625,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x3295077, "SystemNative_MapTcpState", nullptr}, {0x3d9bc5f, "SystemNative_Unlink", nullptr}, {0x3e12cb4, "SystemNative_INotifyInit", nullptr}, + {0x57565c6, "SystemNative_ReadV", nullptr}, {0x5b0fb1d, "SystemNative_InitializeConsoleBeforeRead", nullptr}, {0x7c1699a, "BrotliSharedDictionaryDestroyInstance", nullptr}, {0x80f30b4, "BrotliDecoderTakeOutput", nullptr}, @@ -626,6 +640,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xd5ca844, "SystemNative_CreateSocketEventPort", nullptr}, {0xd98d741, "SystemNative_Kill", nullptr}, {0xdfe3e26, "SystemNative_Connectx", nullptr}, + {0xf3e9fda, "SystemNative_ReadFromNonblocking", nullptr}, {0xfc48476, "SystemNative_GetNonCryptographicallySecureRandomBytes", nullptr}, {0x10d108c9, "SystemNative_FreeHostEntry", nullptr}, {0x1165644f, "SystemNative_GetOSArchitecture", nullptr}, @@ -649,7 +664,6 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x19b6a696, "AndroidCryptoNative_X509DecodeCollection", nullptr}, {0x1a302b28, "SystemNative_SchedSetAffinity", nullptr}, {0x1aa4105d, "GlobalizationNative_GetSortKey", nullptr}, - {0x1ab05213, "SystemNative_LowLevelFutex_WakeByAddressSingle", nullptr}, {0x1ab1248e, "SystemNative_GetHostName", nullptr}, {0x1ad0dc45, "SystemNative_ReadDir", nullptr}, {0x1ae2353d, "SystemNative_MemfdCreate", nullptr}, @@ -663,6 +677,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x1f1cd573, "AndroidCryptoNative_Des3Cfb64", nullptr}, {0x1f998744, "AndroidCryptoNative_Aes128Cfb128", nullptr}, {0x1fdcd1e0, "CryptoNative_ErrPeekError", nullptr}, + {0x2084cb34, "SystemNative_GetPlatformSIGSTOP", nullptr}, {0x212e38c4, "SystemNative_GetUdpGlobalStatistics", nullptr}, {0x218fa94a, "AndroidCryptoNative_X509StoreDeleteEntry", nullptr}, {0x22011e2b, "SystemNative_SetLingerOption", nullptr}, @@ -718,14 +733,17 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x3e175e7c, "AndroidCryptoNative_Aes256Cfb128", nullptr}, {0x3e273961, "SystemNative_StrErrorR", nullptr}, {0x3e48f022, "SystemNative_GetMaximumAddressSize", nullptr}, + {0x3e638efb, "SystemNative_WriteV", nullptr}, {0x3e778b38, "BrotliDecoderVersion", nullptr}, {0x3ea31c40, "SystemNative_GetAddressFamily", nullptr}, {0x3efdb5a0, "SystemNative_SendMessage", nullptr}, {0x3f47618f, "CryptoNative_EnsureOpenSslInitialized", nullptr}, + {0x3f78331c, "SystemNative_LowLevelCrossProcessMutex_IsAbandoned", nullptr}, {0x3f793993, "SystemNative_LowLevelMonitor_Signal_Release", nullptr}, {0x40b0026c, "CompressionNative_DeflateEnd", nullptr}, {0x40e64bdd, "CryptoNative_ErrClearError", nullptr}, {0x413b9801, "SystemNative_Read", nullptr}, + {0x4178ff7d, "SystemNative_LowLevelCrossProcessMutex_SetAbandoned", nullptr}, {0x41818c1d, "SystemNative_GetPriority", nullptr}, {0x41cf0c16, "AndroidCryptoNative_CipherCreate", nullptr}, {0x42955366, "SystemNative_Disconnect", nullptr}, @@ -828,13 +846,13 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x70d4f7e6, "SystemNative_GetActiveTcpConnectionInfos", nullptr}, {0x70e91ddd, "SystemNative_FChMod", nullptr}, {0x71698a7f, "SystemNative_GetDomainSocketSizes", nullptr}, - {0x72189e8a, "SystemNative_LowLevelFutex_WaitOnAddress", nullptr}, {0x7243c4b4, "AndroidCryptoNative_Des3Cfb8", nullptr}, {0x758dd6aa, "SystemNative_GetTimeZoneData", nullptr}, {0x759f5b1e, "AndroidCryptoNative_Aes256Cfb8", nullptr}, {0x75b11f61, "BrotliDecoderGetErrorCode", nullptr}, {0x76e97b2e, "SystemNative_Rename", nullptr}, {0x78c1eb52, "AndroidCryptoNative_Des3Ecb", nullptr}, + {0x79c4413b, "SystemNative_LowLevelCrossProcessMutex_Acquire", nullptr}, {0x7a0529c1, "SystemNative_InitializeTerminalAndSignalHandling", nullptr}, {0x7a4012d2, "GlobalizationNative_GetICUVersion", nullptr}, {0x7aa30494, "Java_net_dot_android_crypto_DotnetProxyTrustManager_verifyRemoteCertificate", nullptr}, @@ -846,6 +864,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x7e882ae5, "BrotliEncoderIsFinished", nullptr}, {0x7e9a677b, "GlobalizationNative_GetSortVersion", nullptr}, {0x7f5d9e25, "SystemNative_MUnmap", nullptr}, + {0x80aee1b0, "SystemNative_IsAtomicNonInheritablePipeCreationSupported", nullptr}, {0x80d5027e, "CryptoNative_EvpMdCtxCopyEx", nullptr}, {0x80deced4, "SystemNative_CreateAutoreleasePool", nullptr}, {0x81a5efac, "SystemNative_SetEUid", nullptr}, @@ -866,7 +885,6 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x8f4e59f1, "SystemNative_ReadStdin", nullptr}, {0x8f628a8d, "GlobalizationNative_CompareString", nullptr}, {0x909e12ee, "SystemNative_SearchPath", nullptr}, - {0x910b7740, "SystemNative_GetFormatInfoForMountPoint", nullptr}, {0x913a3d68, "SystemNative_GetDeviceIdentifiers", nullptr}, {0x9216d936, "SystemNative_GetGroupName", nullptr}, {0x94477030, "AndroidCryptoNative_Aes256Ccm", nullptr}, @@ -875,6 +893,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x966f54af, "CryptoNative_EvpSha384", nullptr}, {0x96912459, "AndroidCryptoNative_X509GetCertificateForPrivateKeyEntry", nullptr}, {0x9787b4b4, "CryptoNative_EvpMdSize", nullptr}, + {0x97b1e6e1, "SystemNative_LowLevelCrossProcessMutex_Init", nullptr}, {0x98105435, "SystemNative_GetIPv6Address", nullptr}, {0x984edaf1, "AndroidCryptoNative_RsaDestroy", nullptr}, {0x9852b0fa, "SystemNative_INotifyRemoveWatch", nullptr}, @@ -883,10 +902,8 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x990163b4, "SystemNative_Receive", nullptr}, {0x996952b3, "AndroidCryptoNative_CipherFinalEx", nullptr}, {0x9a005080, "SystemNative_Bind", nullptr}, - {0x9a1188d3, "SystemNative_LowLevelFutex_WaitOnAddressTimeout", nullptr}, {0x9a84ffd3, "AndroidCryptoNative_ChaCha20Poly1305", nullptr}, {0x9abfce84, "SystemNative_GetEnviron", nullptr}, - {0x9bda7eb1, "SystemNative_ReadProcessStatusInfo", nullptr}, {0x9cd6cae8, "AndroidCryptoNative_SSLStreamRelease", nullptr}, {0x9d102d58, "CompressionNative_InflateEnd", nullptr}, {0x9d2f90cf, "GlobalizationNative_GetLatestJapaneseEra", nullptr}, @@ -898,6 +915,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0x9feb81cb, "SystemNative_SNPrintF_1I", nullptr}, {0xa0db1858, "SystemNative_GetEnv", nullptr}, {0xa1295a9f, "SystemNative_MkFifo", nullptr}, + {0xa155dd01, "SystemNative_LowLevelCrossProcessMutex_SetOwnerProcessAndThreadId", nullptr}, {0xa1bec9da, "SystemNative_LogError", nullptr}, {0xa1d774fc, "BrotliEncoderHasMoreOutput", nullptr}, {0xa2430b33, "SystemNative_SearchPath_TempDirectory", nullptr}, @@ -937,6 +955,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xb26f05b6, "SystemNative_PWrite", nullptr}, {0xb2965ccd, "CryptoNative_GetMaxMdSize", nullptr}, {0xb2985645, "AndroidCryptoNative_X509StoreEnumerateCertificates", nullptr}, + {0xb3a407cd, "SystemNative_ReadProcessInfo", nullptr}, {0xb4110b14, "AndroidCryptoNative_DsaGenerateKey", nullptr}, {0xb427959c, "SystemNative_FLock", nullptr}, {0xb439ebdb, "AndroidCryptoNative_RegisterRemoteCertificateValidationCallback", nullptr}, @@ -973,6 +992,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xbfaad12d, "BrotliDecoderSetParameter", nullptr}, {0xc090b1d3, "CryptoNative_EvpSha512", nullptr}, {0xc0d66913, "SystemNative_GetUnixVersion", nullptr}, + {0xc0e1f632, "SystemNative_ReadThreadInfo", nullptr}, {0xc11dec94, "SystemNative_FAllocate", nullptr}, {0xc1243135, "AndroidCryptoNative_Aes128Gcm", nullptr}, {0xc1e4e6f6, "AndroidCryptoNative_BigNumToBinary", nullptr}, @@ -992,6 +1012,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xc717b16e, "CryptoNative_EvpMdCtxDestroy", nullptr}, {0xc746b70c, "AndroidCryptoNative_DsaSign", nullptr}, {0xc83527e0, "CryptoNative_HmacReset", nullptr}, + {0xc88c60e9, "SystemNative_LowLevelCrossProcessMutex_Release", nullptr}, {0xc89ccd22, "SystemNative_SchedGetCpu", nullptr}, {0xc8cce896, "SystemNative_GetSocketType", nullptr}, {0xc8e06b20, "AndroidCryptoNative_X509ChainGetCertificates", nullptr}, @@ -1002,6 +1023,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xcb746e5c, "SystemNative_SetIPv4MulticastOption", nullptr}, {0xcb85cd8e, "AndroidCryptoNative_EcdhDeriveKey", nullptr}, {0xccc0dd15, "SystemNative_RegisterForSigChld", nullptr}, + {0xcd4fe938, "SystemNative_LowLevelCrossProcessMutex_Size", nullptr}, {0xcdfb627d, "SystemNative_FreeLibrary", nullptr}, {0xce91e293, "SystemNative_GetGroupList", nullptr}, {0xcf0912c8, "GlobalizationNative_GetLocaleTimeFormat", nullptr}, @@ -1011,6 +1033,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xd199e841, "SystemNative_GetEstimatedUdpListenerCount", nullptr}, {0xd24d4849, "SystemNative_Socket", nullptr}, {0xd298c3b3, "SystemNative_Write", nullptr}, + {0xd2f7b64e, "SystemNative_LowLevelCrossProcessMutex_GetOwnerProcessAndThreadId", nullptr}, {0xd378ba49, "CryptoNative_EvpMd5", nullptr}, {0xd473c64c, "SystemNative_SetReceiveTimeout", nullptr}, {0xd4b91180, "SystemNative_ForkAndExecProcess", nullptr}, @@ -1040,6 +1063,7 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xe121bac7, "SystemNative_GetPeerID", nullptr}, {0xe169faa6, "AndroidCryptoNative_SSLStreamSetApplicationProtocols", nullptr}, {0xe1b8b44f, "SystemNative_Send", nullptr}, + {0xe1cbff5e, "SystemNative_LowLevelCrossProcessMutex_Destroy", nullptr}, {0xe2a0d0de, "SystemNative_GetSpaceInfoForMountPoint", nullptr}, {0xe4a78efb, "SystemNative_SetPriority", nullptr}, {0xe4dba4f6, "SystemNative_GetCwd", nullptr}, @@ -1048,18 +1072,21 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xe58ed8fe, "SystemNative_PlatformSupportsDualModeIPv4PacketInfo", nullptr}, {0xe5ef37b3, "AndroidCryptoNative_DsaSignatureFieldSize", nullptr}, {0xe70a3634, "GlobalizationNative_GetLocaleName", nullptr}, + {0xe7593db1, "SystemNative_GetFileSystemTypeNameForMountPoint", nullptr}, {0xe770cb3f, "SystemNative_CopyFile", nullptr}, {0xe7a9a106, "CompressionNative_InflateInit2_", nullptr}, {0xe7bd8dd1, "AndroidCryptoNative_EcKeyCreateByKeyParameters", nullptr}, {0xe890cf58, "AndroidCryptoNative_EcDsaSign", nullptr}, {0xe8b2ec8d, "BrotliDecoderErrorString", nullptr}, {0xe972fbd9, "SystemNative_GetEGid", nullptr}, + {0xe9a19824, "SystemNative_WriteToNonblocking", nullptr}, {0xe9bc4e53, "SystemNative_SNPrintF_1S", nullptr}, {0xea86f52f, "BrotliEncoderTakeOutput", nullptr}, {0xeb0d0522, "SystemNative_LowLevelMonitor_Wait", nullptr}, {0xebacbf92, "AndroidCryptoNative_Aes128Cfb8", nullptr}, {0xec31140d, "BrotliDecoderHasMoreOutput", nullptr}, {0xec51a1b4, "SystemNative_LChflags", nullptr}, + {0xed615209, "SystemNative_GetNextAreaInfo", nullptr}, {0xed6cc182, "CryptoNative_EvpMdCtxCreate", nullptr}, {0xee74a5ad, "AndroidCryptoNative_DsaSizeP", nullptr}, {0xef48c2eb, "CryptoNative_EvpDigestReset", nullptr}, @@ -1096,7 +1123,6 @@ constexpr hash_t system_globalization_native_library_hash = 0x28b5c8fca080abd5; {0xfde48d33, "CompressionNative_InflateReset2_", nullptr}, {0xfe2f2c47, "SystemNative_DrainAutoreleasePool", nullptr}, {0xfeb6c5c7, "SystemNative_WaitPidExitedNoHang", nullptr}, - {0xff3b4cfa, "SystemNative_GetFileSystemType", nullptr}, {0xff975200, "SystemNative_Realloc", nullptr}, }}; @@ -1110,5 +1136,5 @@ constexpr hash_t system_globalization_native_library_hash = 0xa66f1e5a; #endif constexpr size_t internal_pinvokes_count = 39; -constexpr size_t dotnet_pinvokes_count = 494; +constexpr size_t dotnet_pinvokes_count = 507; } // end of anonymous namespace diff --git a/tests/Mono.Android-Tests/Mono.Android-Tests/Mono.Android.NET-Tests.csproj b/tests/Mono.Android-Tests/Mono.Android-Tests/Mono.Android.NET-Tests.csproj index 51694ff8364..10bc41ce41b 100644 --- a/tests/Mono.Android-Tests/Mono.Android-Tests/Mono.Android.NET-Tests.csproj +++ b/tests/Mono.Android-Tests/Mono.Android-Tests/Mono.Android.NET-Tests.csproj @@ -129,6 +129,7 @@ + diff --git a/tests/Mono.Android-Tests/Mono.Android-Tests/System.Net.NetworkInformation/PingTest.cs b/tests/Mono.Android-Tests/Mono.Android-Tests/System.Net.NetworkInformation/PingTest.cs new file mode 100644 index 00000000000..6efbef778f8 --- /dev/null +++ b/tests/Mono.Android-Tests/Mono.Android-Tests/System.Net.NetworkInformation/PingTest.cs @@ -0,0 +1,18 @@ +using System.Net.NetworkInformation; + +using NUnit.Framework; + +namespace System.NetTests { + + [TestFixture] + public class PingTest + { + [Test] + public void PingLocalhost () + { + using var ping = new Ping (); + var reply = ping.Send ("127.0.0.1", 1000); + Assert.AreEqual (IPStatus.Success, reply.Status, $"Ping to localhost failed with status: {reply.Status}"); + } + } +}