Commit Graph

4 Commits

Author SHA1 Message Date
dc715baa55
gfxhook: Fix some clang-tidy warnings 2021-12-22 11:31:22 -05:00
Tau
e57aeb03c3 Simplify DLL hook mechanism
This change deletes the GetProcAddress hook and exports symbols
corresponding to the hooked functions from each hook DLL instead;
we stop at redirecting LoadLibrary/GetModuleHandle calls to the
hook DLL. This simplified approach has less hidden magic going on
behind the scenes and is more readily composable (i.e. a hook DLL
can export redirect symbols for more than one dynamically-loaded
DLL).
2021-06-13 11:27:00 -04:00
Tau
1627a0c850 Delete draft debris that was never used 2021-06-13 11:27:00 -04:00
Tau
96b1981e01 hooklib/dll.c: Add dynamic loader hook mechanism 2019-05-14 17:13:08 -04:00