Specify version.dll and add notification hook for delay load (#24449)
authorElinor Fung <47805090+elinor-fung@users.noreply.github.com>
Wed, 8 May 2019 21:28:45 +0000 (14:28 -0700)
committerGitHub <noreply@github.com>
Wed, 8 May 2019 21:28:45 +0000 (14:28 -0700)
commitc64a137c499b58925c9a5b34b2ec55647604841f
tree0cd9179f4a24591a683fd0bd1e0421c2fe8d1ffc
parent97fb71da9107373cbf0202030520a301ac15c4a2
Specify version.dll and add notification hook for delay load (#24449)

Mitigates an issue with hijacking of version.dll.
This is particularly an issue for self-contained and single-file-exe apps, as the hijacking in those cases does not require access to a machine-wide .NET Core install.
src/dlls/mscoree/CMakeLists.txt
src/dlls/mscoree/coreclr/CMakeLists.txt
src/dlls/mscoree/delayloadhook.cpp [new file with mode: 0644]