1 #include <stdio.h> 2 #include <stdlib.h> 3 4 /* Test that a program that has malloc/free interposed in a shared 5 library is also intercepted. */ 6 7 int main ( void ) 8 { 9 printf ("start\n"); 10 void *p = malloc (1024); 11 free (p); 12 printf ("done\n"); 13 return 0; 14 } 15