http://bugs.winehq.org/show_bug.cgi?id=27349
--- Comment #10 from André H. nerv@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__))