Searched refs:dll_function (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.cpp33 int dllThunkIntercept(const char* main_function, uptr dll_function) { argument
35 if (!__interception::OverrideFunction(dll_function, wrapper, 0))
41 const char* default_function, uptr dll_function) {
46 if (!__interception::OverrideFunction(dll_function, wrapper, 0))
40 dllThunkInterceptWhenPossible(const char* main_function, const char* default_function, uptr dll_function) argument
H A Dsanitizer_win_weak_interception.h16 int interceptWhenPossible(uptr dll_function, const char *real_function);
H A Dsanitizer_win_dll_thunk.h20 int dllThunkIntercept(const char* main_function, uptr dll_function);
23 const char* default_function, uptr dll_function);
29 // Override dll_function with main_function from main executable.
30 #define INTERCEPT_OR_DIE(main_function, dll_function) \
31 static int intercept_##dll_function() { \
33 dll_function); \
36 __declspec(allocate(".DLLTH$M")) int (*__dll_thunk_##dll_function)() = \
37 intercept_##dll_function;
39 // Try to override dll_function with main_function from main executable.
40 // If main_function is not present, override dll_function wit
[all...]
H A Dsanitizer_win_weak_interception.cpp29 // dll_function with that pointer. If the function isn't found, nothing changes.
30 int interceptWhenPossible(uptr dll_function, const char *real_function) { argument
33 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0))

Completed in 120 milliseconds