About DLL hijacking, I strongly suggest to read this comment and to take a look at the /DELAYLOAD linker option.
In fact, using SetDefaultDllDirectories is only a very small part of the solution.
And by the way, there is currently no similar option to /DELAYLOAD for MinGW.
Delay-loading is a disguised call to LoadLibrary, so its only benefit is simplicity. As for tracking the dependencies of used DLLs, it requires analyzing each OS update, which is a very time-consuming task.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.