Home
last modified time | relevance | path

Searched refs:dll_function (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_win_dll_thunk.h20 int dllThunkIntercept(const char* main_function, uptr dll_function);
23 const char* default_function, uptr dll_function);
30 #define INTERCEPT_OR_DIE(main_function, dll_function) \ argument
31 static int intercept_##dll_function() { \
33 dll_function); \
36 __declspec(allocate(".DLLTH$M")) int (*__dll_thunk_##dll_function)() = \
37 intercept_##dll_function;
41 #define INTERCEPT_WHEN_POSSIBLE(main_function, default_function, dll_function) \ argument
42 static int intercept_##dll_function() { \
44 default_function, (__sanitizer::uptr)dll_function); \
[all …]
Dsanitizer_win_dll_thunk.cpp33 int dllThunkIntercept(const char* main_function, uptr dll_function) { in dllThunkIntercept() argument
35 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
41 const char* default_function, uptr dll_function) { in dllThunkInterceptWhenPossible() argument
46 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
Dsanitizer_win_weak_interception.cpp30 int interceptWhenPossible(uptr dll_function, const char *real_function) { in interceptWhenPossible() argument
33 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
Dsanitizer_win_weak_interception.h16 int interceptWhenPossible(uptr dll_function, const char *real_function);
/external/compiler-rt/lib/asan/
Dasan_win_dll_thunk.cc64 #define INTERCEPT_WHEN_POSSIBLE(main_function, dll_function) \ argument
68 if (!__interception::OverrideFunction((uptr)dll_function, wrapper, 0)) \