Single-File: Pass BUNDLE_PROBE property to the runtime (#34845)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Fri, 24 Apr 2020 21:49:21 +0000 (14:49 -0700)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 21:49:21 +0000 (14:49 -0700)
commitbfa10f1956ee7785af159c9448d46e736cc7a932
tree9618e6540c705e1999f0bebd95382fe7b1c43f9b
parentaf36c6d6cd4e8648f143d0571de776bd6dacb8e0
Single-File: Pass BUNDLE_PROBE property to the runtime (#34845)

* Single-File: Pass BUNDLE_PROBE property to the runtime

As described in the [design doc](https://github.com/dotnet/designs/blob/master/accepted/2020/single-file/design.md#startup), pass the bundle_probe function pointer encoded as a string to the runtime.
src/installer/corehost/cli/bundle/runner.cpp
src/installer/corehost/cli/bundle/runner.h
src/installer/corehost/cli/hostmisc/pal.h
src/installer/corehost/cli/hostmisc/pal.unix.cpp
src/installer/corehost/cli/hostmisc/pal.windows.cpp
src/installer/corehost/cli/hostpolicy/coreclr.cpp
src/installer/corehost/cli/hostpolicy/coreclr.h
src/installer/corehost/cli/hostpolicy/hostpolicy_context.cpp
src/installer/test/Assets/TestProjects/BundleProbeTester/BundleProbeTester.csproj [new file with mode: 0644]
src/installer/test/Assets/TestProjects/BundleProbeTester/Program.cs [new file with mode: 0644]
src/installer/test/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleProbe.cs [new file with mode: 0644]