[Bug 27349] SafeDisc v2.x API entry analyzer flags Wine's user32.dll as "bad" (too many exports with PIC loads in prolog code) (SimCity 4, IL-2 FB, NFSU)
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jun 10 16:15:49 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=27349
--- Comment #9 from Anastasius Focht <focht at gmx.net> 2011-06-10 16:15:48 CDT ---
Hello,
well after applying your attached patch and gathering new numbers:
kernel32 user32 gdi32 condition (cx < threshold)
--------------------------------------------------------------------
c1: 0x43 0x55 0x50 0x5F
c2: 0x23 *0x40 0x39 0x3C
c3: 0x00 0x00 0x00 0x5A
(instead of 0x41)
I could not believe it hence I debugged the whole thing again and noticed the
SafeDisc entry point analyzer was counting decoded/disassembled _instructions_,
not bytes - sorry, that was a brain fart on my side (summer heat) :|
I should have re-read my own stuff written some years ago more carefully ...
So inserting one hot-patch instruction will have no effect on majority of entry
points. The first branch instruction must be 8 instructions away.
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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