Home | History | Annotate | Download | only in interception

Lines Matching refs:WRAP

35 // Suppose you need to wrap/replace system function (generally, from libc):
105 { reinterpret_cast<const uptr>(WRAP(func_name)), \
119 # define WRAP(x) wrap_##x
125 # define WRAP(x) __asan_wrap_##x
133 # define WRAP(x) __interceptor_ ## x
143 # define WRAP(x) __interceptor_ ## x
169 extern "C" ret_type WRAP(func)(__VA_ARGS__);
191 ret_type WRAP(func)(__VA_ARGS__)
201 extern "C" ret_type WRAP(func)(__VA_ARGS__); \
203 extern "C" INTERCEPTOR_ATTRIBUTE ret_type WRAP(func)(__VA_ARGS__)
213 INTERPOSER_2(overridee, WRAP(overrider))
224 ret_type __stdcall WRAP(func)(__VA_ARGS__)