Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_win_dll_thunk.h19 int dllThunkIntercept(const char* main_function, uptr dll_function);
22 const char* default_function, uptr dll_function);
29 #define INTERCEPT_OR_DIE(main_function, dll_function) \ argument
30 static int intercept_##dll_function() { \
32 dll_function); \
35 __declspec(allocate(".DLLTH$M")) int (*__dll_thunk_##dll_function)() = \
36 intercept_##dll_function;
40 #define INTERCEPT_WHEN_POSSIBLE(main_function, default_function, dll_function) \ argument
41 static int intercept_##dll_function() { \
43 default_function, (__sanitizer::uptr)dll_function); \
[all …]
H A Dsanitizer_win_dll_thunk.cc32 int dllThunkIntercept(const char* main_function, uptr dll_function) { in dllThunkIntercept() argument
34 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
40 const char* default_function, uptr dll_function) { in dllThunkInterceptWhenPossible() argument
45 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
H A Dsanitizer_win_weak_interception.cc29 int interceptWhenPossible(uptr dll_function, const char *real_function) { in interceptWhenPossible() argument
32 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
H A Dsanitizer_win_weak_interception.h15 int interceptWhenPossible(uptr dll_function, const char *real_function);
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A 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 …]
H A 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()
H A 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()
H A Dsanitizer_win_weak_interception.h16 int interceptWhenPossible(uptr dll_function, const char *real_function);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.h21 int dllThunkIntercept(const char* main_function, uptr dll_function);
24 const char* default_function, uptr dll_function);
31 #define INTERCEPT_OR_DIE(main_function, dll_function) \ argument
32 static int intercept_##dll_function() { \
34 dll_function); \
37 __declspec(allocate(".DLLTH$M")) int (*__dll_thunk_##dll_function)() = \
38 intercept_##dll_function;
42 #define INTERCEPT_WHEN_POSSIBLE(main_function, default_function, dll_function) \ argument
43 static int intercept_##dll_function() { \
45 default_function, (__sanitizer::uptr)dll_function); \
[all …]
H A Dsanitizer_win_dll_thunk.cc34 int dllThunkIntercept(const char* main_function, uptr dll_function) { in dllThunkIntercept() argument
36 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
42 const char* default_function, uptr dll_function) { in dllThunkInterceptWhenPossible() argument
47 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
H A Dsanitizer_win_weak_interception.cc31 int interceptWhenPossible(uptr dll_function, const char *real_function) { in interceptWhenPossible() argument
34 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
H A Dsanitizer_win_weak_interception.h17 int interceptWhenPossible(uptr dll_function, const char *real_function);