http://bugs.winehq.org/show_bug.cgi?id=12653
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-06 07:25:50 --- (In reply to comment #8)
According to my research on Safedisc the following will assist in proper execution of SafeDisc programs: Programs, libraries, and modules should be able to write to themselves unless explicitly said otherwise. This "default off" self-protection is an unusual, and possibly dangerous "standard" in Windows, but must be done to follow (unwritten) standard.
That's not true.
Additionally, they should be able to create overlapping pages. This is another unusual behavior that Windows permits. To allow both these functions Wine would have to be compiled with certain modules explicitly not using libMudFlap nor libSafe if installed, and explicitly modified to deactivate checks on programs attacking themselves.
Before suggesting the solutions please provide the test cases (preferably integrated into Wine test suite) confirming the above claims.