DescriptionTry a new approach to fixing IAT unpatch crashes when the DLL is gone.
Have the IAT patcher take some "ownership" of the DLL, by taking a library name and then calling LoadLibrary() / FreeLibrary() to manage the reference count. This means as long is there isn't some other reference count balancing bug happening in the process, the DLL will never be unloaded while we are patched.
This effectively reverts r9929, the VirtualQuery additional checks are removed.
BUG=7701
Patch Set 1 #Patch Set 2 : Change callers #Patch Set 3 : Betterz #
Total comments: 3
Patch Set 4 : Feedback. #Patch Set 5 : DCHECK #
Total comments: 2
Messages
Total messages: 5 (0 generated)
|