[Bug 38662] New: Windows-compliant CLI/.NET image loading procedure requires mscoree._CorValidateImage implementation for Wine-Mono

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 31 15:35:03 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38662

            Bug ID: 38662
           Summary: Windows-compliant CLI/.NET image loading procedure
                    requires mscoree._CorValidateImage implementation for
                    Wine-Mono
           Product: Wine
           Version: 1.7.44
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mscoree
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

required for bug 38661 in case Wine-Mono is used (default).
You don't need this when MS .NET Framework is present in prefix.

Patch with semi-impl by Michael available in Wine-Staging:

https://github.com/wine-compholio/wine-staging/tree/master/patches/mscoree-CorValidateImage

I did some further research and found interesting discussions about the details
here:

Discussion between Kornél Pál (Mono) and Vincent Povirk (Wine-Mono):

http://lists.ximian.com/pipermail/mono-devel-list/2011-March/037051.html
("mixed-mode assemblies in wine")

Discussion between Kornél Pál (Mono) and Microsoft Developers:

http://www.pcreview.co.uk/threads/using-the-loader-with-a-custom-runtime.3697641/
("Using the loader with a custom runtime")

Mono source:

https://github.com/mono/mono/blob/master/mono/metadata/coree.c#L218

https://github.com/mono/mono/commit/b06a638552f95acbadb35b63d4c70095aac8f64e
("Mono runtime: Add support for mixed-mode assemblies")

https://github.com/mono/mono/commit/9b509fafb17957ebdbefb92125b8e77d749c475a
("Implement support for mixed-mode assemblies on Windows x64 as well.")

https://github.com/mono/mono/commit/a758271d3dfa30383cec8c40c19fc69a67fdb37c
("Some 64-bit IL only images have entry point...")

$ sha1sum still---coronoid.zip 
3ab7239a42be3135fff996a77b6f4e3b34c73295  still---coronoid.zip

$ du -sh still---coronoid.zip 
56M    still---coronoid.zip

$ wine --version
wine-1.7.44

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list