[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
Sat Jun 11 07:10:10 CDT 2011


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

--- Comment #10 from André H. <nerv at dawncrow.de> 2011-06-11 07:10:09 CDT ---
Hi,
Thank you.

(In reply to comment #9)
> (instead of 0x41)

Great :)

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

NP, but 8 instructions is much. AFAIK that can be 72 bytes.

> So inserting one hot-patch instruction will have no effect on majority of entry
> points. The first branch instruction must be 8 instructions away. 


Still i would be interested in the table with
#define WINAPI      __stdcall __attribute__((__ms_hook_prologue__))

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