diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:52:19 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:52:19 +0000 |
commit | 5c909fa013fc285f010a95e8d387e0ef3412da9c (patch) | |
tree | 1059d068ad281f4776ff44cd414574f99a460023 /lib/interception/interception_win.h | |
parent | f31bcc68c72371a2bf63aead9f3373a1ff2053b6 (diff) |
Diffstat (limited to 'lib/interception/interception_win.h')
-rw-r--r-- | lib/interception/interception_win.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/interception/interception_win.h b/lib/interception/interception_win.h index ba768a7233f9..96c4a0c0f5a3 100644 --- a/lib/interception/interception_win.h +++ b/lib/interception/interception_win.h @@ -30,6 +30,10 @@ bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func = 0); // Overrides a function in a system DLL or DLL CRT by its exported name. bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func = 0); + +// Windows-only replacement for GetProcAddress. Useful for some sanitizers. +uptr InternalGetProcAddress(void *module, const char *func_name); + } // namespace __interception #if defined(INTERCEPTION_DYNAMIC_CRT) |