LD_PRELOAD equivalent for Windows to preload shared libraries

后端 未结 1 1802
灰色年华
灰色年华 2020-12-03 10:21

I\'m trying to do exactly what LD_PRELOAD does, i.e. preload a shared library or DLL files on Windows to a given program to override certain functions.

Is there a

相关标签:
1条回答
  • 2020-12-03 10:45

    AppInit_DLLs.

    http://support.microsoft.com/kb/197571

    But see also:

    AppInit_DLLs should be renamed Deadlock_Or_Crash_Randomly_DLLs

    https://blogs.msdn.microsoft.com/oldnewthing/20071213-00/?p=24183/

    You may also want to look into "DLL Injection". Four approaches (including AppInint_DLLs) are described here:

    http://en.wikipedia.org/wiki/DLL_Injection

    0 讨论(0)
提交回复
热议问题