These are chat archives for
Sign in to start talking
EasyHook - The reinvention of Windows API Hooking
May 08 2017 13:57
A while ago I made a fairly inefficient, but very usable way of hooking __fastcall with EasyHook. Would this be something that might be interesting to add to EasyHook?
What I do is pretty much just wrapping the calls in a body that goes from __fastcall -> __stdcall and __stdcall -> __fastcall.
I say inefficient, but I haven't actually tested it yet.
May 08 2017 21:31
i think I have an issue created for fastcall support, can't remember. Certainly interested in checking your approach, I have also found some IL emitting code that can help (ie I believe MSIL supports fastcall but C# doesn't)