|
As it happens, my target loads a native code dll file in the app before it makes the API calls I am interested in. So what I have been able to do is to make a dll that has the same exports as the real native dll its loading but forwarded to the real dll and then modify a copy of my target to load that dll instead of the real one.
Now I can add whatever code to the dllmain of my fake dll that I want (hooking via some off-the-shelf hooking library included)
|