Skip to content

Commit

Permalink
Update Hooking and Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Sep 20, 2024
1 parent a21f223 commit d31c014
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion External/Hooking
Submodule Hooking updated 4 files
+25 −123 Hook.cpp
+6 −11 Hook.h
+252 −113 HotPatch.cpp
+46 −400 IATPatch.cpp
2 changes: 1 addition & 1 deletion External/Logging
Submodule Logging updated 4 files
+1 −1 License.txt
+1 −1 Logging.cpp
+3 −3 Logging.h
+1 −1 README.md
2 changes: 1 addition & 1 deletion Resources/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 2216
#define BUILD_NUMBER 2217
4 changes: 0 additions & 4 deletions dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,10 +922,6 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD fdwReason, LPVOID lpReserved)
// Unhook window handle
UnhookWindowHandle();

// Unhook APIs
Logging::Log() << "Unhooking library functions";
Hook::UnhookAll();

#ifdef DEBUG
// Unloading all modules
Logging::Log() << "Unloading all loaded modules";
Expand Down

0 comments on commit d31c014

Please sign in to comment.