what about DllMain/global-var initializiation code?
i mean, if an exe is linked to a dll that contains antidebugging/whatever code in its dllmain (or global ctor-like), this code would be executed through the windows loader *before* own dlls are injected, so this could be a problem.
or i'm wrong?
and how could this be solved?
|