Home | History | Annotate | Download | only in interception

Lines Matching defs:WRAP

34 // Suppose you need to wrap/replace system function (generally, from libc):
104 { reinterpret_cast<const uptr>(WRAP(func_name)), \
118 # define WRAP(x) wrap_##x
125 # define WRAP(x) x
129 # define WRAP(x) wrap_##x
135 # define WRAP(x) __interceptor_ ## x
161 extern "C" ret_type WRAP(func)(__VA_ARGS__);
183 ret_type WRAP(func)(__VA_ARGS__)
193 extern "C" ret_type WRAP(func)(__VA_ARGS__); \
195 extern "C" INTERCEPTOR_ATTRIBUTE ret_type WRAP(func)(__VA_ARGS__)
205 INTERPOSER_2(overridee, WRAP(overrider))
217 ret_type __stdcall WRAP(func)(__VA_ARGS__)