From: Lex <le...@pr...> - 2010-02-27 16:44:42
|
Hi. 27.02.2010 10:52, Michael Curran пишет: > Its possible that we can't use this stuff as the dll names must match > or something, though I'm not sure, I havn't seen anything say that yet. I am afraid we can't. Quote ffrom the article: • There's no public tool (special version of C compiler, linker?) for creating the cold/hotpatches. It is possible to write a tool that will add/write to '.hotp1 ' section of image created by normal compiling/linking but there are 2 problems: • How to write the new function with instructions pointing to target module and with this conjuncted • Fixup handling. Anyway, one doesn't have to use the target module functions/data so there's no need for the hotpatch fixups. If I understand correctly, we will be not able to call original function. So the best approach I can come with which iwll work on x64 is to take one of available codebases (minhook looks most promising since it is light-weight and not an overcome as easyhook is) and integrate it. What disadvantages do you see? |