Home | History | Annotate | Download | only in interception

Lines Matching defs:WRAP

37 // Suppose you need to wrap/replace system function (generally, from libc):
107 { reinterpret_cast<const uptr>(WRAP(func_name)), \
121 # define WRAP(x) wrap_##x
127 # define WRAP(x) __asan_wrap_##x
135 # define WRAP(x) x
140 # define WRAP(x) __interceptor_ ## x
150 # define WRAP(x) __interceptor_ ## x
191 extern "C" ret_type WRAP(func)(__VA_ARGS__);
227 ret_type WRAP(func)(__VA_ARGS__)
237 extern "C" ret_type WRAP(func)(__VA_ARGS__); \
239 extern "C" INTERCEPTOR_ATTRIBUTE ret_type WRAP(func)(__VA_ARGS__)
249 INTERPOSER_2(overridee, WRAP(overrider))
260 ret_type __stdcall WRAP(func)(__VA_ARGS__)