Skip to content

Commit 606a874

Browse files
Fea, delayhlp代码更新到 14.44.35207,以支持IMAGE_GUARD_PROTECT_DELAYLOAD_IAT
1 parent ba6f4d4 commit 606a874

File tree

3 files changed

+521
-471
lines changed

3 files changed

+521
-471
lines changed

src/Build.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cl %AdditionalOptions% /Fo"objs\\%Platform%\\%1" /D "__YY_GUARD_MIN_SUPPORT=%2"
2121

2222
LibMaker.exe FixObj "%~dp0..\\objs\\%Platform%\\%1" /WeakExternFix:__pfnDliNotifyHook2=%PointType%
2323
LibMaker.exe FixObj "%~dp0..\\objs\\%Platform%\\%1" /WeakExternFix:__pfnDliFailureHook2=%PointType%
24+
LibMaker.exe FixObj "%~dp0..\\objs\\%Platform%\\%1" /WeakExternFix:__bChangeProtectionOfWholeDloadSection=4
2425

2526
echo "objs\\%Platform%\\%1"
2627
goto:eof
@@ -35,6 +36,7 @@ del "Out\\%Platform%\\*" /q /s
3536
cl %AdditionalOptions% /D "__YY_GUADD_BUILD_LIBS" /D "__YY_GUARD_MIN_SUPPORT=%2" /Fo"Out\\%Platform%\\delayhlp.obj" "%~dp0delayhlp.cpp"
3637
cl %AdditionalOptions% /Fo"Out\\%Platform%\\pfnDliFailureHook2.obj" "%~dp0pfnDliFailureHook2.c"
3738
cl %AdditionalOptions% /Fo"Out\\%Platform%\\pfnDliNotifyHook2.obj" "%~dp0pfnDliNotifyHook2.c"
39+
cl %AdditionalOptions% /Fo"Out\\%Platform%\\delaygv1.obj" "%~dp0delaygv1.c"
3840

3941
lib "Out\%Platform%\*.obj" /out:"Libs\%Platform%\%1"
4042

src/delaygv1.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
int const __bChangeProtectionOfWholeDloadSection

0 commit comments

Comments
 (0)