5 /* The simplest possible wrapping test: just call a wrapped function
6 and check we run the wrapper instead. */
8 /* The "original" function */
9 __attribute__((noinline
))
12 printf("in actual\n");
15 /* The wrapper. Since this executable won't have a soname, we have to
16 use "NONE", since V treats any executable/.so which lacks a soname
17 as if its soname was "NONE". */
18 void I_WRAP_SONAME_FNNAME_ZU(NONE
,actual
) ( void )
21 VALGRIND_GET_ORIG_FN(fn
);
22 printf("wrapper-pre\n");
24 printf("wrapper-post\n");