/* small victim program to test in-memory infection with */ #include #include #include #include int main (int argc, char *argv[]) { int i = 0; srandom (time (NULL)); for (;;) { printf ("test %5d\n", i++); usleep (400000); (void) malloc (random () % 16384); } }