5 static void* return_arg(void* p);
8 int *a = malloc(10 * sizeof(int));
13 // undefined condition
15 printf("hello from frame3(). The answer is 42.\n");
17 printf("hello from frame3(). The answer is not 42.\n");
20 // undefined address (careful ..)
23 // invalid free, the second time
31 a = malloc(99 * sizeof(int));
33 // pass garbage to the exit syscall
53 * The only purpose of the function below is to make sure that gcc 4.4.x does
54 * not print the following warning during the compilation of this test program:
55 * warning: attempt to free a non-heap object
57 static void* return_arg(void* p)