[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
Sun Nov 4 17:35:20 CST 2007


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


Mikolaj Zalewski <mikolaj.zalewski at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikolaj.zalewski at gmail.com




--- Comment #11 from Mikolaj Zalewski <mikolaj.zalewski at gmail.com>  2007-11-04 17:35:19 ---
If the only problem is a 4-byte function then IMHO this is fixable. As the last
resort we could copy it into the DLL code and as the last build step analyze
the ELF file and rewrite all the calls of the original to calls of the copy.
But maybe it's also possible to fix it cleanly by changing some linker flags or
the wine loader? I'll try to search something more about it and if I find a
game protected by it I could try to write some code.

Also http://support.microsoft.com/kb/935448 suggests that Windows doesn't allow
to relocate some core DLLs. If all of kernel32, gdi32 and user32 are such then
maybe dropping -fPIC is a valid solution (of course on x86)?

Does Alexandre have an opinion how clean the fix should be or maybe know how
this should be fixed?


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