[Bug 7065] Get SecuROM copy-protection working

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 24 16:34:27 CDT 2007


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
                 CC|                            |focht at gmx.net

--- Comment #22 from Anastasius Focht <focht at gmx.net>  2007-09-24 16:34:27 ---

well i looked into the matter. Some hours of nasty debugging (windows of
course) ...
First: don't try to fool around by patching IsDebuggerPresent() or
The protector "probe" writes directly to PEB->teb() area to verify with API
returns to detect inconsistencies (hooks or fake value returns).

The showstopper why Securom 6.x, 7.x doesn't currently work under wine is due
to mismatching process heap structure layouts.
The protector accesses process heap structure members which do not exist in
wine or have other meanings.
The current layout is the choice made by wine developers losely based on
infamous Pietrek books.
To fix this issue not only the process heap structure layout need to be
adjusted but some parts of the process heap creation/init code need to be
rewritten too.


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list