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
49 int ret
= frame1() - 1;
51 #if defined(VGO_solaris)
52 /* Avoid reporting possible memory leak on finish when both FILE->base
53 and FILE->ptr point to the middle of a buffer allocated in _findbuf()
61 * The only purpose of the function below is to make sure that gcc 4.4.x does
62 * not print the following warning during the compilation of this test program:
63 * warning: attempt to free a non-heap object
65 static void* return_arg(void* p
)