Age | Commit message (Collapse) | Author |
|
(#67024) (#67103)
* Add a --aot-lazy-assembly-load command line option to load assemblies referenced by AOT images lazily.
Note that this requires the assemblies used at AOT time to exactly match
the assemblies loaded at runtime, otherwise the runtime will abort
when it loads the mismatching reference.
* Handle the options added by options.h in mono_jit_parse_options ().
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
|
|
|
|
Collect tracing 2 EventPipe command triggers an unaligned UTF16 string
read that could cause a SIGBUS on platforms not supporting unalinged
reads of UTF16 strings (so far only seen on 32-bit ARM Linux CI machine).
On CoreCLR this could even cause a unalinged int read due to
optimizations used in UTF8Encoding::GetByteCount.
|
|
We were incorrectly using exception_data_type_t instead of mach_exception_data_type_t
in the PAL due to a missing change when we have added support for ARM64 macOS.
The wrong type was 32 bit and it caused the address of a hardware exception to have
the upper 32 bits cut off. That prevented us from detecting stack overflow correctly.
Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
|
|
(#67145)
* Add dynamic shim for SSL_CTX_set_options
This works around ABI breaking change made between OpenSSL 1.1 and 3.0 where argument type and return type was changed from unsigned long to uint64_t, which caused issues on arm32 architectures with OpenSSL 3.0 installed.
* Fix typo
* Update src/native/libs/System.Security.Cryptography.Native/pal_ssl.c
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
* Update src/native/libs/System.Security.Cryptography.Native/pal_ssl.c
Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
* Code review feedback
Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>
Co-authored-by: Radek Zikmund <32671551+rzikm@users.noreply.github.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
|
|
* tests
* remove lock
* comments, outerloop
* use Volatile.Write
* test comments
* SafeHandle to avoid use-after-free race condition
* use NativeMemory APIs
* Disable DnsGetHostEntry_PostCancelledToken_Throws on Win7
* Fix compilation
Co-authored-by: Anton Firszov <antonfir@gmail.com>
Co-authored-by: Radek Zikmund <radekzikmund@microsoft.com>
|
|
(#67226)
* Avoid issuing connection attempts for already canceled requests
* Cancelled => Canceled
* Guard SocketsHttpHandler tests under SocketsHttpHandler.IsSupported
|
|
(#67438)
* Fix Compiler::impImportNewObjArray on osx-arm64
* Reject R2R images containing calls to CORINFO_HELP_NEW_MDARR
* Load R2R images on osx-arm64 according to Apple's guidelines
|
|
* Ignore non-X509 certificates in SignedCms
This allows for AttributeCertificateV1/AttributeCertificateV2/OtherCertificate
entries in the SignedCms without causing a decode error. That data is not presented
to callers via the SignedCms object, but the behavior is consistent with SignedCms on
.NET Framework and its underlying WinCryptMsg counterpart.
* Add packaging changes for servicing
|
|
Loop cloning needs to parse what morph creates from GT_INDEX nodes
to determine if there are array accesses with bounds checks that
could potentially be optimized. For jagged array access, this can
be a "comma chain" of bounds checks and array element address expressions.
For a case where an array of structs had a struct field, such as
`ValueTuple<int[], int>[]`, cloning was confusing the expression
`a[i].Item1[j]` for the jagged array access `a[i][j]`.
The fix here is to keep track of the type of the `GT_INDEX` node that is
being morphed, in the `GT_BOUNDS_CHECK` node that is created for it.
(This is the only thing cloning parses, to avoid the need to parse
the very complex trees morph can create.) This type is then checked
when parsing the "comma chain" trees. If a non-`TYP_REF` is found (such
as a `TYP_STRUCT` in the above example), no more levels of array indexing
are considered. (`TYP_REF` is what an array object would have, for a jagged
array.)
Fixes #66254.
|
|
objc_imageinfo section. (#67534)
* [AOT] Don't set the 'CorrectedSynthesize' flag in the objc_imageinfo section.
According to Apple's headers, it's not used anymore, and ignored.
However, with Xcode 13.3, it seems Apple has re-used this value for something
else, and it's causing warnings in the linker:
> ld: warning: '[...]/arm64/Xamarin.iOS.dll.o' was built with class_ro_t pointer signing enabled, but previous .o files were not
Fixes https://github.com/mono/mono/issues/21450.
Ref: https://opensource.apple.com/source/objc4/objc4-818.2/runtime/objc-abi.h.auto.html
* Don't set the 'CorrectedSynthesize' flag when using LLVM either.
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
|
|
Fix remote unwinding on MacOS Monterey (12)
|
|
vseanreesermsft/internal-merge-6.0-2022-04-12-1157
Merging internal commits for release/6.0
|
|
internal-merge-6.0-2022-04-12-1157
|
|
Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
|
|
|
|
|
|
|
|
* Update branding to 6.0.5
* Remove GeneratePackageOnBuild from all projects which added it in 6.0.4
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
|
|
|
|
VS4Mac crash reports on MacOS v12 (Monterey) are missing native stack frames. Can not properly triage VS4Mac failures.
Issue: https://github.com/dotnet/diagnostics/issues/2924
The amd64 frameless compact encoding is being used now in MacOS version 12 and needed to be implemented.
VS4Mac confirmed that this fixes the missing native frame issue on MacOS x64.
Low. Only affects createdump and DAC.
|
|
This add validation for embedded newlines in email addresses.
Based on https://dev.azure.com/dnceng/internal/_git/dotnet-runtime/pullrequest/20738
There is opt-in System.Net.Mail.EnableFullDomainLiterals switch to allow previous behavior
|
|
|
|
* Update dependencies from https://github.com/dotnet/arcade build 20220222.7
Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
From Version 2.5.1-beta.22107.2 -> To Version 2.5.1-beta.22122.7
* Update dependencies from https://github.com/dotnet/emsdk build 20220308.1
Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.2 -> To Version 6.0.3
* Fix weird character problem
* Update dependencies from https://github.com/dotnet/emsdk build 20220308.2
Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
From Version 6.0.2 -> To Version 6.0.4
* Update dependencies from https://github.com/dotnet/arcade build 20220309.8
Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
From Version 2.5.1-beta.22107.2 -> To Version 2.5.1-beta.22159.8
* On run package validation for CSProj-built packages
This fixes an issue where a non-CSProj built package would load
MS.CA.dll , then a CSProj would try to load MS.CA.CS.dll of a different
version and it's MS.CA types would not agree with those already bound
to the task from previous load.
Further details:
https://github.com/dotnet/sdk/pull/22277
* Update dependencies from https://github.com/dotnet/emsdk build 20220311.2
Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.200 , Microsoft.NET.Workload.Emscripten.Manifest-6.0.300
From Version 6.0.4 -> To Version 6.0.4
* Update dependencies from https://github.com/dotnet/arcade build 20220311.1
Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
From Version 2.5.1-beta.22107.2 -> To Version 2.5.1-beta.22161.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
|
|
|
|
versions are disabled (#65046)
* update expected exception for cases when all requested TLS versions are disabled
* port test fix
Co-authored-by: wfurt <tweinfurt@yahoo.com>
Co-authored-by: Dan Moseley <danmose@microsoft.com>
|
|
* CI matrix change: add Windows Server 2022
* Add registry check for ssl3 - tls1.2 tests
* Disable TLS1.3 on framework code
* Fix typo
* revert queue change
Co-authored-by: Jan Jahoda <jajahoda@microsoft.com>
Co-authored-by: Jan Jahoda <jajahoda@microsoft.com>
|
|
|
|
* improve SslStream tests on misconfigured systems
* feedback from review
Co-authored-by: wfurt <tweinfurt@yahoo.com>
|
|
|
|
code (#66207)
* Add regression test for #66005
* Fix
* Update src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
|
|
|
|
Co-authored-by: wfurt <tweinfurt@yahoo.com>
|
|
* Run tests for internal azdo PRs
* PR Feedback
* Fix PGO jobs on official builds
We missed passing in the `isOfficialBuild` variable on the PGO jobs.
* Don't run upload-intermediate-artifacts-step.yml for PGO leg
* Fix .yml
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
references (#65614)
|
|
|
|
|
|
Co-authored-by: Filip Navara <navara@emclient.com>
|
|
|
|
|
|
|
|
Like `RuntimeMethodHandle.GetFunctionPointer`, but callable from native code
|
|
(#65898)
* Fix default converter reallocation on each call to JsonSerializerOptions.GetConverter
* ensure package is released
|
|
|
|
|
|
|
|
* Fix Queryable-to-Enumerable overload mapping logic
* fix linker warnings
* address feedback
* use strict order when calculating maximal elements
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
|
|
Globalization Invariant Mode (#65537)
* [dotnet/runtime] Backport Fix PerformanceCounter's when running with Globalization Invariant Mode (PR #65414)
* Add GeneratePackageOnBuild & ServicingVersion project properties
|
|
* Backport of #60770 and #64566
* Fixing missing end line
|
|
Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>
|