[Bug 10273] satisfy SafeDisc 2.x heuristic API analyzer by "adjusting" API exports/entry statistics of wine builtins

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 8 08:21:55 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10273





--- Comment #21 from Anastasius Focht <focht at gmx.net>  2007-11-08 08:21:54 ---
Hello,

statistics with the gcc hidden visibility attr (make functions internal) and
stub entry points "NOP" patches committed:

before (wine-0.9.48-xxx):

    kernel32   user32      gdi32       condition (cx < threshold)
--------------------------------------------------------------------
c1:  0x59       0x53        0x5D        0x5F
c2:  0x46*      0x47*       0x50*       0x3C
c3:  0x43       0x4B        0x4B        0x5A

current wine-0.9.48-422-g0bfba69:

    kernel32   user32      gdi32       condition (cx < threshold)
--------------------------------------------------------------------
c1:  0x44       0x4B        0x3C        0x5F
c2:  0x2E       0x3A        0x21        0x3C
c3:  0x3A       0x47        0x37        0x5A

The standard case seems safe now, although user32 is near c2 threshold.
We should watch this, it's possible that future changes/additions might trigger
it again.

====

current wine-0.9.48-422-g0bfba69 + relay:

    kernel32   user32      gdi32       condition (cx < threshold)
--------------------------------------------------------------------
c1:  0x52       0x5E*       0x53        0x5F
c2:  0x43*      0x5C*       0x42*       0x3C
c3:  0x00       0x00        0x00        0x5A

AJ could you please make the relay thunk entry code NOP padded too
(tools/winebuild/spec32.c:output_relay_debug)?
If people run the games/apps with +relay tracking other bugs down, SafeDisc 2.x
won't tolerate this.
NOP padding relay thunks won't hurt and helps people to submit logs for other
bugs.

--

If anyone encounters problems with SafeDisc 2.x games not running despite
recent patches, please file bug reports.
Although I think this was the major showstopper for SafeDisc 2.x left.
New targets... ;-)

Regards


-- 
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