Lines Matching defs:func
25 bool InterceptFunction(const char *name, uptr *ptr_to_real, uptr func,
28 uptr func, uptr trampoline);
31 // Cast func to type of REAL(func) before casting to uptr in case it is an
34 #define INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) \
36 #func, (::__interception::uptr *)&REAL(func), \
37 (::__interception::uptr)(decltype(REAL(func)))&(func), \
38 (::__interception::uptr) &TRAMPOLINE(func))
42 #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \
44 #func, symver, \
45 (::__interception::uptr *)&REAL(func), \
46 (::__interception::uptr)(decltype(REAL(func)))&(func), \
47 (::__interception::uptr)&TRAMPOLINE(func))
49 #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \
50 INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func)